hpk42 / muacrypt

Autocrypt and more for Mail User Agents
Other
36 stars 15 forks source link

Implement recommendations algorithm #26

Closed hpk42 closed 6 years ago

hpk42 commented 6 years ago

The https://autocrypt.org/level1.html#provide-a-recommendation-for-message-encryption needs to be fully implemented, depends on or relates to #25.

the idea is to also expose the recommendation algorithm via a new recommend sub command so that MUAs can use it to query the recommendation for one or more recipients.

azul commented 6 years ago

Looks like what we want is a command line

muacrypt recommendation e-mailaddress [another-emailaddress, ...]

Based on account API account.get_recommendation(emailadrlist)

azul commented 6 years ago

48 made some progress towards this. Still missing:

hpk42 commented 6 years ago

i don't think we should check if keys are expired or revoked with this issue because L1 does not mandate this strictly. We can create an "check if key is invalid" issue instead, for future refinements.