mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-17 14:07:03 +01:00
gpgsm: Also announce AES256-CBC in signatures.
* sm/sign.c (gpgsm_sign): Add new capability. -- It might be better to have this. No concrete bug report, though.
This commit is contained in:
parent
0ef54e644f
commit
b71a14238d
17
sm/sign.c
17
sm/sign.c
@ -774,13 +774,16 @@ gpgsm_sign (ctrl_t ctrl, certlist_t signerlist,
|
|||||||
|
|
||||||
|
|
||||||
/* We need to write at least a minimal list of our capabilities to
|
/* We need to write at least a minimal list of our capabilities to
|
||||||
try to convince some MUAs to use 3DES and not the crippled
|
* try to convince some MUAs to use 3DES and not the crippled
|
||||||
RC2. Our list is:
|
* RC2. Our list is:
|
||||||
|
*
|
||||||
aes128-CBC
|
* aes256-CBC
|
||||||
des-EDE3-CBC
|
* aes128-CBC
|
||||||
*/
|
* des-EDE3-CBC
|
||||||
err = ksba_cms_add_smime_capability (cms, "2.16.840.1.101.3.4.1.2", NULL, 0);
|
*/
|
||||||
|
err = ksba_cms_add_smime_capability (cms, "2.16.840.1.101.3.4.1.42", NULL,0);
|
||||||
|
if (!err)
|
||||||
|
err = ksba_cms_add_smime_capability (cms, "2.16.840.1.101.3.4.1.2", NULL,0);
|
||||||
if (!err)
|
if (!err)
|
||||||
err = ksba_cms_add_smime_capability (cms, "1.2.840.113549.3.7", NULL, 0);
|
err = ksba_cms_add_smime_capability (cms, "1.2.840.113549.3.7", NULL, 0);
|
||||||
if (err)
|
if (err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user