* 2023-03-25 14:37:10+0100, Hans wrote:
> I tried, but ran into the same issue:
>
> LANG=C gpg --export-secret-key /home/ullhan63/.gnupg/private-keys-v1.d/123456789.key  > testkey 
Wrong argument. "gpg --export-secret-key" does not want filename
argument. It wants key id, key fingerprint or user id argument(s).
I suggest that you check your key's fingerprint with "gpg -K" command
and then use the fingerprint the select the key for export.
    gpg --output key.gpg --export-secret-key F514B7B57C2960FA7D6FF4E15BA322F72BEF564B
-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
Attachment:
signature.asc
Description: PGP signature