RS-DAT / JupyterDaskOnSLURM

Apache License 2.0
16 stars 3 forks source link

added ssh key pass phrase handling' #57

Closed meiertgrootes closed 1 year ago

meiertgrootes commented 1 year ago

This branch implements handling of ssh keys with associated pass phrases. when using --add-platform the user is requested to specify whether the key associated with the uid has a passphrase. This answer is recorded, but the passphrase IS NOT.

When using --mode run (or any other except --add-platform). The user is queried for the passphrase. This makes use of the getpass library and shouldn't echo the input (caveat: Apparently, if using IDLE or some other non-true terminal input may be echoed. ggetpass does warn of this to the best of my knowledge). The password is saved in memory for the session but subsequently discarded and never serialized.

cpranav93 commented 1 year ago

Everything looks great. One small thing for me, it prints this "<class 'str'> at the top and I am not sure why? You can see it in the image:

image

meiertgrootes commented 1 year ago

Oops. debug message IO forgot to remove. Will do