# # # patch "contrib/get_passphrase_from_file.lua" # from [f78e93ea6cd7039dccb4d4446675ccf81d76bb41] # to [ad4cbc2fc4c28f894f17cbf1c742e056a6605a5c] # ============================================================ --- contrib/get_passphrase_from_file.lua f78e93ea6cd7039dccb4d4446675ccf81d76bb41 +++ contrib/get_passphrase_from_file.lua ad4cbc2fc4c28f894f17cbf1c742e056a6605a5c @@ -13,7 +13,7 @@ function get_passphrase (keypair_id) local line = permfile:read() while (line ~= nil) do local _, _, key, passphrase = string.find(line, "%s*([^%s]*)%s*\"(.*)\"%s*") - if keypair_id == key then return passphrase end + if keypair_id.given_name == key then return passphrase end line = permfile:read() end io.close(permfile)