| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* g10/keygen.c (gen_elg): Enforce keysize 1024 to 4096.
(gen_rsa): Enforce keysize 1024 to 4096.
(gen_dsa): Enforce keysize 768 to 3072.
--
It was possible to create 16k RSA keys in batch mode. In addition to the
silliness of such keys, they have the major drawback that under GnuPG
and Libgcrypt, with their limited amount of specially secured memory
areas, the use of such keys may lead to an "out of secure memory"
condition.
|
|
|
|
|
|
|
|
|
|
|
| |
* g10/keygen.c (ask_expire_interval): Get the current time after the
prompt.
--
This almost avoid that an entered full ISO timestamp is not used as
given but off by the time the user required to enter the timestamp.
GnuPG-bug-id: 1639
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* g10/misc.c (openpgp_pk_algo_name): New. Replace all calls in g10/
to gcry_pk_algo_name by a call to this function.
(map_pk_openpgp_to_gcry): Map algo PUBKEY_ALGO_ELGAMAL_E to GCRY_PK_ELG.
(openpgp_pk_test_algo): Use PUBKEY_ALGO_ELGAMAL_E instead of
GCRY_PK_ELG_E. Return an error for ECC algos.
(openpgp_pk_test_algo2): Return an error for ECC algos.
* g10/gpg.c (build_list): Avoid printing ECC two times.
* include/cipher.h: Do not use GCRY_PK_* macros for PUBKEY_ALGO_*.
--
Due to recent changes to adjust for use with Libgcrypt 1.6, "gpg
--version" printed two question marks. This patches fixes that and
also make sure that gpg does advertise any ECC features. The patch in
build_list is not really needed.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
| |
* g10/keygen.c (do_add_key_flags): Do not check for empty key flags.
(cherry picked from commit b693ec02c467696bf9d7324dd081e279f9965151)
|
|
|
|
| |
--
|
|
|
|
|
|
|
| |
* g10/keygen.c (gen_elg, gen_dsa, gen_rsa): Set default keysize to
2048.
Signed-off-by: Werner Koch <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Note that msgmerge 0.17 is completely broken as it always
prepends a fuzzy null entry to all po files.
|
| |
|
|
|
|
|
|
| |
Doc fixes.
Replace assert by error message.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Improved card key generation prompts.
|
|
|
|
|
|
| |
Add some not yet code to app-nks.c
Changed batch mode expiration time computation
|
|
|
|
|
|
| |
Cleanups.
Allow utf-8 in email addresses.
|
|
|
|
|
| |
Fix SIG_ID computation.
|
|
|
|
|
|
| |
Add trustdb chnages from 1.4.
Check algo usage for batch key generation.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Other minor buf fixes.
|
|
|
|
|
| |
Reveal less information about timings while generating a key.
|
|
|
|
|
| |
Removed intl/.
|
|
|
|
|
|
|
|
|
|
| |
g10/
* passphrase.c (passphrase_get): Set the cancel flag on all error
from the agent. Fixes a bug reported by Tom Duerbusch.
sm/
* gpgsm.c (main): Let --gen-key print a more informative error
message.
|
|
|
|
|
|
|
|
| |
reading even for corrupted packets.
* keygen.c (generate_user_id): Need to allocate one byte more.
Reported by Felix von Leitner.
|
| |
|
| |
|
|
|
|
|
|
|
| |
good chance that gpg2 will now work.
Other cleanups.
Updated gettext.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Migrated the gpg regression tests.
Some changes tp the gpg code to fix bugs and
for the use in testing.
make distcheck works now with gpg enabled.
|
|
|
|
|
| |
shows no prblems. Needs more testing of course.
|
| |
|
| |
|
|
|
|
|
| |
At least the keyids are now correctly computed again.
|
| |
|
| |
|
|
|
|
|
| |
Still does not build.
|
|
|
|
|
| |
The gpg part does not yet build.
|
|
|
|
|
|
|
|
| |
* keygen.c (do_generate_keypair): Don't try to execute certain pieces of code
in case an error occured.
(gen_card_key): Don't print out a message, which is already
printed by do_generate_keypair().
|
|
|
|
|
|
| |
* keygen.c (do_generate_keypair): Print member fname, instead of
newfname, again.
|
|
|
|
|
|
| |
* keygen.c (do_generate_keypair): Print member fname, instead of
newfname.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
structure, so that it can indeed be updated.
* card-util.c (fpr_is_zero): New.
(generate_card_keys): New.
(card_edit): New command "generate".
* keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call
to check_smartcard.
(check_smartcard,show_smartcard): Removed.
(show_sha1_fpr,fpr_is_zero): Removed.
* app-openpgp.c (do_getattr): Support SERIALNO and AID.
|