My use case:
I need to setup PGP Commandline in 4 different server (which is load balanced -- meaning at any given point in time, any one of the server will handle the request & we don't know which one it will be). Hence the keys (both pubring & secring) should be common & in sync.
What i did:
On one of the server, i generated a keyring and export the key pair . In rest of the 3 servers, i'm trying to create an empty keyring & import the key pair from Server#1.
But the problem is when I try to sign & trust a key pair that i imported to an empty key ring, i couldn't do it as the command requires a pass phrase. How can we sign & trust the first key in the keyring when its imported (not generated)?
Alternatively, i can just copy paste the key ring from the original server to all the servers. But i just wanted to know if that is an ideal solution?
Any help is much appreciated.
OS: Linux
PGP Version: 10.4
Regards,
-pn