-
s there a way to get the keyID of the failed password after calling rnp_decrypt? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
ni4
Jan 8, 2024
Replies: 1 comment 4 replies
-
If you'd use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently RNP_ERROR_BAD_PASSWORD will be returned if invalid password was specified for all of the recipients. Another possible way is to first run (and fail)
rnp_op_verify_execute()
to obtain list of recipients, and then continuously ask for password, tryingrnp_key_unlock()
for the specific recipient.