Pass problem in Manjaro

I was using Ubuntu and I decided to use Manjaro.
I was using pass as my main password manager, so I copied .password-store and .gnupg to Manjaro.
pass works fine, but If I try to show a password an error happens gpg: decryption failed: No secret key
I tried to export ubuntu gpg keys and import them in manjaro, but it’s not working.
I migrated many times from different distros but this problem did not happen in any distro but in Manjaro

How? And what was the error message?

Exporting is done with: gpg --export-secret-key -a KEYID > private.key
and imported with:
gpg --import private.key



┌───────────────────────────────────────────────────────────────┐
│ Please enter the passphrase to unlock the OpenPGP secret key: │
│ "myname <myemail@gmail.com>"                         │
│ 3072-bit RSA key, ID [REDACTED KEY ID 1],                        │
│ created 2022-03-09 (main key ID  [REDACTED KEY ID 2]).            │
│                                                               │
│                                                         

which [REDACTED KEY ID] should I type ?

The first one.

I have exported both keys and imported it in manjaro

ubuntu: 
    gpg --export-secret-key -a first_ID > private.key
    gpg --export-secret-key -a second_ID > main.key
manjaro: 
    gpg --import private.key
    gpg --import main.key
pass show google.com/myemail@gmail.com
gpg: decryption failed: No secret key

The version of gnupg that you are coming from is missing, which makes it difficult to help.

Software changes sometimes happen that require a migration so a conversion can happen.

Perhaps the below will help.

Also check:

systemctl --user status gpg-agent
journalctl -b0

[Manjaro juba]# systemctl --user status gpg-agent
Failed to connect to bus: No medium found

journalctl -b0 output is 9644 lines, Should I grep a specific pattern to make it clear ?

Manjaro gpg version

[Manjaro juba]# gpg --version
gpg (GnuPG) 2.2.39
libgcrypt 1.10.1-unknown
Copyright (C) 2022 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: /root/.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

Ubuntu gpg version (I mounted Ubuntu partition and run gpg from it while using manjaro)

[Manjaro juba]# /media/juba/Ubuntu/usr/bin/gpg --version
gpg (GnuPG) 2.2.27
libgcrypt 1.10.1-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: /root/.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