We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f2e71 commit 5054babCopy full SHA for 5054bab
2 files changed
cwt/recipient_algs/direct_hkdf.py
@@ -45,7 +45,6 @@ def __init__(
45
self._unprotected[-20] = self._salt
46
47
# PartyU nonce
48
- print(self._context)
49
if self._context[1][1]:
50
self._unprotected[-22] = self._context[1][1]
51
# PartyV nonce
cwt/recipient_algs/hpke.py
@@ -25,7 +25,6 @@ def __init__(
25
if -4 not in unprotected:
26
raise ValueError("HPKE sender information(-4) not found.")
27
if not isinstance(unprotected[-4], list) or len(unprotected[-4]) not in [3, 4]:
28
- print(len(unprotected[-4]))
29
raise ValueError("HPKE sender information(-4) should be a list of length 3 or 4.")
30
self._suite = CipherSuite.new(KEMId(unprotected[-4][0]), KDFId(unprotected[-4][1]), AEADId(unprotected[-4][2]))
31
return
0 commit comments