Skip to content

Commit 2c81b5f

Browse files
m
1 parent fec47ee commit 2c81b5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test_vector_handlers/src/awses_test_vectors/manifests/mpl_keyring.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ def keyring(self, keys_uri, mode):
180180
# But this seems weird, and we didn't have to do this in Java.
181181
if hasattr(keyring, "_impl"): # pylint: disable=protected-access
182182
if hasattr(keyring._impl, "_keyName"): # pylint: disable=protected-access
183-
if keyring._impl._keyName == UTF8.default__.Encode(_dafny.Seq("rsa-4096-public")).value \
184-
and mode in ("decrypt-generate", "encrypt"): # pylint: disable=protected-access
183+
if keyring._impl._keyName == UTF8.default__.Encode(_dafny.Seq("rsa-4096-public")).value:
185184
if changed_key_name_from_private_to_public:
186185
# pylint: disable=protected-access
187186
keyring._impl._keyName = UTF8.default__.Encode(_dafny.Seq("rsa-4096-private")).value

0 commit comments

Comments
 (0)