Skip to content
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

Emails encrypted with Addy.io cannot be decrypted by open-keychain #258

Open
xyhhx opened this issue Feb 6, 2024 · 2 comments
Open

Emails encrypted with Addy.io cannot be decrypted by open-keychain #258

xyhhx opened this issue Feb 6, 2024 · 2 comments

Comments

@xyhhx
Copy link

xyhhx commented Feb 6, 2024

I'm running addy.io in a Docker container, version 1.0.4.

When I try to decrypt emails sent through addy.io using open-keychain, it fails.

I tried to encrypt a test text file from within the docker container, and decrypt that, it also fails.

If I export that secret key and use it on another machine to encrypt a text file, I can successfully decrypt that.

  • Container's gpg --version output:

    gpg (GnuPG) 2.4.3
    libgcrypt 1.10.2
    Copyright (C) 2023 g10 Code GmbH
    License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Home: /var/www/anonaddy/.gnupg
    Supported algorithms:
    Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
    Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
            CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression: Uncompressed, ZIP, ZLIB, BZIP2
    
  • Working VM's gpg --version output:

    gpg (GnuPG) 2.4.0
    libgcrypt 1.10.2-unknown
    Copyright (C) 2021 Free Software Foundation, Inc.
    License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Home: /home/user/.gnupg
    Supported algorithms:
    Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
    Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
            CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression: Uncompressed, ZIP, ZLIB, BZIP2
    

While the versions are slightly different, the configurations are otherwise the same.

@xyhhx
Copy link
Author

xyhhx commented Feb 13, 2024

If there's anything I can do to help with troubleshooting, please let me know...

@willbrowningme
Copy link
Member

When you say it fails, in what way does it fail, what error is shown?

Can you provide an example of the encrypted data that fails to be decrypted?

@willbrowningme willbrowningme transferred this issue from anonaddy/anonaddy Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants