Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solves error (Symkey decrypt failed: Invalid secret key ID)
"Symkey decrypt failed: Invalid secret key ID" problem in https://stackoverflow.com/questions/12540226/cryptopenpgp-symkey-decrypt-failed-invalid-secret-key-id . I use openpgp.js for the encryption of messages and get the same error. It seems openpgp.js uses the subkey for encryption of the sessionkey. So I suggest "$kb->key_by_id($sym_key->key_id)" instead of "$kb->encrypting_key".
- Loading branch information