eth-cscs / sshservice-cli

17 stars 15 forks source link

use passphrase on mac with bash script #2

Open fawzi opened 1 year ago

fawzi commented 1 year ago

Using a passphrase is more secure, and on mac adding it to the keychain maintains the convenience when using the key. Fix the bash script to do that, the python script could be fixed analogously. If the service would accept an optional passphrase we could avoid storing a private key without passphrase at any point (always secure at rest).

fawzi commented 1 year ago

I think the convenience of doing the right thing and avoiding stupid mistakes (like piling up keys in the agent) still makes this worth to add (at least for mac users)