aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * pkclist.c (check_signatures_trust): Always print the warning forWerner Koch2002-02-141-0/+3
| | | | | | | | unknown and undefined trust. Removed the did_add cruft. Reported by Janusz A. Urbanowicz. * g10.c: New option --no-use-agent. Hmmm, is this a a good name? --do-not-use-agent seems a bit to long.
* For --sig-policy-url and --cert-policy-url, clarify what is a sig and whatDavid Shaw2002-02-101-0/+22
| | | | | | | | | | | | | | | | | | | | | | is a cert. A sig has sigclass 0x00, 0x01, 0x02, or 0x40, and everything else is a cert. Add a "nrlsign" for nonrevocable and local key signatures. Add a --no-force-mdc to undo --force-mdc. Add a knob to force --disable-mdc/--no-disable-mdc. Off by default, of course, but is used in --pgp2 and --pgp6 modes. Allow specifying multiple users in the "Enter the user ID" loop. Enter a blank line to stop. Show each key+id as it is added. It is not illegal (though possibly silly) to have multiple policy URLs in a given signature, so print all that are present. More efficient implementation of URL-ifying code for --search on an HKP keyserver.
* Split "--set-policy-url" into "--cert-policy-url" and "--sig-policy-url"David Shaw2002-02-031-4/+14
| | | | | | so the user can set different policies for key and data signing. For backwards compatibility, "--set-policy-url" sets both, as before.
* * g10.c (main): --gen-random --armor does now output a base64Werner Koch2002-01-301-2/+18
| | | | | encoded string.
* --pgp6 flag. This is not nearly as involved as --pgp2. In short, itDavid Shaw2002-01-291-50/+71
| | | | | | | | turns off force_mdc, turns on no_comment, escape_from, and force_v3_sigs, and sets compression to 1. It also restricts the user to IDEA (if present), 3DES, CAST5, MD5, SHA1, and RIPEMD160. See the comments above algo_available() for lots of discussion on why you would want to do this.
* * g10.c, options.h: New option --gpg-agent-infoWerner Koch2002-01-261-0/+3
| | | | | | | | * passphrase.c (agent_open): Let it override the environment info. * seckey-cert.c (check_secret_key): Always try 3 times when the agent is enabled. * options.skel: Describe --use-agent.
* Some compatibility polish for PGP2. Add a fake IDEA preference for v3David Shaw2002-01-221-3/+3
| | | | | | | | keys (this is in the RFC), so that they can be (sometimes) used along OpenPGP keys. Do not force using IDEA on an OpenPGP key, as this may violate its prefs. Also, revise the help text for the sig class explanation.
* New command --decrypt-files.Timo Schulz2002-01-151-1/+7
| | | | | Some fixes.
* Move idea_cipher_warn to misc.c so gpgv.c doesn't need a stubDavid Shaw2002-01-091-73/+22
| | | | | | | | Remove get_temp_dir (it's in exec.c now) Allow --delete-key (now --delete-keys, though --delete-key still works) to delete multiple keys in one go. This applies to --delete-secret-key(s) and --delete-secret-and-public-key(s) as well
* New code for encode_crypt_files.Timo Schulz2002-01-091-3/+2
|
* Better description for --encrypt-files.Timo Schulz2002-01-081-1/+1
|
* * g10.c (main): Must register the secring for encryption becauseWerner Koch2002-01-081-2/+2
| | | | | | it is needed to figure out the default recipient. Reported by Roger Sondermann.
* fix off-by-one in building attribute subpacketsDavid Shaw2002-01-061-1/+13
| | | | | | | | | | 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
* * g10.c (main): Do not register the secret keyrings for certainWerner Koch2002-01-051-10/+17
| | | | | | | | commands. * keydb.c (keydb_add_resource): Use access to test for keyring existence. This avoids cached opened files which are bad under RISC OS.
* Use one-pass packets even if it's a v3 key making the signatureDavid Shaw2002-01-041-16/+19
| | | | | | | Warn with pgp2 and non-detached signatures Use the actual filesize rather than partial length packets in symmetric messages (see ChangeLog or NEWS for discussion).
* Minor tweaks: remove --no-default-check-level, don't cache child tempfilesDavid Shaw2002-01-031-3/+0
| | | | | and simpler code in keyserver
* New command (encrypt-files).Timo Schulz2002-01-031-0/+8
|
* Bugfix in photoid.c and keyserver.cDavid Shaw2001-12-291-6/+16
| | | | | | Properly handle permission/ownership checks on files that are shared (for example /usr/local/lib/gnupg/idea)
* Photo ID support (actually generic "attribute packet" support, but thereDavid Shaw2001-12-211-6/+15
| | | | | 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/+11
| | | | | but cannot be revoked. Any revocation certificates for them are ignored.
* * g10.c. options.h : New option --show-keyringWerner Koch2001-12-211-0/+3
| | | | | | * getkey.c (get_ctx_handle): New. * keylist.c (list_one): Implement option here. By David Champion.
* New function to check the permissions of GNUPGHOME and the various filesDavid Shaw2001-12-201-0/+34
| | | | | | | | | that live there for safe permission/ownership (--no-permission-warning to disable) The newer glibcs print scary warnings about using mktemp(). The use here was actually safe, but the warning was bound to confuse people, so here is an arguably better tempname creator that pulls random bits from the pool.
* * g10.c, passphrase.c [CYGWIN32]: Allow this as an alias for MINGW32.Werner Koch2001-12-191-3/+3
|
* Much stricter checking of the keyserver URIDavid Shaw2001-12-181-7/+7
| | | | | | | IDEA warning for pk messages encrypted with IDEA (symmetric is already done) Print IDEA warning for each occurance except for secret key protection and unknown cipher from an encrypted message.
* Fix capitalization issuesDavid Shaw2001-12-171-5/+11
|
* Add a generic IDEA warning for when the IDEA plugin is not present. ThisDavid Shaw2001-12-171-29/+67
| | | | | | | | pops up when the user uses "--cipher-algo idea", when setpref is used to set a "S1" preference, and when a secret key protected with IDEA is used. Tweak the --pgp2 mode to use this generic warning.
* * keyserver.c (keyserver_spawn): Assert that we have dropped privs.Werner Koch2001-12-151-2/+11
| | | | | | | | | | | | | | | | | * pubkey-enc.c (get_session_key): Check that the public key algorithm is indeed usable for en/decryption. This avoid a strange error message from pubkey_decrypt if for some reasons a bad algorithm indentifier is passed. * hkp.c (hkp_export): Do not print possible control characters from a keyserver response. (parse_hkp_index): Made uid an unsigned char* because it is passed to isspace(). (hkp_search): Ditto for the char* vars. * g10.c (main): Print the IDEA warning also for -c and -se. * g10.c (get_temp_dir): Assert that we have dropped privs * encode.c (encode_crypt): Include the first key into the --pgp2 check.
* PGP2 patch. --pgp2 sets things up for pgp2 compatibility, and prints aDavid Shaw2001-12-071-0/+38
| | | | | | warning if the user does something that would make the message not compatible (i.e. encrypt with a non-RSA key, etc.)
* New option --expertDavid Shaw2001-12-071-0/+6
| | | | | | Do not allow signing a revoked UID unless --expert is set, and ask even then. Do not allow signing a revoked key unless --expert is set, and ask even then.
* Bug fix in "showpref"David Shaw2001-12-071-2/+5
| | | | | Allow setting a no-compression preference
* "eyesonly" patch. Implements the for-your-eyes-only feature.David Shaw2001-12-071-1/+17
|
* "sigclass" patch - adds key signature class levels, notation and policy-urlDavid Shaw2001-12-061-0/+21
| | | | | displays in key listings, and shows flags for signature features.
* Generic keyserver API codeDavid Shaw2001-12-061-11/+61
|
* fixes for the 1.0.6b bugs David recently posted to gnupg-devel.Werner Koch2001-11-081-0/+23
|
* Option --no-force-v3-sigs addedStefan Bellon2001-10-061-0/+3
|
* Changed signature status cacheWerner Koch2001-09-251-2/+10
|
* Revamped the trustDBWerner Koch2001-09-241-10/+6
|
* Bug fixes and Timo's patchesWerner Koch2001-09-191-1/+11
|
* Revamped the keyring codeWerner Koch2001-09-061-6/+7
|
* Fixed use-agent and lock-multiple for RISC OSStefan Bellon2001-08-211-12/+13
|
* Implemented -cs and some fixes to the rfc1991 symmetric only modeWerner Koch2001-08-201-1/+16
|
* Applied Stefan's patches to support RISCOS.Werner Koch2001-08-201-4/+82
|
* Added a way to update preferencesWerner Koch2001-08-091-1/+6
|
* More Windows and autoconf fixesWerner Koch2001-08-071-1/+1
|
* Changed lsign behaviour, allow future subkeys, don't list revoked keysWerner Koch2001-08-011-0/+3
|
* migration to autoconf 2.52 and bugfixesWerner Koch2001-07-261-0/+3
|
* Fix for toupper('I') != 'i'Werner Koch2001-06-121-6/+1
|
* fixed severe format string bugWerner Koch2001-05-251-1/+1
|
* a second snapshot thsi day (1.0.4f)Werner Koch2001-03-271-0/+6
|
* The "Samba" bug fixes :-)Werner Koch2001-03-221-3/+3
|