encryption – Copy private key from OpenKeyChain to tails GPG?

I have a private PGP key on OpenKeyChain that I’d like to move to tails.

There only seems to be one way to export from OpenKeyChain – choose to make the encrypted backup file? But I can’t get the process to work.

  • I made a backup from Android, “backup.sec.pgp” (Noting the passphrase of hyphenated numbers)
  • Transferred it to tails
  • Ran ‘gpg –decrypt backup.sec.pgp | gpg –import backup.sec.pgp’

It returns:

gpg: unknown armor header: Passphrase-Format: numeric9x4
gpg: unknown armor header: Passphrase-Begin: 96
gpg: AES256 encrypted data
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Then I enter in the long hyphenated numerical passphrase and it spits out:

gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key

Advice would be hugely appreciated