Skip to content

Commit

Permalink
Update openpgp/v2/keys_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Huigens <d.huigens@protonmail.com>
  • Loading branch information
davrux and twiss authored Feb 17, 2025
1 parent 38c7581 commit aa2f9b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpgp/v2/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2052,11 +2052,11 @@ func TestAllowAllKeyFlagsWhenMissing(t *testing.T) {
}

if isValidEncryptionKey(primarySelfSignature, entity.PrimaryKey.PubKeyAlgo, config) {
t.Error("isValidSigningKey must be false")
t.Error("isValidEncryptionKey must be false")
}

if isValidCertificationKey(primarySelfSignature, entity.PrimaryKey.PubKeyAlgo, config) {
t.Error("isValidSigningKey must be false")
t.Error("isValidCertificationKey must be false")
}

/// Flags not valid, but InsecureAllowAllKeyFlagsWhenMissing set.
Expand Down

0 comments on commit aa2f9b2

Please sign in to comment.