Skip to content

Commit

Permalink
Trim space from age keys
Browse files Browse the repository at this point in the history
  • Loading branch information
johanfleury committed Apr 4, 2021
1 parent 66043e7 commit 693d074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion age/keysource.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func MasterKeyFromRecipient(recipient string) (*MasterKey, error) {
}

return &MasterKey{
Recipient: recipient,
Recipient: strings.TrimSpace(recipient),
parsedRecipient: parsedRecipient,
}, nil
}
Expand Down

0 comments on commit 693d074

Please sign in to comment.