mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Update OpenPGP parser to support ECC
This commit is contained in:
parent
25f292ed89
commit
740629de00
3 changed files with 83 additions and 63 deletions
|
@ -1,5 +1,5 @@
|
|||
/* kbxutil.c - The Keybox utility
|
||||
* Copyright (C) 2000, 2001, 2004, 2007 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2000, 2001, 2004, 2007, 2011 Free Software Foundation, Inc.
|
||||
*
|
||||
* This file is part of GnuPG.
|
||||
*
|
||||
|
@ -389,8 +389,18 @@ import_openpgp (const char *filename)
|
|||
{
|
||||
if (gpg_err_code (err) == GPG_ERR_NO_DATA)
|
||||
break;
|
||||
log_info ("%s: failed to parse OpenPGP keyblock: %s\n",
|
||||
filename, gpg_strerror (err));
|
||||
if (gpg_err_code (err) == GPG_ERR_UNSUPPORTED_ALGORITHM)
|
||||
{
|
||||
/* This is likely a v3 key packet with a non-RSA
|
||||
algorithm. These are keys from very early versions
|
||||
of GnuPG (pre-OpenPGP). */
|
||||
}
|
||||
else
|
||||
{
|
||||
fflush (stdout);
|
||||
log_info ("%s: failed to parse OpenPGP keyblock: %s\n",
|
||||
filename, gpg_strerror (err));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue