[OM Cooker] gpg does not work in 3.0

luca pedrielli luca.pedrielli at gmail.com
Tue Jun 28 13:08:42 EDT 2016


seems working here:


$ gpg --full-gen-key
gpg: WARNING: unsafe permissions on homedir '/home/ilprof/.gnupg'
gpg (GnuPG) 2.1.13-unknown; Copyright (C) 2016 Free Software Foundation, 
Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
Per favore scegli che tipo di chiave vuoi:
    (1) RSA and RSA (default)
    (2) DSA and Elgamal
    (3) DSA (firma solo)
    (4) RSA (firma solo)
Cosa scegli? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048)
La dimensione richiesta della chiave è 2048 bit
Per favore specifica per quanto tempo la chiave sarà valida.
          0 = la chiave non scadrà
       <n>  = la chiave scadrà dopo n giorni
       <n>w = la chiave scadrà dopo n settimane
       <n>m = la chiave scadrà dopo n mesi
       <n>y = la chiave scadrà dopo n anni
Chiave valida per? (0)
Key does not expire at all
Is this correct? (y/N) n
Chiave valida per? (0) 1
Key expires at mer 29 giu 2016 19:01:51 CEST
Is this correct? (y/N) y

GnuPG needs to construct a user ID to identify your key.

Nome e Cognome: numa pompilio
Indirizzo di Email: pompilio at gmail.com
Commento: prova
Hai selezionato questo User Id:
     "numa pompilio (prova) <pompilio at gmail.com>"

Modifica (N)ome, (C)ommento, (E)mail oppure (O)kay/(Q)uit? O
Dobbiamo generare un mucchio di byte casuali. È una buona idea eseguire
qualche altra azione (scrivere sulla tastiera, muovere il mouse, usare i
dischi) durante la generazione dei numeri primi; questo da al generatore di
numeri casuali migliori possibilità di raccogliere abbastanza entropia.

Dobbiamo generare un mucchio di byte casuali. È una buona idea eseguire
qualche altra azione (scrivere sulla tastiera, muovere il mouse, usare i
dischi) durante la generazione dei numeri primi; questo da al generatore di
numeri casuali migliori possibilità di raccogliere abbastanza entropia.

gpg: key CF6F55C049DCD58B marked as ultimately trusted
gpg: directory '/home/ilprof/.gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as 
'/home/ilprof/.gnupg/openpgp-revocs.d/0B4072338912F068EF228EA8CF6F55C049DCD58B.rev'
chiavi pubbliche e segrete create e firmate.

gpg: controllo il trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: il prossimo controllo del trustdb sarà fatto il 2016-06-29
pub   rsa2048 2016-06-28 [S] [expires: 2016-06-29]
       0B4072338912F068EF228EA8CF6F55C049DCD58B
uid           [ultimate] numa pompilio (prova) <pompilio at gmail.com>
sub   rsa2048 2016-06-28 [] [expires: 2016-06-29]




Il 28/06/2016 18:40, Tomasz Gajc ha scritto:
> gpg --gen-key still does omit N,O,E,Q options
>
> ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig -icanon -echo 
> ...}) = 0
> rt_sigaction(SIGWINCH, {0x7fa3fe39a603, [], SA_RESTORER|SA_RESTART, 
> 0x7fa3fe03e0b0}, {SIG_DFL, [], SA_RESTORER, 0x7fa3fe03e0b0}, 8) = 0
> write(3, "Change (N)ame, (E)mail, or (O)ka"..., 42Change (N)ame, 
> (E)mail, or (O)kay/(Q)uit? ) = 42
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}) = 1 (in [3])
> read(3, "E", 1)                         = 1
> select(4, [3], NULL, [3], {0, 0})       = 0 (Timeout)
> write(3, "E", 1E)                        = 1
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}) = 1 (in [3])
> read(3, "E", 1)                         = 1
> select(4, [3], NULL, [3], {0, 0})       = 0 (Timeout)
> write(3, "E", 1E)                        = 1
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}) = 1 (in [3])
> read(3, "E", 1)                         = 1
> select(4, [3], NULL, [3], {0, 0})       = 0 (Timeout)
> write(3, "E", 1E)                        = 1
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}) = 1 (in [3])
> read(3, "E", 1)                         = 1
> select(4, [3], NULL, [3], {0, 0})       = 0 (Timeout)
> write(3, "E", 1E)                        = 1
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}) = 1 (in [3])
> read(3, "o", 1)                         = 1
> select(4, [3], NULL, [3], {0, 0})       = 0 (Timeout)
> write(3, "o", 1o)                        = 1
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}) = 1 (in [3])
> read(3, "O", 1)                         = 1
> select(4, [3], NULL, [3], {0, 0})       = 0 (Timeout)
> write(3, "O", 1O)                        = 1
> pselect6(4, [3], NULL, NULL, NULL, {[], 8}
>
>
> 2016-06-28 13:09 GMT+02:00 Tomasz Gajc <tpgxyz at gmail.com 
> <mailto:tpgxyz at gmail.com>>:
>
>     Bero released 0.9.7-4 for 3.0 :)
>
>     2016-06-28 12:47 GMT+02:00 Jean-Claude Vanier <jclvanier at gmail.com
>     <mailto:jclvanier at gmail.com>>:
>
>         Upgraded 0.9.6-5 to 0.9.7-1: same behaviour.
>         Note that with pinentry-gtk-2, gpg works.
>         Where can I find 0.9.7-2 ?
>
>         2016-06-28 12:09 GMT+02:00 Tomasz Gajc <tpgxyz at gmail.com
>         <mailto:tpgxyz at gmail.com>>:
>         > Thanks. Now we know that potential culprit is pinentry.
>         > I'm building new pinentry 0.9.7-2 please try it.
>         >
>         > 2016-06-28 11:56 GMT+02:00 Jean-Claude Vanier
>         <jclvanier at gmail.com <mailto:jclvanier at gmail.com>>:
>         >>
>         >> It might be an issue related to pinentry.
>         >> If I launch gpg-agent with no pinentry option, I get this
>         trace (see
>         >> bellow).
>         >> Pinentry is launched but seems to fail.
>         >> If I launch gpg-agent with pinentry-curses
>         >>   gpg-agent -v --daemon --pinentry-program
>         "/usr/bin/pinentry-curses"
>         >>
>         >> "gpg --gen-key" works (same for kleopatra).
>         >>
>         >>
>         >>
>         >>
>         -------------------------------------------------------------------------------------------
>         >> [...]
>         >> 4117  read(4, "OK Pleased to meet you, process 4117\n",
>         1002) = 37
>         >> 4117  write(4, "RESET", 5)   = 5
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
>         >> 4117  fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136,
>         4), ...}) = 0
>         >> 4117  readlink("/proc/self/fd/0", "/dev/pts/4", 4095) = 10
>         >> 4117  stat("/dev/pts/4", {st_mode=S_IFCHR|0600,
>         st_rdev=makedev(136,
>         >> 4), ...}) = 0
>         >> 4117  ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
>         >> 4117  fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136,
>         4), ...}) = 0
>         >> 4117  readlink("/proc/self/fd/0", "/dev/pts/4", 4095) = 10
>         >> 4117  stat("/dev/pts/4", {st_mode=S_IFCHR|0600,
>         st_rdev=makedev(136,
>         >> 4), ...}) = 0
>         >> 4117  write(4, "OPTION ttyname=/dev/pts/4", 25) = 25
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION ttytype=xterm-256color", 29) = 29
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION display=:0", 17) = 17
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION xauthority=/tmp/xauth-1001-_0", 36) = 36
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION putenv=XMODIFIERS=@im=fcitx", 34) = 34
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION putenv=GTK_IM_MODULE=fcitx", 33) = 33
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION
>         >>
>         putenv=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus",
>         67) =
>         >> 67
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION putenv=QT_IM_MODULE=fcitx", 32) = 32
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION lc-ctype=en_US.UTF-8", 27) = 27
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION lc-messages=en_US.UTF-8", 30) = 30
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "GETINFO version", 15)   = 15
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "D 2.1.12-unknown\nOK\n", 1002) = 20
>         >> 4117  write(4, "OPTION allow-pinentry-notify", 28) = 28
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "OPTION agent-awareness=2.1.0", 28) = 28
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "AGENT_ID", 8)    = 8
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "ERR 67109139 Unknown IPC command <GPG
>         Agent>\n", 1002) = 45
>         >> 4117  write(4, "RESET", 5)   = 5
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "OK\n", 1002)    = 3
>         >> 4117  write(4, "GENKEY", 6)    = 6
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "S INQUIRE_MAXLEN 1024\nINQUIRE KEYPARAM\n",
>         1002) = 39
>         >> 4117  write(4, "D (genkey(rsa(nbits 4:2048)))\n", 30) = 30
>         >> 4117  write(4, "END", 3)   = 3
>         >> 4117  write(4, "\n", 1)    = 1
>         >> 4117  read(4, "ERR 67108949 No pinentry <GPG Agent>\n",
>         1002) = 37
>         >> 4117  write(2, "gpg: agent_genkey failed: No pinentry", 37)
>         = 37
>         >> 4117  write(2, "\n", 1)    = 1
>         >> 4117  write(3, "Key generation failed: No pinentry\n", 35) = 35
>         >> 4117  munmap(0x7f37a4485000, 32768)    = 0
>         >> 4117  exit_group(2)    = ?
>         >> 4117  +++ exited with 2 +++
>         >>
>         >>
>         --------------------------------------------------------------------------------------------------
>         >>
>         >> 2016-06-28 9:55 GMT+02:00 Alexander Stefanov-Khryukin
>         >> <nobodydead at gmail.com <mailto:nobodydead at gmail.com>>:
>         >> > Please use gdb/strace
>         >> >
>         >> > 2016-06-28 10:53 GMT+03:00 Jean-Claude Vanier
>         <jclvanier at gmail.com <mailto:jclvanier at gmail.com>>:
>         >> >>
>         >> >> First test in live mode: I confirm.
>         >> >>
>         >> >> 2016-06-28 9:14 GMT+02:00 Tomasz Gajc <tpgxyz at gmail.com
>         <mailto:tpgxyz at gmail.com>>:
>         >> >> > Hi,
>         >> >> >
>         >> >> > can someone please confirm:
>         >> >> >
>         >> >> > gpg --key-gen
>         >> >> >
>         >> >> > when you fill all the data, then you can not finish
>         proces with O)key
>         >> >> > option
>         >> >> >
>         >> >> > * kleoparta
>         >> >> >
>         >> >> > can't generate new key pair
>         >> >> >
>         >> >> > * kwallet
>         >> >> >
>         >> >> > does not work with gpg key - General error ??
>         >> >> >
>         >> >> >
>         >> >> >
>         >> >> > Thanks
>         >> >> >
>         >> >> > _______________________________________________
>         >> >> > OM-Cooker mailing list
>         >> >> > OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         >> >> >
>         >> >> >
>         >> >> >
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>         >> >> >
>         >> >>
>         >> >> _______________________________________________
>         >> >> OM-Cooker mailing list
>         >> >> OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         >> >>
>         >> >>
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>         >> >
>         >> >
>         >> >
>         >> > _______________________________________________
>         >> > OM-Cooker mailing list
>         >> > OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         >> >
>         >> >
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>         >> >
>         >>
>         >> _______________________________________________
>         >> OM-Cooker mailing list
>         >> OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         >>
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>         >
>         >
>         >
>         > _______________________________________________
>         > OM-Cooker mailing list
>         > OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         >
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>         >
>
>         _______________________________________________
>         OM-Cooker mailing list
>         OM-Cooker at ml.openmandriva.org
>         <mailto:OM-Cooker at ml.openmandriva.org>
>         http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>
>
>
>
>
> _______________________________________________
> OM-Cooker mailing list
> OM-Cooker at ml.openmandriva.org
> http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org


-- 
Saluti, Luca Pedrielli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.openmandriva.org/pipermail/om-cooker_ml.openmandriva.org/attachments/20160628/de1875dc/attachment-0001.html>


More information about the OM-Cooker mailing list