diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-07-31 17:18:03 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-07-31 17:18:03 +0200 |
commit | b9fa90f13655cd7e85522be91e91456077884427 (patch) | |
tree | e4908dd3acc0f84d841c452b18789a29baca5e49 /README.md | |
parent | 2419457badd9dea9dc093b0395f947a91ed35b92 (diff) |
openpgp: Remove SignatureBuilder::set_signature_expiration_time.
- `SignatureBuilder::set_signature_expiration_time` takes an
absolute time and converts it to a duration relative to the
`Signature Creation Time` subpacket.
- Since we sometimes set the `Signature Creation Time` subpacket
lazily, this should probably also be set lazily.
- But that makes the `SignatureBuilder` more complicated. And, it
means that `SignatureBuilder::modify_hashed_area`'s behavior is
more complicated.
- Instead of adding complexity, only provide the
`SignatureBuilder::set_signature_validity_period` method, which is
what is appears to be needed in practice.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions