fix encryption key selection (fixes #2403)

This commit is contained in:
Vincent Breitmoser 2018-10-22 14:16:53 +02:00
parent ff5528713f
commit 4dfe32120e
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ SELECT fingerprint
selectEffectiveEncryptionKeyIdsByMasterKeyId:
SELECT key_id
FROM validKeys
WHERE has_secret > 1 AND can_encrypt = 1 AND master_key_id = ?;
WHERE can_encrypt = 1 AND master_key_id = ?;
selectEffectiveSignKeyIdByMasterKeyId:
SELECT key_id