aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gpg: Disallow the use of v3 keys.disallow-v3-keysWerner Koch2012-06-251-3/+68
| | | | | | | | | | | | | | | | | | | * g10/gpg.c: Add options --allow-v3-keys and --no-allow-v3-keys. (main): Enable --allow-v3-keys in --pgp2 mode. * g10/options.h (opt): Add field allow_v3_keys. * g10/import.c (delete_v3_subkeys): New. (import_one): Skip v3 keys and delete v3 subkeys. (import_print_stats): Print stats on v3 keys and subkeys. * g10/getkey.c (finish_lookup): Skip v3 keys. -- This is a first take on disabling v3 keys. We may need to add some tweaks to make decryption using an existing v3 key easier. There is no need to disallow decryption. Thanks to Georgi Guninski to put some pressure on us to finally do what PGP 2 folks will probably don’t like. See the discussion on gnupg-devel starting 2012-06-22.
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-051-7/+7
| | | | | | | | | | | | | | | | | | | The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
* Add tweaks for the not anymore patented IDEA algorithm.Werner Koch2012-05-081-6/+0
| | | | | | | | | | | | | | | * g10/keygen.c (keygen_set_std_prefs): Include IDEA only in PGP2 compatibility mode. * g10/misc.c (idea_cipher_warn): Remove. Also remove all callers. * common/status.h (STATUS_RSA_OR_IDEA): Remove. Do not emit this status anymore. -- To keep the number of actually used algorithms low, we want to support IDEA only in a basically read-only way (unless --pgp2 is used during key generation). It does not make sense to suggest the use of this old 64 bit blocksize algorithm. However, there is old data available where it might be helpful to have IDEA available.
* Fixed set but unused variable bugsWerner Koch2011-08-101-1/+1
|
* Fix size_t vs int issues.Marcus Brinkmann2011-06-011-1/+1
|
* Fix import stat counter and abort secret key import on merge-only error case.Marcus Brinkmann2011-04-291-25/+29
|
* Require libgcrypt 1.5Werner Koch2011-03-081-4/+1
| | | | | | | | Without Libgcrypt 1.5 is was not possible to use ECC keys. ECC is major new feature and thus it does not make sense to allow building with an older Libgcrypt without supporting ECC. Also fixed a few missing prototypes.
* Sample ECC keys and message do now work.Werner Koch2011-02-021-63/+187
| | | | | | | | Import and export of secret keys does now work. Encryption has been fixed to be compatible with the sample messages. This version tests for new Libgcrypt function and thus needs to be build with a new Libgcrypt installed.
* Keyserver search and get basically works again.Werner Koch2011-01-181-0/+26
|
* More agent support for gpg.Werner Koch2010-10-131-4/+12
|
* Import fixes.Werner Koch2010-10-061-5/+15
| | | | | new otion for watchgnupg
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-011-21/+25
| | | | | | A couple of forward ported changes. Doc updates.
* Removed more secret key related code.Werner Koch2010-09-061-356/+88
| | | | | | It builds fine and passes some of the tests but there are quite some features which don't work yet.
* Merge secret keys during importWerner Koch2010-09-021-28/+18
|
* Even less prompts for a new key now.Werner Koch2010-09-011-1/+4
|
* Use passphrase caching for import and genkey.Werner Koch2010-09-011-2/+5
|
* Import OpenPGP keys into the agent.Werner Koch2010-08-311-169/+399
|
* Fix for bug 1223Werner Koch2010-05-071-160/+227
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-16/+22
|
* Use gpg_err_set_errno to assign values to ERRNO.Werner Koch2010-04-011-1/+1
|
* Finished the bulk of changes to use estream in most places instead ofWerner Koch2010-03-151-2/+2
| | | | | stdio.
* Use macros for iobuf ioctls. Werner Koch2010-03-081-1/+2
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-6/+25
|
* Enhanced --auto-key-locate.Werner Koch2008-04-081-22/+35
|
* Fix bug 894.Werner Koch2008-03-251-2/+19
| | | | | | Change default keyserver. Allow key protection with Camellia.
* Support DSA2.Werner Koch2007-12-121-2/+2
| | | | | | Support Camellia for testing. More audit stuff.
* Fix for bug 851.Werner Koch2007-12-101-2/+2
| | | | | | Fixed auto generation of the stub key for the card. Allow to encrypt toElgamal encryption keys of type 20.
* Started to implement the audit log feature.Werner Koch2007-11-191-1/+1
| | | | | | | | Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
* Ported changes from 1.4.Werner Koch2007-10-251-69/+81
| | | | | Add copyright notices.
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* Add new SVN only file README.maintWerner Koch2007-02-261-4/+10
| | | | | | | | | | | | | | | | doc/ * gpg.texi (GPG Configuration): Document envvar LANGUAGE. (GPG Configuration Options): Document show-primary-uid-only. g10/ * gpg.c (main): Add verify option show-primary-uid-only. * options.h (VERIFY_SHOW_PRIMARY_UID_ONLY): New. * mainproc.c (check_sig_and_print): Implement it. * encr-data.c (decrypt_data): Correctly test for unknown algorithm. * import.c (check_prefs): Ditto. * keyedit.c (show_prefs): Ditto. * mainproc.c (proc_symkey_enc): Ditto.
* Fixes for CVE-2006-6235Werner Koch2006-12-061-2/+5
|
* Fixed a bug with very long keys.Werner Koch2006-10-181-5/+5
|
* Fix for bug 537Werner Koch2006-10-021-1/+1
|
* Ported patches from 1.4.x Werner Koch2006-06-271-9/+25
|
* g10/ does build again.Werner Koch2006-05-231-2/+4
|
* Continued with merging.Werner Koch2006-04-191-8/+8
| | | | | Still does not build.
* Merged with gpg 1.4.3 code. Werner Koch2006-04-191-412/+882
| | | | | 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-105/+127
|
* Fixes to the libgcrypt switch. Basically works now.Werner Koch2003-06-231-5/+6
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-181-61/+65
| | | | | | | | | | | 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/+1879
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-1796/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * import.c (import_keys_internal): Missed one s/inp/inp2/.David Shaw2002-10-071-1/+1
| | | | | | | | | * keylist.c (print_capabilities): Properly indicate per-key capabilities of sign&encrypt primary keys that have secret-parts-missing (i.e. no capabilities at all) * mainproc.c (symkey_decrypt_sesskey): Fix compiler warning.
* * import.c (import_keys_internal): s/inp/inp2/ to avoid shadowingWerner Koch2002-10-041-3/+3
| | | | | | | | warning. * passphrase.c (agent_get_passphrase): Fixed signed/unsigned char problem in %-escaping. Noted by Ingo Kl�cker.
* * import.c (import_secret_one): Check for an illegal (>110) protectionDavid Shaw2002-10-021-0/+7
| | | | | | | | | | | | | | | | | | cipher when importing a secret key. * keylist.c (list_keyblock_print): Show a '#' for a secret-parts-missing key. * parse_packet.c (parse_key): Some comments. * revoke.c (gen_revoke): Remove some debugging code. * trustdb.c (verify_own_keys): Make trusted-key a non-deprecated option again. * seckey-cert.c (do_check): Don't give the IDEA warning unless the cipher in question is in fact IDEA.
* * import.c (import_one): Make sure that a newly imported key starts with aDavid Shaw2002-10-011-1/+9
| | | | | clean ownertrust.
* * import.c (import_keys_stream): Fix compiler type warning.David Shaw2002-09-241-7/+7
| | | | | | * keyring.c (keyring_rebuild_cache), sig-check.c (check_key_signature2), import.c (import, chk_self_sigs): Minor language cleanups.
* added fast-import to import-optionsStefan Bellon2002-09-231-16/+16
|
* avoid function cloneStefan Bellon2002-09-221-47/+36
|