Skip to content

Feat: fetch key from nickserv if expired

ayoyo requested to merge (removed):feat_fetch_remote_on_expiry into master

This is part of the steps to address the problem of a user having an expired public key of a recipient while composing an email. get_key will now try to fetch remotely (from nickserv) when his local copy of the recipient public key is expired... essentially, keymanager is treating this the same way when the user is sending an email for the first time to that recipient => fetch remotely!

All restrictions that still apply:

  • private key cannot be fetched remotely
  • one has to specify fetch_remote=True
  • the validation rules regarding key change/update apply

Merge request reports