You need a passphrase to unlock the secret key for
user: “inforce-key”
4096-bit RSA key, ID 6D95ED33, created 2016-01-01
The Snap Store encountered an error while processing your request: internal server error (code 500).
The operational status of the Snap Store can be checked at https://status.snapcraft.io/
It was registered on 2018-02-15T09:59:55Z. It looks like you are not using the same ~/snap/gnupg directory, otherwise snapcraft would not try to register it again.
Can you please paste the output of snapcraft list-keys ?
i tried even on different machine (ubuntu 18.04) still the issue persists.
vinaysimha@vinaysimha-inf-03-62:~ $ snapcraft list-keys
Name SHA3-384 fingerprint
As mentioned earlier, the key setup is dependent of the local filesystem where it was initially set up (~/.snap/gnupg). Your private keys never leave your disk, the store is only informed of the corresponding names and public parts.
Since you have probably lost your original private keys (named inforce-key, inf-key and inf2-key) and the store doesn’t yet support key revocation (see the bug1800825), my suggestion to move forward is to create and register new keys with new names (identifiers) and ensure you have (safe) backups of ~/.snap for future recovering.
As a developer I use multiple machines, at work, home and abroad. I’d like to work on the same snap project but on different filesystems (machines). The key arrangement seems inconvenient to say the least. I must be missing something.