mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-01 06:23:26 +00:00
When the latest subkey with the requested capabilities is expired, and the primary key has the requested capabilities, return the primary key expiry instead. Also, change isExpired/isDataExpired to still return false at the date returned by getExpirationTime, so that the latter returns the last date that the key can still be used.