So let’s say you created a PGP key & then proceeded to create 2 subkeys. Is it possible to just export the particular subkeys only. (let’s say one for encryption & the other for signing) for OTHERS to import into their keyring for authentication & encryption ?
For the private key, yes. First identify the subkey ID:
gpg --keyid=format=long -K
sec ed25519/5810B9EFF21686DE 2026-01-23 [SC] [expires: 2029-01-22]
C9E33D15E55A3834EE17A9755810B9EFF21686DE
uid [ultimate] alice <alice@localhost>
ssb cv25519/F1806CEA56544D8D 2026-01-23 [E] [expires: 2029-01-22]
Then export it (note the !):
gpg --export-secret-subkeys -a 'F1806CEA56544D8D!'
If you want the pubkey subkey only: What's your use-case for sharing a certified key without the certificate chain? There are reasons why exporting just the public subkey isn't really a supported feature (outside of some ugly keyring surgery). If you want unsigned "naked" keys wouldn't it make sense to not use subkeys at all to begin with? Or more practically, generate separate root keys with matching user/expiry but each with different set of subkeys present (like the example above with only E) ?