The use of RSA keys is hard coded.
|
selectKey: function(callback) { |
|
var client = new SSH(), |
|
snip = 12; |
|
|
|
client.requestIdentities(function(error, keys) { |
|
keys = keys.filter(function(k) { return k.type === 'ssh-rsa' }); |
|
|
|
if (keys.length === 0) |
|
return callback(new Error('No usable RSA keys were found')); |
|
|
Nowadays that ed25519 keys are also common, it could be nice to have them available for encryption/decryption, too.
The use of RSA keys is hard coded.
vault/bin/vault
Lines 51 to 60 in c239074
Nowadays that ed25519 keys are also common, it could be nice to have them available for encryption/decryption, too.