Werner Koch
bfbd80feb9
Exporting secret keys via gpg-agent is now basically supported.
...
A couple of forward ported changes.
Doc updates.
2010-10-01 20:33:53 +00:00
Werner Koch
a0b9ebfb7d
Even less prompts for a new key now.
2010-09-01 12:49:05 +00:00
Werner Koch
9a9b3da58f
Use passphrase caching for import and genkey.
2010-09-01 09:48:35 +00:00
Werner Koch
31bbe71ad6
Fix preference setting in new keys
2010-04-26 11:53:14 +00:00
Werner Koch
a1412b05de
More changes on the way to remove secring.gpg.
2010-04-21 16:26:17 +00:00
Werner Koch
21b0a955be
Generating an OpenPGP key cia gpg-agent basically works.
2010-04-20 17:57:50 +00:00
Werner Koch
53c636c4c6
./autogen.sh --build-w32ce does now succeed.
2010-04-14 14:39:16 +00:00
Werner Koch
f3839fe81d
Use gpg_err_set_errno to assign values to ERRNO.
2010-04-01 13:24:55 +00:00
Werner Koch
40a78fab0c
Use macros for iobuf ioctls.
2010-03-08 17:05:37 +00:00
Werner Koch
1b7c791186
Fix bug#1186.
2010-02-17 10:23:42 +00:00
Werner Koch
be45bf3d54
Add dummu option --passwd for gpg.
...
Collected changes.
2010-01-08 19:18:49 +00:00
Werner Koch
49b00ffd67
allow for default algorithms in a gpg parameter file
2009-12-04 19:47:54 +00:00
Werner Koch
cf2ec5673f
Add gpgconf related dummy options default_pubkey_algo.
...
Add option --skip-hidden-recipients
Comment updates.
2009-11-23 19:18:04 +00:00
Werner Koch
35ab964c86
Fix bug#1122.
...
Note that msgmerge 0.17 is completely broken as it always
prepends a fuzzy null entry to all po files.
2009-09-03 20:51:55 +00:00
Werner Koch
830dae2873
Print status of CRL checks in the audit log.
2009-07-23 15:18:58 +00:00
Werner Koch
7ae15f0027
Fix bug 1091.
...
Doc fixes.
Replace assert by error message.
2009-07-20 11:02:20 +00:00
Werner Koch
e50cac1d84
Changed default hash algorithm preferences
2009-07-09 08:52:31 +00:00
Werner Koch
556d4ed983
Allow generation of DSA2 keys without --enable-dsa2.
2009-05-20 09:57:10 +00:00
Werner Koch
ad6326185e
Fix bug#1056.
2009-05-20 09:08:48 +00:00
Werner Koch
f61e15670a
Changed default algo and size.
2009-05-17 13:08:18 +00:00
Werner Koch
c4e92c3344
Made card key generate with backup key work for 2048 bit.
...
Improved card key generation prompts.
2009-05-15 19:26:46 +00:00
Werner Koch
a766a37290
Print keyid in gpg --list-packets.
...
Add some not yet code to app-nks.c
Changed batch mode expiration time computation
2009-05-13 11:42:34 +00:00
Werner Koch
82ab848ea4
Update spanish translation.
...
Cleanups.
Allow utf-8 in email addresses.
2009-01-08 15:48:51 +00:00
Werner Koch
6558568912
Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.
...
Fix SIG_ID computation.
2008-12-11 17:44:52 +00:00
Werner Koch
9874c62a10
Flush keyserver search output.
...
Add trustdb chnages from 1.4.
Check algo usage for batch key generation.
2008-12-09 10:46:29 +00:00
Werner Koch
0a5f742466
Marked all unused args on non-W32 platforms.
2008-10-20 13:53:23 +00:00
Werner Koch
ac5c3fab30
Cehck for expire date overflows.
2008-08-11 08:08:08 +00:00
Werner Koch
aa68a60301
Add controlo statement %ask-passphrase
2008-06-16 15:48:33 +00:00
Werner Koch
49b2db7636
Changes the header presented before requesting the user ID.
2008-06-01 19:44:05 +00:00
Werner Koch
8c20500a5d
Allow configuraton of pinentry tooltip.
...
Other minor buf fixes.
2007-12-04 11:23:31 +00:00
Werner Koch
4631bc8ddf
Fixed card key generation of gpg2.
...
Reveal less information about timings while generating a key.
2007-07-05 16:58:19 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
Werner Koch
b861561e47
Included LIBICONV in all Makefiles.
...
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.
2007-01-31 14:24:41 +00:00
Werner Koch
006c5af165
* parse-packet.c (read_protected_v3_mpi): Make sure to stop
...
reading even for corrupted packets.
* keygen.c (generate_user_id): Need to allocate one byte more.
Reported by Felix von Leitner.
2007-01-15 19:31:24 +00:00
Werner Koch
0173cd5a98
Fixes for CVE-2006-6235
2006-12-06 10:16:50 +00:00
Werner Koch
13e646d938
Final fix which should now pass all tests.
2006-11-21 19:33:04 +00:00
Werner Koch
e50c5f39cc
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
...
good chance that gpg2 will now work.
Other cleanups.
Updated gettext.
2006-11-21 11:00:14 +00:00
Werner Koch
df52700f5c
Fixes
2006-10-19 14:22:06 +00:00
Werner Koch
03d3322e5f
Take advantage of newer gpg-error features.
2006-09-14 16:50:33 +00:00
Werner Koch
0ebd23fa76
Migrated more stuff to doc/
...
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.
2006-08-21 20:20:23 +00:00
Werner Koch
b744f963d7
With --enable-gpg the keyservers are now build and a first test using gpg2
...
shows no prblems. Needs more testing of course.
2006-08-16 10:47:53 +00:00
Werner Koch
6c208fea32
A couple of fixes. gpg2's key generation does now work.
2006-06-30 09:42:08 +00:00
Werner Koch
f081ad529d
Ported patches from 1.4.x
2006-06-27 14:30:59 +00:00
Werner Koch
b61df862a7
Still making gpg2 work.
...
At least the keyids are now correctly computed again.
2006-05-24 11:12:28 +00:00
Werner Koch
fbe4ac37f6
g10/ does build again.
2006-05-23 16:19:43 +00:00
Werner Koch
00ffc478de
Merged recent changes from 1.4
2006-04-28 14:31:29 +00:00
Werner Koch
d0907e64f4
Continued with merging.
...
Still does not build.
2006-04-19 13:24:36 +00:00
Werner Koch
29b23dea97
Merged with gpg 1.4.3 code.
...
The gpg part does not yet build.
2006-04-19 11:26:11 +00:00
Moritz Schulte
af41684669
2004-01-19 Moritz Schulte <mo@g10code.com>
...
* 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().
2004-01-19 01:48:17 +00:00
Moritz Schulte
7739d95804
2004-01-19 Moritz Schulte <mo@g10code.com>
...
* keygen.c (do_generate_keypair): Print member fname, instead of
newfname, again.
2004-01-19 01:07:46 +00:00
Moritz Schulte
36cbfed6fc
2004-01-18 Moritz Schulte <mo@g10code.com>
...
* keygen.c (do_generate_keypair): Print member fname, instead of
newfname.
2004-01-18 22:48:49 +00:00
Werner Koch
30342b06ef
* call-agent.c (agent_scd_getattr): Don't clear the passed info
...
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.
2003-10-08 10:46:58 +00:00
Werner Koch
4c66e94ff9
Merged most of David Shaw's changes in 1.3 since 2003-06-03.
2003-09-23 17:48:33 +00:00
Werner Koch
918eee7195
* g10.c: New command --card-edit.
...
* card-util.c (card_status): Use tty_fprintf for all output.
(print_sha1_fpr, print_isoname): Ditto.
(get_one_name,change_name, change_url, change_login,change_lang)
(change_sex): New; taken from keygen.c.
* keygen.c (smartcard_get_one_name, smartcard_change_name)
(smartcard_change_url, smartcard_change_login_data)
(smartcard_change_lang, smartcard_change_sex): Removed.
(check_smartcard): Removed most menu items.
2003-09-18 15:51:18 +00:00
Werner Koch
be034cf34c
* configure.ac: Required newer versions of some libraries.
...
* misc.c (openpgp_pk_algo_usage): Allow AUTH where SIGN is allowed.
* keygen.c (ask_passphrase): No need to allocated S2K in secure
memory.
* scdaemon.c (main): --pcsc-driver again defaults to pcsclite.
David Corcoran was so kind to remove the GPL incompatible
advertisng clause from pcsclite.
* apdu.c (apdu_open_reader): Actually make pcsc-driver option work.
2003-09-06 13:23:48 +00:00
Werner Koch
3598504854
* keygen.c (do_add_key_flags, parse_parameter_usage)
...
(do_generate_keypair): Add support the proposed AUTH key flag.
* getkey.c (fixup_uidnode, merge_selfsigs_main)
(merge_selfsigs_subkey, premerge_public_with_secret): Ditto.
* keylist.c (print_capabilities): Ditto.
2003-09-05 07:40:18 +00:00
Werner Koch
936250aac9
* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.
...
* scdaemon.c, scdaemon.h: New option --pcsc-ccid.
* ccid-driver.c, ccid-driver.h: New but far from being useful.
* Makefile.am: Add above.
* apdu.c: Add support for that ccid driver.
2003-09-02 19:06:34 +00:00
Werner Koch
6f7ed05900
* gpgsm.c (main): Add secmem features and set the random seed file.
...
(gpgsm_exit): Update the random seed file and enable debug output.
* g10.c (main): Add secmem features and set the random seed file.
(g10_exit): Update the random seed file.
* parse-packet.c (parse_signature,read_protected_v3_mpi)
(parse_key): Fixed use of mpi_set_opaque.
* keygen.c (gen_card_key): Ditto.
2003-07-29 08:53:19 +00:00
Werner Koch
0fe6a1287f
* g10.c: New command --card-status.
...
* card-util.c (card_status): New.
* call-agent.c (learn_status_cb): Parse more information.
* keylist.c (print_pubkey_info): Add FP arg for optinal printing
to a stream. Changed all callers.
2003-07-24 09:06:43 +00:00
Werner Koch
44f4303bcf
* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
...
(do_generate_keypair): Abd generate the authkey.
(check_smartcard): Changed menu accordingly.
2003-07-23 07:11:06 +00:00
Werner Koch
4622a2180d
* export.c (parse_export_options): New option sexp-format.
...
(export_seckeys,export_secsubkeys): Check sexp-format option.
(do_export): Ignore armor for sexp format.
(do_export_stream): Handle sexp-format.
(write_sexp_line,write_sexp_keyparm, build_sexp_seckey): New.
(build_sexp): New.
2003-07-16 13:45:15 +00:00
Werner Koch
1753a2f3b0
* options.h (DBG_CIPHER): Reintroduced it.
...
* seskey.c (encode_session_key): Debug output of the session key.
* pubkey-enc.c (get_it): Handle card case.
* call-agent.c (agent_scd_pkdecrypt): New.
* pkglue.c (pk_encrypt): Add RSA support.
* g10.c (main): Default to --use-agent.
* keygen.c (show_smartcard): Print info about the public key.
(check_smartcard): Check for existing key here.
(gen_card_key): And not anymore here.
(fpr_is_zero): New.
(generate_keypair): Generate both keys for a card.
(smartcard_change_url): Nw.
2003-07-03 18:08:16 +00:00
Werner Koch
39046ea7ec
* app-openpgp.c (store_fpr): Fixed fingerprint calculation.
...
* keygen.c (gen_card_key): Obviously we should use the creation
date received from SCDAEMON, so that the fingerprints will match.
* sign.c (do_sign): Pass the serialno to the sign code.
* keyid.c (serialno_and_fpr_from_sk): New.
2003-07-01 08:34:45 +00:00
Werner Koch
5c46f134e2
Key generation and signing using the OpenPGP card does rudimentary work.
2003-06-27 20:53:09 +00:00
Werner Koch
c0c2c58054
Finished the bulk of changes for gnupg 1.9. This included switching
...
to libgcrypt functions, using shared error codes from libgpg-error,
replacing the old functions we used to have in ../util by those in
../jnlib and ../common, renaming the malloc functions and a couple of
types. Note, that not all changes are listed below becuause they are
too similar and done at far too many places. As of today the code
builds using the current libgcrypt from CVS but it is very unlikely
that it actually works.
2003-06-18 19:56:13 +00:00
Repo Admin
7250331472
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2003-06-05 07:14:21 +00:00
Repo Admin
82a17c9fb3
This commit was manufactured by cvs2svn to create branch
...
'GNUPG-1-9-BRANCH'.
2002-10-19 07:55:27 +00:00
Werner Koch
e5f14f15da
* keygen.c (print_status_key_created): New.
...
(do_generate_keypair): Use it to print the fingerprint.
(generate_subkeypair): Likewise.
2002-10-12 11:47:40 +00:00
Werner Koch
c5445cc323
* g10.c, options.h: Removed option --emulate-checksum-bug.
...
* misc.c (checksum_u16_nobug): Removed.
(checksum_u16): Removed the bug emulation.
(checksum_mpi): Ditto.
(checksum_mpi_counted_nbits): Removed and replaced all calls
with checksum_mpi.
* parse-packet.c (read_protected_v3_mpi): New.
(parse_key): Use it here to store it as an opaque MPI.
* seckey-cert.c (do_check): Changed the v3 unprotection to the new
why to store these keys.
(protect_secret_key): Likewise.
* build-packet.c (do_secret_key): And changed the writing.
2002-09-11 07:27:54 +00:00
David Shaw
3f51f7db3d
Update head to match stable 1.0
2002-06-29 13:46:34 +00:00
Werner Koch
986649bea0
Some configuration changes
2000-11-14 16:04:16 +00:00
Werner Koch
c287a8d05b
Add features packet and fixes MIPS3.
2000-10-11 17:26:49 +00:00
Werner Koch
5a9ea8ff5c
Changed keyring handling - saving still does not work.
...
Added new cipher mode and updated cipher test program.
2000-10-10 12:58:43 +00:00
Werner Koch
14974bc5d7
See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner Koch
2000-10-06 12:28:44 +00:00
Werner Koch
9c20f65cbe
See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch
2000-10-04 11:16:19 +00:00
Werner Koch
986d928ce2
See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch
2000-09-18 14:35:34 +00:00
Werner Koch
7a8c8b4826
See ChangeLog: Mon Jul 31 10:04:47 CEST 2000 Werner Koch
2000-07-31 08:04:16 +00:00
Werner Koch
d81c3f733b
See ChangeLog: Fri Jul 28 18:19:11 CEST 2000 Werner Koch
2000-07-28 16:19:07 +00:00
Werner Koch
b872ea2577
See ChangeLog: Tue Jul 25 17:44:15 CEST 2000 Werner Koch
2000-07-25 15:38:12 +00:00
Werner Koch
92cd255508
See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch
2000-07-14 17:34:53 +00:00
Werner Koch
100fc8da59
See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner Koch
2000-01-31 15:27:03 +00:00
Werner Koch
baa30ad117
See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch
2000-01-27 16:50:45 +00:00
Werner Koch
db43afc923
See ChangeLog: Mon Jan 24 22:24:38 CET 2000 Werner Koch
2000-01-24 21:14:42 +00:00
Werner Koch
0070faa0ff
See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch
2000-01-24 11:55:49 +00:00
Werner Koch
ed0b0e09d3
See ChangeLog: Fri Dec 31 12:48:31 CET 1999 Werner Koch
1999-12-31 11:44:29 +00:00
Werner Koch
4555c0be94
See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner Koch
1999-12-08 21:03:03 +00:00
Werner Koch
881e513237
See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner Koch
1999-11-13 16:43:23 +00:00
Werner Koch
cf70ca8d68
See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner Koch
1999-10-26 12:14:37 +00:00
Werner Koch
0428ca6da6
See ChangeLog: Wed Sep 1 15:30:44 CEST 1999 Werner Koch
1999-09-01 13:40:07 +00:00
Werner Koch
bd7298cf0d
See ChangeLog: Wed Jul 7 13:23:40 CEST 1999 Werner Koch
1999-07-07 11:28:26 +00:00
Werner Koch
28eb86c006
See ChangeLog: Thu Jul 1 12:47:31 CEST 1999 Werner Koch
1999-07-01 10:53:35 +00:00
Werner Koch
1423b4239b
See ChangeLog: Wed Jun 16 20:16:21 CEST 1999 Werner Koch
1999-06-16 18:25:37 +00:00
Werner Koch
9f40263e56
See ChangeLog: Wed Apr 7 20:51:39 CEST 1999 Werner Koch
1999-04-07 18:58:34 +00:00
Werner Koch
dafcce0177
See ChangeLog: Sun Mar 14 19:34:36 CET 1999 Werner Koch
1999-03-14 18:35:18 +00:00
Werner Koch
20bb42bfe7
See ChangeLog: Tue Mar 2 16:44:57 CET 1999 Werner Koch
1999-03-02 15:48:37 +00:00
Werner Koch
0f5bb383b5
See ChangeLog: Sun Feb 28 19:11:00 CET 1999 Werner Koch
1999-02-28 18:14:18 +00:00
Werner Koch
e1a1b3fc90
See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner Koch
1999-02-16 13:16:33 +00:00
Werner Koch
9a4f506a18
See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner Koch
1999-02-10 16:22:40 +00:00
Werner Koch
ce650acf1f
See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner Koch
1999-01-19 18:37:41 +00:00
Werner Koch
62957ff4e7
See ChangeLog: Tue Jan 12 11:17:18 CET 1999 Werner Koch
1999-01-12 10:20:24 +00:00