Skip to content

Commit

Permalink
age: remove recipient limit
Browse files Browse the repository at this point in the history
Fixes #139
  • Loading branch information
FiloSottile committed May 2, 2021
1 parent fff8298 commit 85763d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions age.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 85763d3

Please sign in to comment.