Closed podrezo closed 7 years ago
sgtm. what do you think @julianwaprogramms @troyjfarrell?
Looks like the test failed on the CI because the CI server doesn't have crypto.publicEncrypt() in its version of the built-in crypto module.
TypeError: Object #<Object> has no method 'publicEncrypt'
I added that test just to do a sanity check on the generated keys that they can encrypt and decrypt correctly. It is not related to the functionality I wrote.
hm let's rather update .travis.yml to only test on nodes that can do this
Simply pass
openSSH
to opts as a truthy value and it will generate a line for OpenSSH. Have not tested it with an actual SSH system, should be double checked.