Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Could not find /root/.siriproxy/server.passless.key #519

Open
pippolino opened this issue May 4, 2013 · 3 comments
Open

Could not find /root/.siriproxy/server.passless.key #519

pippolino opened this issue May 4, 2013 · 3 comments

Comments

@pippolino
Copy link

I performed a clean installation with root user following the instructions of @elvisimprsntr at
https://gist.github.com/elvisimprsntr/4409751 but, as it was already happened by running the installation as a normal user, at the time of launch siriproxy with nobody user, the error appears again.

To overcome this problem, I copied the folder /home/.siriproxy in /etc/siriproxy and I changed the file connection/iphone.rb at line 15 and now the keys are retrieved correctly.

Perhaps it would be useful to move all the configurations from /home/.siriproxy to the /etc/siriproxy .

My changes on connection/iphone.rb:15 are:

#start_tls(:cert_chain_file  => File.expand_path("~/.siriproxy/server.passless.crt"),
#          :private_key_file => File.expand_path("~/.siriproxy/server.passless.key"),
#          :verify_peer      => false)
start_tls(:cert_chain_file  => File.expand_path("/etc/siriproxy/server.passless.crt"),
          :private_key_file => File.expand_path("/etc/siriproxy/server.passless.key"),
          :verify_peer      => false)
@elvisimprsntr
Copy link
Collaborator

while this works for your specific installation, there needs to be a more universal method.

@pippolino
Copy link
Author

The solution is to move all the configuration in /etc/siriproxy and at that point it is functional for everyone, as for all applications on linux environment.

@elvisimprsntr elvisimprsntr reopened this May 13, 2013
@dstuecken
Copy link

I fixed this by moving my .siriproxy directory from root to /home/nobody (change this to your users home), changed file ownership (chown -R nobody:nobody /home/nobody/.siriproxy) and symlink the new .siriproxy directory to /root/.siriproxy (ln -s /home/nobody/.siriproxy /root/.siriproxy)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants