Skip to content
Commit 2c00747e authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Disable sign option and encrypt options if needed keys are not available

If there are no secret keys in the keyring, then disable the "sign as"
option and the "encrypt to me" option. (The latter because we currently
require a secret key for the "encrypt to me" key.)
If there are no public keys in the keyring (and therefore also no secret
keys), then disable the "encrypt for others" option and check the
"encrypt with passphrase" option which is the only possible operation in
this case.

GnuPG-bug-id: 5535
parent 4479581d
Pipeline #76200 passed with stage
in 15 minutes and 42 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment