snappymail icon indicating copy to clipboard operation
snappymail copied to clipboard

Issue with deleting PGP keys from server

Open DimitrijeDimitrijevic opened this issue 9 months ago • 2 comments

BUG: When PGP keys are deleted from UI , the changes are not reflected to the server. After clicking the button 'Import from server' they re-appear. Also I have confirmed that they are not deleted on server.

Steps to reproduce the behavior:

  1. Go to Settings -> Security
  2. Click on OpenPGP.js
  3. Delete the keys
  4. Click import from server
  5. The keys re-appear

Expected behavior The keys to be deleted.

Please complete the following information:

  • Browser: Firefox 135.0
  • IMAP daemon: dovecot
  • PHP version: PHP 8.2.27
  • SnappyMail Version: 2.38.2
  • Mode: standalone
  • OS: FreeBSD 14.2
  • Run with php-fpm

Does anyone encountered similiar this misbehave ?

DimitrijeDimitrijevic avatar Feb 10 '25 11:02 DimitrijeDimitrijevic

Maybe it has to do with this kind of issue I encountered two years ago?

https://github.com/the-djmaze/snappymail/issues/1384

codiflow avatar Feb 19 '25 13:02 codiflow

I have been experiencing the same thing for the past few years. It's annoying, and it would be nice to have it fixed, but for my use, it's just a cosmetic issue. I have 2-3 old keys that keep showing up on the Security tab. I just added another key to test, and when I sign and/or encrypt outbound mail, it always selects the keypair that I just added, so I'm not sure how it decides which key to use.

cohenchris avatar Oct 24 '25 08:10 cohenchris