mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
parent
fff82986fa
commit
85763d390a
1 changed files with 0 additions and 3 deletions
3
age.go
3
age.go
|
|
@ -168,9 +168,6 @@ func Decrypt(src io.Reader, identities ...Identity) (io.Reader, error) {
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to read header: %v", err)
|
||||
}
|
||||
if len(hdr.Recipients) > 20 {
|
||||
return nil, errors.New("too many recipients")
|
||||
}
|
||||
|
||||
for _, r := range hdr.Recipients {
|
||||
if r.Type == "scrypt" && len(hdr.Recipients) != 1 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue