diff --git a/smartcardtests/smartcards_for_primary.py b/smartcardtests/smartcards_for_primary.py index 62a73e1..917a50b 100644 --- a/smartcardtests/smartcards_for_primary.py +++ b/smartcardtests/smartcards_for_primary.py @@ -83,7 +83,15 @@ ks.sync_smartcard() other = ks.import_key("tests/files/store/kushal_updated_key.asc") -newother = ks.certify_key(k, other, ["Kushal Das ",], jce.SignatureType.PersonaCertification, password="123456".encode("utf-8"), oncard=True) +newother = ks.certify_key( + k, + other, + [ + "Kushal Das ", + ], + jce.SignatureType.PersonaCertification, + password="123456", + oncard=True, +) with open("hello.public", "wb") as f: f.write(newother.keyvalue) -