I'm trying to create an OpenPGP key with a photo ID using GnuPG and then export it, so it can be imported on a different computer.
Whatever tests I've done the photo ID never appears after the import on the new computer. As an example, I've started a virtual machine with no hard disk and a Linux Mint CD, then ran:
wget http://lorempixel.com/200/200/ -O test.jpg
gpg --gen-key # minimum options
gpg --edit-key -- -test-
# gpg> addphoto test.jpg
# gpg> save
gpg -K # the photo is there
gpg --export-secret-key -- -test- > exported.secret.gpg
gpg --delete-secret-key -- -test-
gpg --delete-key -- -test-
gpg -K # verify nothing left:
gpg -k
gpg --import exported.secret.gpg
gpg -K
The photo is not there! How should this be done?