Page MenuHome GnuPG
Feed Advanced Search

Sep 26 2014

werner closed T1728: document parameters to GET_LINE et. al. as Resolved.
Sep 26 2014, 12:56 PM · Bug Report, Won't Fix, gnupg
werner added a comment to T1728: document parameters to GET_LINE et. al..

If you order such a docuemntation I'll be glad to add it. Contact me at my
company address.

Sep 26 2014, 12:56 PM · Bug Report, Won't Fix, gnupg
werner added a comment to T1732: Don't break existing keys larger than 4k.

Please read the FAQ starting with
https://gnupg.org/faq/gnupg-faq.html#default_rsa2048

Sep 26 2014, 12:54 PM · Not A Bug, Debian, Bug Report, gnupg
werner closed T1732: Don't break existing keys larger than 4k as Resolved.
Sep 26 2014, 12:54 PM · Not A Bug, Debian, Bug Report, gnupg
ciaby added a comment to T1732: Don't break existing keys larger than 4k.

By the way, is this all bullshit?
AES-256 == RSA-15360 / DSA-15360 (NIST)
http://csrc.nist.gov/groups/SMA/ispab/documents/minutes/2006-03/E_Barker-
March2006-ISPAB.pdf

AES=256 == RSA-15424 / DSA-15424 (ECRYPT2)
http://www.ecrypt.eu.org/documents/D.SPA.20.pdf

Sep 26 2014, 4:36 AM · Not A Bug, Debian, Bug Report, gnupg
infinity0 reopened T1723: more precise wording in option lists as "Open".
Sep 26 2014, 1:12 AM · Won't Fix, gnupg, Feature Request
infinity0 added a comment to T1723: more precise wording in option lists.

You responded to my previous suggestions, and this is my next iteration, with me
trying to take into account your comments.

I find that making related options visually related, helps the user to better
intuitively understand what they do. The current options don't do this.

You also had a comment along the lines of "sign is not accurate because there's
also certify and authenticate", but a few current options also have this flaw. I
think it's OK, but it's better to do this consistently.

Sep 26 2014, 1:12 AM · Won't Fix, gnupg, Feature Request
infinity0 added a project to T1727: add a parameter to GOT_IT to communicate any errors: Feature Request.
Sep 26 2014, 12:45 AM · Feature Request, Not A Bug, gnupg
infinity0 removed a project from T1727: add a parameter to GOT_IT to communicate any errors: Bug Report.
Sep 26 2014, 12:45 AM · Feature Request, Not A Bug, gnupg
infinity0 added a comment to T1727: add a parameter to GOT_IT to communicate any errors.

I could not easily figure out what I was supposed to infer from the source code
of gpa or gpgme, but after playing about with it, I suppose I can detect the
error by noticing that the next GET_LINE issues a keyedit.prompt rather than
continuing with the workflow. This means I will have to write some state-keeping
logic instead of merely switching on the GET_LINE, and all users of this
interface will need to implement a similar thing.

To reduce the complexity for scripters here, might I suggest adding an extra
parameter to GOT_IT to explicitly communicate to the client script about any
errors? At least from the gpa/gpgme code it seems there is a generic parser that
can cope with extra parameters to any status line.

If anyone is affected by this (I don't know of others using this interface),
they can easily rewrite their parsing code to cope with both the old and new
GOT_IT lines (with or without a parameter).

BTW, this is the sort of thing that documentation would be helpful for.

Sep 26 2014, 12:45 AM · Feature Request, Not A Bug, gnupg
infinity0 renamed T1727: add a parameter to GOT_IT to communicate any errors from addkey claims success (GOT_IT) even when no secret key to add a parameter to GOT_IT to communicate any errors.
Sep 26 2014, 12:45 AM · Feature Request, Not A Bug, gnupg
infinity0 added a comment to T1728: document parameters to GET_LINE et. al..

If "a complete documentation is not possible", then it is not fit for purpose as
an API to be scripted, and you should stop advertising that functionality in public.

If you do not have time to do this documentation, the correct response is to say
"I do not have time to do this", but leave the bug open, because it is something
to be resolved in the future.

An exposed public interface that you expressly suggested me to use in a script,
is *supposed* to have documentation associated with it. That is basic standard
software engineering. You don't see standard library authors respond with "just
try out the function to see what happens", when someone points out missing
documentation.

Sep 26 2014, 12:30 AM · Bug Report, Won't Fix, gnupg
infinity0 added a project to T1728: document parameters to GET_LINE et. al.: Bug Report.
Sep 26 2014, 12:30 AM · Bug Report, Won't Fix, gnupg
infinity0 removed a project from T1728: document parameters to GET_LINE et. al.: Feature Request.
Sep 26 2014, 12:30 AM · Bug Report, Won't Fix, gnupg
infinity0 reopened T1728: document parameters to GET_LINE et. al. as "Open".
Sep 26 2014, 12:30 AM · Bug Report, Won't Fix, gnupg
infinity0 added a comment to T1726: no status-fd message indicating current flags.

The starting value is Certify+Sign for some options and Certify+Sign+Encrypt for
other options. This should be output in the status file descriptor so that a
script knows what it is doing.

Alternatively, the defaults should be committed to in public API documentation
that is guaranteed to not change, rather than source code. As you said yourself
in ML, one should not rely on the CLI to remain static.

Sep 26 2014, 12:23 AM · Feature Request, gnupg
infinity0 reopened T1726: no status-fd message indicating current flags as "Open".
Sep 26 2014, 12:23 AM · Feature Request, gnupg
infinity0 reopened T1725: addkey asks for a separate new password for every subkey created as "Open".
Sep 26 2014, 12:14 AM · Feature Request, Not A Bug, gnupg
infinity0 added a project to T1725: addkey asks for a separate new password for every subkey created: Feature Request.
Sep 26 2014, 12:14 AM · Feature Request, Not A Bug, gnupg
infinity0 removed a project from T1725: addkey asks for a separate new password for every subkey created: Bug Report.
Sep 26 2014, 12:14 AM · Feature Request, Not A Bug, gnupg
infinity0 added a comment to T1725: addkey asks for a separate new password for every subkey created.

I suggest that an option be added for the user to "set same as master key". This
will be the majority use-case.

Sep 26 2014, 12:14 AM · Feature Request, Not A Bug, gnupg
infinity0 added a comment to T1730: gpg should avoid a gpg-agent with a different homedir.

But this might be done by accident, such as in old shell environments. Do you
consider GPG_AGENT_INFO with a different homedir, to be a valid use case? If
not, you should get rid of it, because otherwise it might be confusing and trip
users up.

Sep 26 2014, 12:14 AM · Feature Request, gnupg
infinity0 reopened T1730: gpg should avoid a gpg-agent with a different homedir as "Open".
Sep 26 2014, 12:14 AM · Feature Request, gnupg

Sep 25 2014

ciaby added a comment to T1732: Don't break existing keys larger than 4k.

Ok, got it. So I can just throw away my key and make a new one?
Fantastic. Thanks a lot.
Sounds a lot like "640K ought to be enough for anybody".
So long, and thanks for all the good work on GnuPG (seriously).

Sep 25 2014, 10:11 PM · Not A Bug, Debian, Bug Report, gnupg
werner added a comment to T1732: Don't break existing keys larger than 4k.

No.

Please read the FAQ on key sizes and if you have a lot of time the countless
discussions on gnupg-users. No, you are not paranoid but you are tuning the
wrong parameters. IT will never be a standard. There will never be any keys
larger than 4k RSA in real use.

Sep 25 2014, 9:46 PM · Not A Bug, Debian, Bug Report, gnupg
ciaby added a comment to T1732: Don't break existing keys larger than 4k.

Yes, I know how to change the code and make it work on _my_ machine.
There is the tiny problem that everyone else has to do it, too.
Can we make that change the default? I don't see a big problem in using 64k or
128k instead of 32k of secure memory.
By the way, 16k of key size is ridiculous now, but it's going to be kind of
standard in the not so distant future. Or am I too paranoid? :)
Just trying to have a GnuPG key which is future-proof, also taking in
consideration the possible use of quantum computers in the future.

Sep 25 2014, 9:17 PM · Not A Bug, Debian, Bug Report, gnupg
werner removed a project from T1724: documentation fixes for 2.1.0: Bug Report.
Sep 25 2014, 8:51 PM · Feature Request, gnupg
werner lowered the priority of T1724: documentation fixes for 2.1.0 from Normal to Wishlist.
Sep 25 2014, 8:51 PM · Feature Request, gnupg
werner added a project to T1724: documentation fixes for 2.1.0: Feature Request.
Sep 25 2014, 8:51 PM · Feature Request, gnupg
werner added a project to T1732: Don't break existing keys larger than 4k: Not A Bug.
Sep 25 2014, 8:51 PM · Not A Bug, Debian, Bug Report, gnupg
werner added a comment to T1732: Don't break existing keys larger than 4k.

Sorry, there is a limit on the size of secret keys which depends on
several factors. We allow for way longer keys than can be generated
by gpg to take the fuzziness in account, but only up to some limit.
You are on your own if you want to use ridiculous long keys.

Hint: You may increase the size of the secure memory my changing the
line

    /* initialize the secure memory. */
    got_secmem=secmem_init( 32768 );

in g10/gpg.c. Use a larger value there and it will work.

Sep 25 2014, 8:51 PM · Not A Bug, Debian, Bug Report, gnupg
werner added a project to T1725: addkey asks for a separate new password for every subkey created: Not A Bug.
Sep 25 2014, 8:44 PM · Feature Request, Not A Bug, gnupg
werner added a comment to T1725: addkey asks for a separate new password for every subkey created.

Consider this a feature.

Sep 25 2014, 8:43 PM · Feature Request, Not A Bug, gnupg
werner closed T1725: addkey asks for a separate new password for every subkey created as Resolved.
Sep 25 2014, 8:43 PM · Feature Request, Not A Bug, gnupg
werner closed T1726: no status-fd message indicating current flags as Resolved.
Sep 25 2014, 8:43 PM · Feature Request, gnupg
werner added a comment to T1726: no status-fd message indicating current flags.

There are no starting values. Please use the source code.

Sep 25 2014, 8:43 PM · Feature Request, gnupg
werner added a project to T1726: no status-fd message indicating current flags: Not A Bug.
Sep 25 2014, 8:43 PM · Feature Request, gnupg
werner added a project to T1727: add a parameter to GOT_IT to communicate any errors: Not A Bug.
Sep 25 2014, 8:41 PM · Feature Request, Not A Bug, gnupg
werner added a comment to T1727: add a parameter to GOT_IT to communicate any errors.

Please read the docs and sample code (I suggest gpa and gpgme). GOT_IT
indicates that a line has been received in response to a GET_xxx status.

Sep 25 2014, 8:41 PM · Feature Request, Not A Bug, gnupg
werner added a comment to T1730: gpg should avoid a gpg-agent with a different homedir.

It does not unless you override it with GPG_AGETN_INFO.

Sep 25 2014, 8:39 PM · Feature Request, gnupg
werner added a project to T1730: gpg should avoid a gpg-agent with a different homedir: Not A Bug.
Sep 25 2014, 8:39 PM · Feature Request, gnupg
werner closed T1730: gpg should avoid a gpg-agent with a different homedir as Resolved.
Sep 25 2014, 8:39 PM · Feature Request, gnupg
werner added a comment to T1723: more precise wording in option lists.

Nope. We discussed this already at the ML.

Sep 25 2014, 8:36 PM · Won't Fix, gnupg, Feature Request
werner closed T1723: more precise wording in option lists as Resolved.
Sep 25 2014, 8:36 PM · Won't Fix, gnupg, Feature Request
werner added a project to T1723: more precise wording in option lists: Won't Fix.
Sep 25 2014, 8:36 PM · Won't Fix, gnupg, Feature Request
werner added a project to T1722: advertise the ? option in CLI: Won't Fix.
Sep 25 2014, 8:35 PM · Won't Fix, gnupg, Feature Request
werner added a comment to T1722: advertise the ? option in CLI.

Using a question mark on prompts is a common behaviour for at least 35 years.
Thus one can expect that.

Sep 25 2014, 8:35 PM · Won't Fix, gnupg, Feature Request
werner closed T1728: document parameters to GET_LINE et. al. as Resolved.
Sep 25 2014, 8:33 PM · Bug Report, Won't Fix, gnupg
werner added a comment to T1728: document parameters to GET_LINE et. al..

That is exactly the idea. Walk it through manually and you see what you need to
type. Adding docs bearks the risk that the docs is not in sync with the code
and thus we would need to run tests to make sure this is the case. The order of
the prompts depends on so many factors that a complete documentation si not
possible.

Sep 25 2014, 8:33 PM · Bug Report, Won't Fix, gnupg
werner added a project to T1728: document parameters to GET_LINE et. al.: Won't Fix.
Sep 25 2014, 8:33 PM · Bug Report, Won't Fix, gnupg
aheinecke added a comment to T1729: when upgrading to 2.1, should detect a <2.1 gpg-agent and respond appropriately.

This is a duplicate of T1718

Sep 25 2014, 6:14 PM · Duplicate, Bug Report, gnupg
aheinecke closed T1729: when upgrading to 2.1, should detect a <2.1 gpg-agent and respond appropriately as Resolved.
Sep 25 2014, 6:14 PM · Duplicate, Bug Report, gnupg
aheinecke added a project to T1729: when upgrading to 2.1, should detect a <2.1 gpg-agent and respond appropriately: Duplicate.
Sep 25 2014, 6:14 PM · Duplicate, Bug Report, gnupg
aheinecke added a comment to T1729: when upgrading to 2.1, should detect a <2.1 gpg-agent and respond appropriately.

Duplicate of T1718

Sep 25 2014, 6:14 PM · Duplicate, Bug Report, gnupg
ciaby added projects to T1732: Don't break existing keys larger than 4k: gnupg, Bug Report, Debian.
Sep 25 2014, 1:31 AM · Not A Bug, Debian, Bug Report, gnupg

Sep 24 2014

infinity0 added projects to T1731: improve batch mode to be more general-purpose: Feature Request, gnupg.
Sep 24 2014, 1:50 AM · gnupg, Feature Request
infinity0 set Version to 2.1.0 on T1731: improve batch mode to be more general-purpose.
Sep 24 2014, 1:50 AM · gnupg, Feature Request
infinity0 added a comment to T1720: more context in key-generation prompts.

The same applies for the key export prompt, too. Currently it says something
generic about "the key has no passphrase, please provide one to export".

Sep 24 2014, 1:48 AM · gnupg, Feature Request
infinity0 set Version to 2.1.0 on T1730: gpg should avoid a gpg-agent with a different homedir.
Sep 24 2014, 1:39 AM · Feature Request, gnupg
infinity0 added projects to T1730: gpg should avoid a gpg-agent with a different homedir: gnupg, Bug Report.
Sep 24 2014, 1:39 AM · Feature Request, gnupg
infinity0 set Version to 2.1.0 on T1729: when upgrading to 2.1, should detect a <2.1 gpg-agent and respond appropriately.
Sep 24 2014, 1:33 AM · Duplicate, Bug Report, gnupg
infinity0 added projects to T1729: when upgrading to 2.1, should detect a <2.1 gpg-agent and respond appropriately: gnupg, Bug Report.
Sep 24 2014, 1:33 AM · Duplicate, Bug Report, gnupg
infinity0 added projects to T1728: document parameters to GET_LINE et. al.: Feature Request, gnupg.
Sep 24 2014, 1:23 AM · Bug Report, Won't Fix, gnupg
infinity0 added projects to T1727: add a parameter to GOT_IT to communicate any errors: gnupg, Bug Report.
Sep 24 2014, 1:21 AM · Feature Request, Not A Bug, gnupg
infinity0 added projects to T1726: no status-fd message indicating current flags: gnupg, Bug Report.
Sep 24 2014, 1:15 AM · Feature Request, gnupg
infinity0 added projects to T1725: addkey asks for a separate new password for every subkey created: gnupg, Bug Report.
Sep 24 2014, 1:11 AM · Feature Request, Not A Bug, gnupg
infinity0 added projects to T1724: documentation fixes for 2.1.0: gnupg, Bug Report.
Sep 24 2014, 1:03 AM · Feature Request, gnupg
infinity0 added a comment to T1723: more precise wording in option lists.

(My suggested examples also have some visual similarity between actually similar
options.)

Sep 24 2014, 12:46 AM · Won't Fix, gnupg, Feature Request
infinity0 added projects to T1723: more precise wording in option lists: Feature Request, gnupg.
Sep 24 2014, 12:45 AM · Won't Fix, gnupg, Feature Request
infinity0 added projects to T1722: advertise the ? option in CLI: Feature Request, gnupg.
Sep 24 2014, 12:29 AM · Won't Fix, gnupg, Feature Request
infinity0 added projects to T1721: "go back" option in CLI: Feature Request, gnupg.
Sep 24 2014, 12:21 AM · gnupg, Feature Request
infinity0 added projects to T1720: more context in key-generation prompts: Feature Request, gnupg.
Sep 24 2014, 12:16 AM · gnupg, Feature Request

Sep 19 2014

aheinecke added a comment to T1718: Errors during 2.1 migration but gnupg reports migration succeeded..

Had a go at this myself. I've attached a patch that checks the gpg-agent version
before migration.

Output when an old version is found:

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!
gpg: starting migration from earlier GnuPG versions
gpg: error: GnuPG agent version "2.0.22" is too old.
gpg: Please start an updated GnuPG agent.
gpg: migration aborted

Output when gnome-keyring running around:

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!
gpg: starting migration from earlier GnuPG versions
gpg: WARNING: The GNOME keyring manager hijacked the GnuPG agent.
gpg: WARNING: GnuPG will not work properly - please configure that tool to not
interfere with the GnuPG system!
gpg: error: GnuPG agent unusable. Please check that a GnuPG agent can be started.
gpg: migration aborted
gpg: no default secret key: No secret key
gpg: signing failed: No secret key

The error message should also occur in case gpg-agent can not be started at all.
It happens when "GETINFO version" errors. So its generic.

Sep 19 2014, 7:47 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke added a comment to T1718: Errors during 2.1 migration but gnupg reports migration succeeded..

D252: 507_0001-Check-gpg-agent-version-before-2.1-migration.patch

Sep 19 2014, 7:47 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke updated subscribers of T1718: Errors during 2.1 migration but gnupg reports migration succeeded..
Sep 19 2014, 7:47 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke updated subscribers of T1718: Errors during 2.1 migration but gnupg reports migration succeeded..
Sep 19 2014, 3:51 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke set Version to 2.1.0-beta835 on T1718: Errors during 2.1 migration but gnupg reports migration succeeded..
Sep 19 2014, 3:51 PM · Bug Report, gnupg, gnupg (gpg21)
aheinecke added projects to T1718: Errors during 2.1 migration but gnupg reports migration succeeded.: gnupg (gpg21), gnupg, Bug Report.
Sep 19 2014, 3:51 PM · Bug Report, gnupg, gnupg (gpg21)

Sep 17 2014

werner added a project to T1243: gpgsm: export secret key p12 failed.: Too Old.
Sep 17 2014, 7:16 PM · Too Old, Bug Report, gnupg, pinentry, S/MIME
werner closed T1243: gpgsm: export secret key p12 failed. as Resolved.
Sep 17 2014, 7:16 PM · Too Old, Bug Report, gnupg, pinentry, S/MIME
werner removed a project from T945: GNUPG does not emit key-capabilities or expiration dates when --list-secret-keys is used without arguments: Stalled.
Sep 17 2014, 7:15 PM · Bug Report, gnupg
werner closed T945: GNUPG does not emit key-capabilities or expiration dates when --list-secret-keys is used without arguments as Resolved.
Sep 17 2014, 7:15 PM · Bug Report, gnupg
werner added a comment to T945: GNUPG does not emit key-capabilities or expiration dates when --list-secret-keys is used without arguments.

There are 2.1 beta versions which support this.

Sep 17 2014, 7:15 PM · Bug Report, gnupg
werner removed a project from T1389: [PATCH] Feature request: enable --show-session-key on a truncated encrypted file: Restricted Project.
Sep 17 2014, 7:10 PM · Feature Request, gnupg
werner closed T1389: [PATCH] Feature request: enable --show-session-key on a truncated encrypted file as Resolved.
Sep 17 2014, 7:10 PM · Feature Request, gnupg
werner added a comment to T1611: gpg should use main key-id when talking to gpg-agent.

What I implemented now is a simple one item cache for the last used passphrase.
This works in all standard cases. Trying more keys is not possible because
unprotecting a key introduces a delay to help against dictionary attacks.

Sep 17 2014, 7:07 PM · Feature Request, gnupg
werner added a project to T1611: gpg should use main key-id when talking to gpg-agent: Restricted Project.
Sep 17 2014, 7:07 PM · Feature Request, gnupg
werner closed T1612: Add "gpg --keygrip keyid" that prints all keygrips as Resolved.
Sep 17 2014, 7:04 PM · gnupg, Feature Request
werner closed T1492: 2.1.0-beta does not yet support --delete-secret-keys as Resolved.
Sep 17 2014, 7:03 PM · gnupg, gnupg (gpg21), Feature Request
werner added a comment to T1492: 2.1.0-beta does not yet support --delete-secret-keys.

Meanwhile done.

Sep 17 2014, 7:03 PM · gnupg, gnupg (gpg21), Feature Request
werner added a project to T1428: --fingerprint and --with-fingerprint create slightly different results: gnupg (gpg21).
Sep 17 2014, 7:00 PM · gnupg (gpg21), Debian, Bug Report, gnupg
werner lowered the priority of T1561: configure: --with-libgpg-error-prefix doesn't impact includes from Normal to Wishlist.
Sep 17 2014, 6:58 PM · Feature Request, In Progress, gnupg
werner removed a project from T1561: configure: --with-libgpg-error-prefix doesn't impact includes: Bug Report.
Sep 17 2014, 6:58 PM · Feature Request, In Progress, gnupg
werner added a project to T1561: configure: --with-libgpg-error-prefix doesn't impact includes: Feature Request.
Sep 17 2014, 6:58 PM · Feature Request, In Progress, gnupg
werner closed T1666: hijack warning as Resolved.
Sep 17 2014, 6:57 PM · Bug Report, Not A Bug, gnupg
werner added projects to T1715: warn when primary key expiration updated without encryption-capable subkey: In Progress, backport.
Sep 17 2014, 4:30 PM · backport, Bug Report, gnupg
werner added a comment to T1715: warn when primary key expiration updated without encryption-capable subkey.

Done with commit ae3d1bb. It works by checking whether the latest encryption
subkeys expires in less then 10 days. Should be backported to 2.0.

Sep 17 2014, 4:30 PM · backport, Bug Report, gnupg
werner added a comment to T1716: Retrieving a key with --recv-key should verify the received key matches the key ID..

No, he can't. The data received from a keyserver is by defintion unreliable.
It may be any kind of trash. gpg takes care of ensuring that the data (i.e. the
keys) are consistent.

There has been a long and heated debate over this recently on whether the
additional check introduced with 1.4.18 is at all useful. In any case what you
requested is in all recent versions of gpg. I thus close this bug.

Sep 17 2014, 3:19 PM · Bug Report, gnupg, gnupg (gpg14), Not A Bug
werner added a project to T1716: Retrieving a key with --recv-key should verify the received key matches the key ID.: Not A Bug.
Sep 17 2014, 3:19 PM · Bug Report, gnupg, gnupg (gpg14), Not A Bug
werner closed T1716: Retrieving a key with --recv-key should verify the received key matches the key ID. as Resolved.
Sep 17 2014, 3:19 PM · Bug Report, gnupg, gnupg (gpg14), Not A Bug