aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * build-packet.c (build_sig_subpkt): Handle setting sig flags for certainDavid Shaw2002-05-281-0/+34
| | | | | | | | | | subpacket types (notation, policy url, exportable, revocable). keyedit.c (sign_mk_attrib): Flags no longer need to be set here. * packet.h, parse-packet.c (parse_one_sig_subpkt), build-packet.c (build_sig_subpkt): Call parse_one_sig_subpkt to sanity check buffer lengths before building a sig subpacket.
* * main.h, keygen.c (keygen_add_revkey): Add revocation key subpackets to aDavid Shaw2002-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | signature (callable by make_keysig_packet). (write_direct_sig): Write a 1F direct key signature. (parse_revocation_key): Parse a string in algo:fpr:sensitive format into a revocation key. (get_parameter_revkey, do_generate_keypair): Call above functions when prompted from a batch key generation file. * build-packet.c (build_sig_subpkt): Allow multiple revocation key subpackets in a single sig. * keydb.h, getkey.c (get_seckey_byfprint): Same as get_pubkey_byfprint, except for secret keys. We only know the fingerprint of a revocation key, so this is needed to retrieve the secret key needed to issue a revokation. * packet.h, parse-packet.c (parse_signature, parse_revkeys): Split revkey parsing off into a new function that can be used to reparse after manipulating the revkey list. * sign.c (make_keysig_packet): Ability to make 1F direct key signatures.
* * export.c (do_export_stream): Warn the user when exporting a secret keyDavid Shaw2002-05-071-1/+1
| | | | | | | | | | | | | if it or any of its secret subkeys are protected with SHA1 while simple_sk_checksum is set. * parse-packet.c (parse_key): Show when the SHA1 protection is used in --list-packets. * options.h, build-packet.c (do_comment), g10.c (main): Rename --no-comment as --sk-comments/--no-sk-comments (--no-comment still works) and make the default be --no-sk-comments.
* Allow multiple policy URLs on a given signature.David Shaw2002-05-021-0/+1
| | | | | | | Split "--notation-data" into "--cert-notation" and "--sig-notation" so the user can set different policies for key and data signing. For backwards compatibility, "--notation-data" sets both, as before.
* Added a copyright year for files changed this year.Werner Koch2002-04-291-1/+1
|
* * parse-packet.c (parse_key): Support a SHA1 checksum as perWerner Koch2002-04-171-1/+1
| | | | | | | | | | draft-rfc2440-bis04. * packet.h (PKT_secret_key): Add field sha1chk. * seckey-cert.c (do_check): Check the SHA1 checksum (protect_secret_key): And create it. * build-packet.c (do_secret_key): Mark it as sha-1 protected. * g10.c, options.h: New option --simple-sk-checksum.
* * build-packet.c (build_sig_subpkt): Delete subpackets from both hashedDavid Shaw2002-04-121-89/+13
| | | | | | | | | | | | | and unhashed area on update. (find_subpkt): No longer needed. * keyedit.c (sign_uids): With --pgp2 on, refuse to sign a v3 key with a v4 signature. As usual, --expert overrides. Try to tweak some strings to a closer match so they can all be translated in one place. Use different helptext keys to allow different help text for different questions. * keygen.c (keygen_upd_std_prefs): Remove preferences from both hashed and unhashed areas if they are not going to be used.
* fix off-by-one in building attribute subpacketsDavid Shaw2002-01-061-1/+1
| | | | | | | | | | change default compression to 1 add ask-sig-expire and ask-cert-expire (--expert was getting absurdly overloaded) permit v3 subkeys use --expert to protect adding multiple photo ids and adding photos to a v3 key
* * keyserver.c (keyserver_spawn): Removed some variablesWerner Koch2001-12-221-11/+11
| | | | | | | | | | | | declaration due to shadowing warnings. * build-packet.c (build_attribute_subpkt): s/index/idx/ to avoid compiler warnig due to index(3). * getkey.c (get_ctx_handle): Use KEYDB_HANDLE as return value. * keylist.c (list_one): Made resname const. * keyedit.c (keyedit_menu): Allow "addphoto" only when --openpgp is not used. * options.skel: Changed one example photo viewer to qiv.
* Photo ID support (actually generic "attribute packet" support, but thereDavid Shaw2001-12-211-7/+53
| | | | | is only one attribute packet defined thus far, and it's a picture)
* Nonrevocable key signature support via "nrsign". These sigs can expire,David Shaw2001-12-211-0/+5
| | | | | but cannot be revoked. Any revocation certificates for them are ignored.
* Sig expiration codeDavid Shaw2001-12-071-0/+12
| | | | | | | Offer to expire a key signature when the key the user is signing expires Expired sigs cause an error return If --expert is set, prompt for sig duration
* fixes for the 1.0.6b bugs David recently posted to gnupg-devel.Werner Koch2001-11-081-5/+34
|
* Minor fixesWerner Koch2001-10-221-14/+7
|
* Changed signature status cacheWerner Koch2001-09-251-1/+1
|
* MDC feature support and other stuffWerner Koch2001-08-301-0/+2
|
* Added RSA key generationWerner Koch2001-08-141-0/+1
|
* fixed silly allocation bugWerner Koch2001-08-091-1/+2
|
* Added a way to update preferencesWerner Koch2001-08-091-0/+3
|
* reworked the way hased data is stored and added a "primary" commandWerner Koch2001-08-091-119/+103
| | | | | DCVS: ----------------------------------------------------------------------
* migration to autoconf 2.52 and bugfixesWerner Koch2001-07-261-1/+10
|
* Fixed bug with v3 secret keys and expiration timeWerner Koch2001-04-241-1/+1
|
* Improved pipemode and tweaked handling of multiple signatures.Werner Koch2001-04-051-2/+2
|
* The "Samba" bug fixes :-)Werner Koch2001-03-221-1/+1
|
* Changed and added copyright noticesWerner Koch2001-03-081-1/+1
|
* Add self-signature verification cachingWerner Koch2001-03-051-6/+90
|
* See ChangeLog: Mon Jun 5 12:37:43 CEST 2000 Werner KochWerner Koch2000-06-051-1/+16
|
* See ChangeLog: Fri May 12 14:01:20 CEST 2000 Werner KochWerner Koch2000-05-121-1/+1
|
* See ChangeLog: Thu Feb 17 13:39:32 CET 2000 Werner KochWerner Koch2000-02-171-1/+1
|
* See ChangeLog: Tue Feb 15 08:48:13 CET 2000 Werner KochWerner Koch2000-02-151-1/+1
|
* See ChangeLog: Fri Jan 14 18:32:01 CET 2000 Werner KochWerner Koch2000-01-141-4/+15
|
* See ChangeLog: Fri Nov 12 20:33:19 CET 1999 Werner KochWerner Koch1999-11-121-8/+22
|
* See ChangeLog: Thu Jul 8 16:21:27 CEST 1999 Werner KochWerner Koch1999-07-081-0/+1
|
* See ChangeLog: Mon May 31 19:41:10 CEST 1999 Werner KochWerner Koch1999-05-311-2/+0
|
* See ChangeLog: Wed May 26 14:36:29 CEST 1999 Werner KochWerner Koch1999-05-261-13/+43
|
* See ChangeLog: Tue May 25 19:50:32 CEST 1999 Werner KochWerner Koch1999-05-251-0/+1
|
* See ChangeLog: Mon May 17 21:54:43 CEST 1999 Werner KochWerner Koch1999-05-171-2/+26
|
* See ChangeLog: Sat May 8 19:28:33 CEST 1999 Werner KochWerner Koch1999-05-081-15/+8
|
* See ChangeLog: Thu May 6 14:18:17 CEST 1999 Werner KochWerner Koch1999-05-061-28/+32
|
* See ChangeLog: Mon Apr 26 17:48:15 CEST 1999 Werner KochWerner Koch1999-04-261-3/+9
|
* See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1999-04-181-2/+2
|
* See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1999-04-061-0/+34
|
* See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner KochWerner Koch1999-03-111-1/+1
|
* See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1999-02-161-11/+11
|
* See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner KochWerner Koch1999-01-091-1/+1
|
* See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1998-12-231-3/+3
|
* Snapshot release 0.4.2V0-4-2Werner Koch1998-10-181-1/+1
|
* last local commitWerner Koch1998-10-161-4/+16
|
* *** empty log message ***Werner Koch1998-09-111-9/+27
|
* bug fix releaseV0-3-4Werner Koch1998-08-111-1/+2
|