-
Fixes #737: allows checking expiration of keys by capabilities (encrypt, sign, or both) rather than just using the primary key expiration time
NOTE: as explained in more detail below, this release is not backwards compatible with older versions for users relying on lower-level key functions such as
getEncryptionKeyPacket
andgetKeyPackets
. Please see the updated online documentation for details.- Renames
subKey.subKey
tosubKey.keyPacket
and aliaseskey.primaryKey
askey.keyPacket
. - Replaces
await getEncryptionKeyPacket()
with(await getEncryptionKey()).keyPacket
. - Replaces
getKeyPackets
withgetKeys
andgetSubkeyPackets
withgetSubkeys
. - Adds functions that extract useful properties from keys that could previously only be found by directly searching in the primaryKey or subkey packet objects:
getKeyId
getFingerprint
getAlgorithmInfo
getCreationTime
isDecrypted
- Renames