mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
cmd/age: fix support for password-protected ssh-ed25519 keys
This commit is contained in:
parent
03f7237541
commit
025d8d5c0b
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ func (i *EncryptedSSHIdentity) Matches(block *format.Recipient) error {
|
|||
if block.Type != i.Type() {
|
||||
return age.ErrIncorrectIdentity
|
||||
}
|
||||
if len(block.Args) != 1 {
|
||||
if len(block.Args) < 1 {
|
||||
return fmt.Errorf("invalid %v recipient block", i.Type())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue