Skip to content

Conversation

@ntrinquier
Copy link

Message::decrypt currently supports passing only one secret key (and password).

This change makes it possible to pass multiple secret keys to decrypt, which is a convenient way to automatically select the appropriate secret key when we do not know which public key was used to encrypt (which is my case: I can receive messages encrypted with different keys, but I do not know which one exactly).

Exposing this capability should also come at no maintenance cost, since the internal data structure (TheRing) already supports selecting the correct key and password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant