Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 683cccb

Browse files
author
David Robertson
committed
Try to explain why there are two signing key types
1 parent a2bb73c commit 683cccb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/crypto/test_event_signing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636

3737
class EventSigningTestCase(unittest.TestCase):
3838
def setUp(self):
39+
# NB: `signedjson` expects `nacl.signing.SigningKey` instances which have been
40+
# monkeypatched to include new `alg` and `version` attributes. This is captured
41+
# by the `signedjson.types.SigningKey` protocol.
3942
self.signing_key: signedjson.types.SigningKey = nacl.signing.SigningKey(
4043
SIGNING_KEY_SEED
4144
)

0 commit comments

Comments
 (0)