Skip to content

Commit

Permalink
fix: HSM test
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Sep 7, 2022
1 parent d1af32d commit ca748a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jwk/manager_test_helpers.go
Expand Up @@ -182,6 +182,9 @@ func TestHelperManagerGenerateAndPersistKeySet(m Manager, alg string, parallel b
require.NoError(t, err)

assertx.EqualAsJSON(t, canonicalizeKeyThumbprints(genPub), canonicalizeKeyThumbprints(gotPub))

genPriv.Key = nil
gotPriv.Key = nil
assertx.EqualAsJSON(t, canonicalizeKeyThumbprints(genPriv), canonicalizeKeyThumbprints(gotPriv))

err = m.DeleteKeySet(context.TODO(), "foo")
Expand Down

0 comments on commit ca748a1

Please sign in to comment.