Uh oh!
There was an error while loading. Please reload this page.
Switching to ScaleFT/sshkeys for reading (encrypted) key data. - #8
Switching to ScaleFT/sshkeys for reading (encrypted) key data.#8dhermes wants to merge 1 commit into
Conversation
| passphrase := []byte(config.Pwd) | ||
| var privateKey interface{} | ||
| fmt.Println("Decrypting private key with passphrase...") | ||
| privateKey, err = sshkeys.ParseEncryptedRawPrivateKey(keyData, passphrase) |
There was a problem hiding this comment.
Note that if passphrase is empty, this will still work provided the key isn't actually encrypted (i.e. the name ParseEncryptedRawPrivateKey is a bit misleading, since the Encrypted isn't strictly necessary)
@benton Gentle nudge. I'd love to discuss / see what you have to say about the direction of this PR. I initially thought the
|
This is a follow-on to #7. A few notes:
make.sh?ScaleFT/sshkeys?Thanks