I have a private PGP key on [OpenKeyChain][1] 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


  [1]: https://play.google.com/store/apps/details?id=org.sufficientlysecure.keychain