aboutsummaryrefslogtreecommitdiffstats
path: root/g10 (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* New command --decrypt-files.Timo Schulz2002-01-155-40/+109
| | | | | Some fixes.
* Fixed some typos.Timo Schulz2002-01-122-29/+59
|
* Move idea_cipher_warn to misc.c so gpgv.c doesn't need a stubDavid Shaw2002-01-096-95/+77
| | | | | | | | 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-094-13/+37
|
* Added missing include file.Timo Schulz2002-01-092-0/+7
|
* Better description for --encrypt-files.Timo Schulz2002-01-082-1/+5
|
* * g10.c (main): Must register the secring for encryption becauseWerner Koch2002-01-082-2/+8
| | | | | | it is needed to figure out the default recipient. Reported by Roger Sondermann.
* fix off-by-one in building attribute subpacketsDavid Shaw2002-01-068-19/+106
| | | | | | | | | | 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-053-79/+92
| | | | | | | | 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-044-27/+51
| | | | | | | 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-034-10/+19
| | | | | and simpler code in keyserver
* New command (encrypt-files).Timo Schulz2002-01-035-1/+39
|
* used different char types for RISC OSStefan Bellon2002-01-021-0/+9
|
* moved util.h include downwardsStefan Bellon2002-01-021-1/+1
|
* invalidate close cacheStefan Bellon2002-01-021-2/+7
|
* lock only writable key rings and free unused iobufStefan Bellon2002-01-022-3/+28
|
* Bugfix in photoid.c and keyserver.cDavid Shaw2001-12-298-28/+73
| | | | | | Properly handle permission/ownership checks on files that are shared (for example /usr/local/lib/gnupg/idea)
* Add an outofband indicator to the keyserver protocol.David Shaw2001-12-288-69/+68
| | | | | | Use signature flags for exportability check rather than re-parsing the subpacket.
* Some exec cleanups and tweaks for photo ID and keyserver executionDavid Shaw2001-12-275-41/+91
|
* Some tweaks - copyleft info for mkdtemp.c, and header pruning in photoid.cDavid Shaw2001-12-254-43/+51
| | | | | and keyserver.c
* Fixed a typo and W32 support for the latest CVS changes.Timo Schulz2001-12-237-0/+30
|
* Avoid const compiler warningDavid Shaw2001-12-222-1/+3
|
* Some last minute tweaks - type fixes from Stefan and win32 temp filesDavid Shaw2001-12-224-11/+40
| | | | | from Timo.
* Minor cleanupsWerner Koch2001-12-222-16/+23
|
* * keyserver.c (keyserver_spawn): Removed some variablesWerner Koch2001-12-228-27/+131
| | | | | | | | | | | | 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.
* Added is_file_compressedTimo Schulz2001-12-222-84/+23
|
* Add new photo ID files and modify gpgsplit to name attribute packetsDavid Shaw2001-12-214-0/+732
| | | | | properly
* Photo ID support (actually generic "attribute packet" support, but thereDavid Shaw2001-12-2116-351/+523
| | | | | 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-2110-42/+106
| | | | | but cannot be revoked. Any revocation certificates for them are ignored.
* * g10.c. options.h : New option --show-keyringWerner Koch2001-12-217-3/+35
| | | | | | * getkey.c (get_ctx_handle): New. * keylist.c (list_one): Implement option here. By David Champion.
* * options.in: Remove load-extension tigerWerner Koch2001-12-213-2/+4
| | | | | * Makefile.am (./options): append it if there is such a module.
* Only gpg (not gpgv) needs mkdtempDavid Shaw2001-12-201-2/+2
|
* Use mkdtemp() to make temp directories. If there is no mkdtemp(), provideDavid Shaw2001-12-203-26/+91
| | | | | one.
* New function to check the permissions of GNUPGHOME and the various filesDavid Shaw2001-12-208-22/+154
| | | | | | | | | 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-193-9/+13
|
* Much stricter checking of the keyserver URIDavid Shaw2001-12-189-15/+48
| | | | | | | 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.
* Commited change from 2001-12-13 again:Werner Koch2001-12-181-2/+2
| | | | | | | | * 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.
* Remove warning - no need to check for control/illegal characters, asDavid Shaw2001-12-172-1/+5
| | | | | utf8_to_native does this for us
* Fix capitalization issuesDavid Shaw2001-12-176-28/+41
|
* Add a generic IDEA warning for when the IDEA plugin is not present. ThisDavid Shaw2001-12-177-38/+97
| | | | | | | | 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-156-22/+92
| | | | | | | | | | | | | | | | | * 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.
* Fixed some types for portability. Noted by Stefan Bellon.David Shaw2001-12-122-2/+7
|
* PGP2 patch. --pgp2 sets things up for pgp2 compatibility, and prints aDavid Shaw2001-12-075-6/+85
| | | | | | warning if the user does something that would make the message not compatible (i.e. encrypt with a non-RSA key, etc.)
* Sig expiration codeDavid Shaw2001-12-0712-44/+244
| | | | | | | 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
* Allow a regular key signature to promote a local signature to fullDavid Shaw2001-12-072-3/+41
| | | | | exportable status
* New option --expertDavid Shaw2001-12-074-4/+58
| | | | | | 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-075-4/+50
| | | | | Allow setting a no-compression preference
* "eyesonly" patch. Implements the for-your-eyes-only feature.David Shaw2001-12-072-1/+22
|
* "sigclass" patch - adds key signature class levels, notation and policy-urlDavid Shaw2001-12-0610-22/+286
| | | | | displays in key listings, and shows flags for signature features.
* The new keyserver code itselfDavid Shaw2001-12-061-0/+988
|