gpg doesn't import secret keys for me any more

2019-01-12 Thread Ineiev
Hello,

Does this reproduce for anyone else?

dti@manas:~$ uname -a
Linux manas 4.4.0-141-generic #167+8.0trisquel2 SMP Tue Jan 1 12:28:32 UTC 2019 
x86_64 x86_64 x86_64 GNU/Linux
dti@manas:~$ gpg --version
gpg (GnuPG) 2.2.12
libgcrypt 1.8.4
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/dti/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB
dti@manas:~$ pinentry-tty --version
pinentry-tty (pinentry) 1.1.0
Copyright (C) 2016 g10 Code GmbH
License GPLv2+: GNU GPL version 2 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
dti@manas:~$ rm -fr h0 h1;mkdir h0 h1;chmod og= h0 h1;echo "pinentry-program 
$prefix/bin/pinentry-tty" >h0/gpg-agent.conf;cp h{0,1}/gpg-agent.conf;gpg 
--home h0 --list-keys;gpg --home h1 --list-keys
gpg: keybox '/home/dti/h0/pubring.kbx' created
gpg: /home/dti/h0/trustdb.gpg: trustdb created
gpg: keybox '/home/dti/h1/pubring.kbx' created
gpg: /home/dti/h1/trustdb.gpg: trustdb created
dti@manas:~$ gpg --home h0 --quick-gen-key 'Вася Пушкин '
About to create a key for:
"Вася Пушкин "

Continue? (Y/n) y
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
Please enter the passphrase to
protect your new key
Passphrase:
Repeat:
Warning: You have entered an insecure passphrase.

A passphrase should be at least 8 characters long.
A passphrase should contain at least 1 digit or
special character.
  Take this one anyway
  Enter new passphrase
[te]? t
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: key A81CA20F9A70E47B marked as ultimately trusted
gpg: directory '/home/dti/h0/openpgp-revocs.d' created
gpg: revocation certificate stored as 
'/home/dti/h0/openpgp-revocs.d/94DCB4A36F4EEDC1A68E95ABA81CA20F9A70E47B.rev'
public and secret key created and signed.

pub   rsa2048 2019-01-12 [SC] [expires: 2021-01-11]
  94DCB4A36F4EEDC1A68E95ABA81CA20F9A70E47B
uid  Вася Пушкин 
sub   rsa2048 2019-01-12 [E]

dti@manas:~$ gpg --home h0 -a --export >pub.asc
dti@manas:~$ gpg --home h0 -a --export-secret-key >sec.asc
Please enter the passphrase to export the OpenPGP secret key:
"Вася Пушкин "
2048-bit RSA key, ID A81CA20F9A70E47B,
created 2019-01-12.

Passphrase:
dti@manas:~$ gpg --home h1 --import " imported
gpg: Total number processed: 1
gpg:   imported: 1
dti@manas:~$ gpg --home h1 --import " not changed
gpg: key A81CA20F9A70E47B/A81CA20F9A70E47B: error sending to agent: Invalid IPC 
response
gpg: error building skey array: Invalid IPC response
gpg: Total number processed: 1
gpg:  unchanged: 1
gpg:   secret keys read: 1


signature.asc
Description: Digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re:[SOLVED] gpg doesn't import secret keys for me any more

2019-01-12 Thread Ineiev
On Sat, Jan 12, 2019 at 02:12:47PM -0500, Ineiev wrote:
> dti@manas:~$ gpg --home h1 --import 

signature.asc
Description: Digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: gpg > addphoto

2019-01-12 Thread Stefan Claas
On Fri, 11 Jan 2019 23:49:02 +0100, Stefan Claas wrote:
> On Wed, 9 Jan 2019 18:06:52 +0100, Stefan Claas wrote:
>  
> > O.k. i did a quick check on github for proper tools and found this
> > very interesting tool, written in Golang.
> > 
> > https://github.com/umahmood/steg  
> 
> Just had the time to test this very nice little tool with GnuPG.
> 
> I prepared an image 800x571 pixels 72dpi and embedded an mp3
> message, created with the macOS say command.
> 
> Everything works as expected. One only needs to use then:
> 
> gpg --list-keys --list-options show-photo 359A1872F120F7E7
> 
> so that preview from macOS displays the image for saving (with
> standard settings).
> 
> Very nice and easy workflow and the resulting key is only 61KB in size.
> 
> If someone like to look at the key:
> 
> https://pgp.circl.lu/pks/lookup?op=get&search=0x359A1872F120F7E7

I have quickly compiled steg for 26 OS platforms, so that everybody can
test it out. ;-)



Regards
Stefan


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users