-
-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPENPGP PLUGIN: Don't list expired/revoked GPG keys #1540
base: master
Are you sure you want to change the base?
OPENPGP PLUGIN: Don't list expired/revoked GPG keys #1540
Conversation
2a8bc85
to
779092c
Compare
779092c
to
2f3ddad
Compare
bcbbacf
to
78664dd
Compare
I finally managed to do that without needing to click on left pane or switching back and forth conversations. Now, if you try to send a message but the key has expired or has been revoked while Dino is in use and you're in a chat, the input should be blocked with the following depending on your situation: With this, I think all bases are covered. @NicoHood @cjj20 Feel free to test and give feedback anytime |
8d1ade8
to
95bfdd1
Compare
@fiaxh Adapted for new UI: |
1bf8918
to
7644af5
Compare
- closes dino#91 - Mention that GPG key may be expired or revoked in chat input box - in the account dialog if the number of OpenPGP keys found is 0, the label also notes that a key may have been revoked or expired. - blocks input in chat box if key is use is revoked or expired when switching conversation and can detect if your key has expired while chatting - if current selected key is revoked or expired, it'll be shown in account manager with a warning message: "Attention required: your key xxxx is revoked/expired!"
7644af5
to
0af789f
Compare
Hello,
@fiaxh This PR should close #91
I also changed the text when no key is selected from "No keys available. Generate one" to "No keys available. Generate one or check if your key isn't expired or revoked!"
I created a gpg key expiring few minutes after generation with a timestamp of 20240412T105500:
Here's a screenshot 2 minutes before expiring:
After closing dino and opening it back after the key expired:
But the input text box can still be used to send message, which are marked as failed but no reason is given.
I'll see if it's possible to block input on a revoked or expired key, and also have it checked without opening and closing dino.
Kind regards,
lili