Releases: kushaldas/johnnycanencrypt
Releases · kushaldas/johnnycanencrypt
v0.8.0
v0.7.0
Added
get_card_details
now also tells Pin retries left in the card.sign_file_on_card
function in rjce.sign_bytes_on_card
function in rjce.verify_file
&verify_file_detached
are two different functions in KeyStore (breaking change).verify
takes optional detached signature to verify the given bytes.sign_detached
will do detached signature,sign
is for the other usecase.- renamed
create_newkey
tocreate_key
(breaking change). - renamed
import_cert
toimport_key
(breaking change). - Updates all dependencies.
Fixed
- Now can fail gracefully with CryptoError exception in Python
- #80 also fails gracefully
You can verify the tarball via the OpenPGP signature & also via sigstore tool. Remember to download the .crt & .sig file in the same directory just like .asc for OpenPGP.
SIGSTORE_LOGLEVEL=debug python -m sigstore verify --cert-email [email protected] --cert-oidc-issuer https://github.com johnnycanencrypt-0.7.0.tar.gz
Release 0.6.0
Added
update_expiry_in_subkeys
method for the keystrore.update_subkeys_expiry_in_cert
function in rjce.revoke_userid
method for keystore.add_userid
method for keystore.update_password
method for keystore.- ECDH decryption on smartcard for Curve25519 only.
- Adds
decrypt_file_on_card
function. - Adds
decrypt_bytes_on_card
function. - Upgrades dependencies, including pyo3 to 0.15.1 and sequoia-openpgp to 1.6.0.
- Adds
is_smartcard_connected
function in rjce.
Fixed
get_key
method will returnNone
in case no fingerprint is provided.- Spelling mistake in API & docs about
expiary
->expiry
.
Release 0.5.0
Added
move_subkey_to_card
function to move all 3 subkeys to the card.- We can also decrypt based on RSA keys on a smartcard.
sign_bytes_detached_on_card
andsign_file_detached_on_card
to sign using smartcard.set_name
to set the card holder's name in the card.set_url
to set the URL to the public key of the card.get_card_details
function in rjce to get smartcard details.bytes_encrypted_for
andfile_encrypted_for
functions were added (these are costly function calls).get_keys_by_keyid
to get keys for a given keyidfetch_key_by_email
can fetch key from keys.openpgp.org for a given email id.fetch_key_by_fingerprint
can fetch key from keys.openpgp.org for a given fingerprint.encrypt_file
anddecrypt_file
can take an opened binary file handler in Python as input.
Next release we will update the documents with all the major changes.
The Python3.7 Linux wheel has all debugging symbols, that is why it is much bigger than all other wheels in this release. We are using the same in Tumpa project.
Release 0.3.0
[0.3.0] 2020-10-22
Added
encrypt_bytes_to_file
can encrypt data for multiple recipients and saves to a file.- Function signature to the
create_newkey
function. - Uses sequoia-pgp 0.20.0 as dependency #31
- Can not use sha1 based keys with this library #29
- SQLite3 based KeyStore
jce.db
- Python ENUMs key type and cipher type #33
Fixed
- #14 decrypt when the data was encrypted for multiple recipients.
- Fixes documentation for
create_newkey
function name.
0.2.0 release
[0.2.0] - 2020-07-15
Added
- This changelog :)
- If the public/secret key file is missing, while trying to create a
Johnny
object will raiseFileNotFound
error. - If one tries to decrypt using a public key file, it will throw
AttributeError
. encrypt_bytes
now returns bytes (instead of string).encrypt_bytes
takes a third argument,armor
as boolean, to return ascii-armored bytes or not.encrypt_file
takes a third argument,armor
as boolean, writes the output file ascii armored if true.
Initial release
The python3.7 wheel is build for Debian Buster, and the 3.8 wheel will work on Fedora 32.