DragonBuild / dragon

pip install dragon | A Powerful buildsystem and toolkit currently targeting darwin (iOS/macOS) machines
MIT License
220 stars 23 forks source link

calling of setupSSHKey() in dragon slightly broken #28

Closed quiprr closed 4 years ago

quiprr commented 4 years ago

will pr with a fix at some point

SSH Passwordless Authentication prompt (from setupSSHKey()) will repeatedly be called whenever you run dragon do until you decline, whether you set it up or not

0cyn commented 4 years ago

The interactive ssh prompt stuff (the entire bash thing, too) needs to be ported to python, this kind of complex handling is going to crash and burn in bash, I'll hop on that

quiprr commented 4 years ago

Fair enough. I was just going to use a more robust method of detecting it, e.g. create ~/.dragonbuild/state/.sshAlreadySetUp and make an if statement to see if that exists before doing anything, and remove it if the phoneip is reset

0cyn commented 4 years ago

I’m going to close this as the python port is nearing fruition.