Skip to content

Commit

Permalink
Formats the test
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaldas committed Nov 8, 2022
1 parent 521fe6f commit 80bcebf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions smartcardtests/smartcards_for_primary.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",], jce.SignatureType.PersonaCertification, password="123456".encode("utf-8"), oncard=True)
newother = ks.certify_key(
k,
other,
[
"Kushal Das <[email protected]>",
],
jce.SignatureType.PersonaCertification,
password="123456",
oncard=True,
)
with open("hello.public", "wb") as f:
f.write(newother.keyvalue)

0 comments on commit 80bcebf

Please sign in to comment.