aboutsummaryrefslogtreecommitdiffstats
path: root/include/cipher.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gpg: Fix --version output and explicitly disable ECC.Werner Koch2013-10-111-6/+6
| | | | | | | | | | | | | | | | | | | * 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]>
* gpg: Distinguish between missing and cleared key flags.Werner Koch2013-10-041-1/+6
| | | | | | | | | | | | | | | * include/cipher.h (PUBKEY_USAGE_NONE): New. * g10/getkey.c (parse_key_usage): Set new flag. -- We do not want to use the default capabilities (derived from the algorithm) if any key flags are given in a signature. Thus if key flags are used in any way, the default key capabilities are never used. This allows to create a key with key flags set to all zero so it can't be used. This better reflects common sense. (cherry picked from commit 4bde12206c5bf199dc6e12a74af8da4558ba41bf)
* Provide pubkey letters e and EWerner Koch2011-07-011-7/+9
| | | | | This is only to print those letters instead of a question mark. It does not mean ECC is or will be supported in this branch.
* 2009-08-20 Daiki Ueno <[email protected]>Werner Koch2009-08-201-0/+1
| | | | | | | | | * mainproc.c (proc_encrypted): Clear passphrase cached with S2K cache ID if decryption failed. * passphrase.c (passphrase_to_dek_ext): Set dek->s2k_cacheid. * gpgv.c (passphrase_clear_cache): New stub.
* Adjust for the changed Camellia draft.Werner Koch2008-04-181-1/+2
| | | | | | W32 gettext changes. Comment and typo fixes.
* Support DSA2.Werner Koch2007-12-121-3/+7
| | | | | | Support Camellia for testing. More audit stuff.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Fix for sanitize string. Added SHA224Werner Koch2006-04-281-0/+3
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-55/+59
| | | | | The gpg part does not yet build.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-231-1/+0
|
* * keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch2003-09-051-0/+1
| | | | | | | | (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.
* * cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.Werner Koch2003-07-031-3/+0
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-181-136/+31
| | | | | | | | | | | 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.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-06-051-0/+205
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-198/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * cipher.h: Add AES aliases for RIJNDAEL algo numbers.David Shaw2002-08-131-3/+6
|
* * cipher.h: Add md_algo_present().David Shaw2002-08-071-0/+1
|
* The big extension module removal.Werner Koch2002-08-031-2/+2
|
* Update head to match stable 1.0David Shaw2002-06-291-0/+194
|
* See ChangeLog: Wed Dec 8 21:58:32 CET 1999 Werner KochWerner Koch1999-12-081-77/+0
|
* See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1999-11-131-0/+2
|
* See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner KochWerner Koch1999-10-261-102/+0
|
* See ChangeLog: Thu Jul 15 10:15:35 CEST 1999 Werner KochWerner Koch1999-07-151-0/+2
|
* See ChangeLog: Sat Jun 26 12:15:59 CEST 1999 Werner KochWerner Koch1999-06-261-2/+6
|
* See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner KochWerner Koch1999-04-181-2/+2
|
* See ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner KochWerner Koch1999-04-091-1/+0
|
* See ChangeLog: Tue Apr 6 19:58:12 CEST 1999 Werner KochWerner Koch1999-04-061-1/+1
|
* See ChangeLog: Wed Mar 17 13:09:03 CET 1999 Werner KochWerner Koch1999-03-171-0/+1
|
* See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1999-02-161-1/+1
|
* See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1999-02-101-10/+5
|
* See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner KochWerner Koch1999-01-071-7/+5
|
* last local commitWerner Koch1998-10-161-1/+1
|
* *** empty log message ***Werner Koch1998-09-281-0/+2
|
* .Werner Koch1998-09-181-1/+1
|
* New releaseWerner Koch1998-09-141-1/+1
|
* edit-key is now completeWerner Koch1998-07-291-0/+2
|
* fixed severe exploitV0-3-2Werner Koch1998-07-091-0/+2
|
* fixed clearsig stuffWerner Koch1998-07-081-2/+3
|
* partly added creation of OP partial length headersWerner Koch1998-07-021-0/+1
|
* nearly ready for 0.3.0Werner Koch1998-06-251-0/+2
|
* some more internall structure changesWerner Koch1998-06-161-10/+46
|
* extensions are now working and fixed a lot of bugsWerner Koch1998-06-151-8/+2
|
* gnupg extension are now workingWerner Koch1998-06-131-14/+8
|
* a whole bunch of internal cleanupsWerner Koch1998-06-131-0/+19
|
* update from toboldWerner Koch1998-06-111-0/+3
|
* SicherungWerner Koch1998-06-091-1/+1
|
* add-key worksWerner Koch1998-05-261-4/+5
|
* add DSA key generationWerner Koch1998-05-051-1/+2
|
* new releaseV0-2-17Werner Koch1998-05-041-2/+6
|
* *** empty log message ***Werner Koch1998-04-301-3/+7
|