Skip to content

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

@xyhhx

Description

@xyhhx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions