The Facts:
david at gbenet.com
david at gbenet.com
Sat Nov 15 12:52:02 CET 2014
The steps I have taken to move my /.gnupg folder
Background:
I have two laptops (1) a 32 bit LXD laptop-1 (2) a 64 bit LXD laptop-2 one mouse and one WD
1.0 TB (1,000,202,043,392 bytes) external drive that plugs into the USB port of either
laptop-1 or laptop-2 = david at laptop-1:/media/store$.
Laptop-1 and laptop-2 are a mirror image of each. They contain the same software. I copied
programmes like Thunderbird Firefox from laptop-1 to laptop-2 without any problems.
gpg --version
david at laptop-1:/media/store$ gpg --version
gpg (GnuPG) 1.4.11
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cypher: 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8),
AES256 (S9), TWOFISH (S10), CAMELLIA128 (S11), CAMELLIA192 (S12),
CAMELLIA256 (S13)
Hash: MD5 (H1), SHA1 (H2), RIPEMD160 (H3), SHA256 (H8), SHA384 (H9),
SHA512 (H10), SHA224 (H11)
Compression: Uncompressed (Z0), ZIP (Z1), ZLIB (Z2), BZIP2 (Z3)
david at laptop-1:/media/store$
david at laptop-1:/media/store$ gpg2 --version
gpg (GnuPG) 2.0.17
libgcrypt 1.5.0
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cypher: 3DES (S2), CAST5 (S3), BLOWFISH (S4), AES (S7), AES192 (S8),
AES256 (S9), TWOFISH (S10), CAMELLIA128 (S11), CAMELLIA192 (S12),
CAMELLIA256 (S13)
Hash: MD5 (H1), SHA1 (H2), RIPEMD160 (H3), SHA256 (H8), SHA384 (H9),
SHA512 (H10), SHA224 (H11)
Compression: Uncompressed (Z0), ZIP (Z1), ZLIB (Z2), BZIP2 (Z3)
david at laptop-1:/media/store$
I have GPA Kleopatra Seahorse and Kgpg on laptop-1 and laptop-2. They all make "calls" to
gnupg. I at first made a copy of my public key I decided to use Kgpg to save my public key
postmaster.asc which I saved to david at laptop-1:/media/store$.
It is to be noted that both laptops are "laptop-1" So now All tasks are performed on the 64
bit LXD laptop:
(1) david at laptop-1:~$ gpg
gpg: directory `/home/david/.gnupg' created
gpg: new configuration file `/home/david/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/david/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/david/.gnupg/secring.gpg' created
gpg: keyring `/home/david/.gnupg/pubring.gpg' created
gpg: Go ahead and type your message ...
(2) Run ALL your GUIs eg Kgpg Kleopatra GPA - but do not create a new set of keys! Kgpg will
complain and not run.
(3) Reboot your system - very important!
(4) Type david at laptop-1:~$ gpg-agent
gpg-agent: gpg-agent running and available
david at laptop-1:~$
(5) Then I discovered failings within Thunderbird/Enigmail - I did various test e-mails
skipper at gbenet.com to postmaster at gbenet.com admin at bikermates.org to david at gbenet.com - all
failed to support signing all failed to support encryption.
(6) I tried doing backups - I tried deleting pubring - in fact I tried doing everything that
was possible to do.
Then I switched back to the 32 bit laptop today (15th 11th 2014 and decided to investigate
the "problem."
gpg --list-secret-keys
david at laptop-1:/media/store$ gpg --list-secret-keys
gpg: using PGP trust model
/home/david/.gnupg/secring.gpg
------------------------------
sec 4096R/AAD8C47D 2014-08-17
uid postmaster (There's always light at the end of the tunnel)
<postmaster at gbenet.com>
ssb 4096R/FDDA1EF2 2014-08-17
david at laptop-1:/media/store$
gpg --output mykey1.asc --export -a AAD8C47D
gpg --output mykey2.asc --export -a FDDA1EF2
david at laptop-1:/media/store$ gpg --output mykey1.asc --export -a AAD8C47D
gpg: writing to `mykey1.asc'
gpg: can't handle public key algorithm 19
gpg: can't handle public key algorithm 18
david at laptop-1:/media/store$ gpg --output mykey2.asc --export -a FDDA1EF2
gpg: writing to `mykey2.asc'
gpg: can't handle public key algorithm 19
gpg: can't handle public key algorithm 18
But apart from the can't handle public key algorithm 19 and gpg: can't handle public key
algorithm 18 I got the two files. But I decided to use:
gpg -ao david-private.key --export-secret-keys AAD8C47D
david at laptop-1:/media/store$ gpg -ao david-private.key --export-secret-keys AAD8C47D
gpg: writing to `david-private.key'
david at laptop-1:/media/store$
gpg -ao allow-non-selfsigned-uid david-public.key --export FDDA1EF2
david at laptop-1:/media/store$ gpg -ao david-public.key --export FDDA1EF2
gpg: writing to `david-public.key'
gpg: can't handle public key algorithm 19
gpg: can't handle public key algorithm 18
david at laptop-1:/media/store$
Got the same error message. there's something wrong with subkey binding signatures for
secret keys.
david at laptop-1:/media/store$ gpg --allow-non-selfsigned-uid -ao david-public.key --export
FDDA1EF2
File `david-public.key' exists. Overwrite? (y/N) y
gpg: writing to `david-public.key'
gpg: can't handle public key algorithm 19
gpg: can't handle public key algorithm 18
david at laptop-1:/media/store$
So now am going to shut down "laptop-1" 32 bit LXD and boot up "laptop-1" 64 bit LXD and run:
gpg --import --allow-non-selfsigned-uid -ao david-public.key in the hope this will fix the
problem. I will post results. The results:
david at laptop-1:/media/david/store$ gpg -ao --import --allow-non-selfsigned-uid david-public.key
gpg: armour header: Version: GnuPG v1.4.11 (GNU/Linux)
pub 4096R/AAD8C47D 2014-08-17 postmaster (There's always light at the end of the tunnel)
<postmaster at gbenet.com>
sig AAD8C47D 2014-11-15 [selfsig]
gpg: can't handle public key algorithm 19
gpg: can't handle public key algorithm 18
sig 32521C09 2014-08-25 Carolyn Hoyle (I respect privacy) <carolynbelkair at yahoo.co.uk>
sub 4096R/FDDA1EF2 2014-08-17
sig AAD8C47D 2014-08-17 [keybind]
david at laptop-1:/media/david/store$
Now to test emails - the results:
skipper at gbenet.com to postmaster at gbenet.com subject test body: test - now send:
"Key 0xAAD8C47D not found or not valid. The (sub-)key might of expired."
I'm stuck - can you solve this problem?
David
--
“See the sanity of the man! No gods, no angels, no demons, no body. Nothing of the
kind.Stern, sane,every brain-cell perfect and complete even at the moment of death. No
delusion.” https://linuxcounter.net/user/512854.html - http://gbenet.com
More information about the Gnupg-users
mailing list