mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
'g10/gpg2 --encrypt --debug 15 -r ecdsa -a -o _e.asc _' and 'g10/gpg2 --debug 15 _e.asc', as well as decoding of an old message posted on https://sites.google.com/site/brainhub/pgpecckeys work.
This is the milestone 2 that brings in ECDH support from http://code.google.com/p/gnupg-ecc/source/detail?r=15 . This corresponds to the commit 899386826c85f1e757e75bcc5d5b2159d05676a0 in libgcrypt
This commit is contained in:
parent
b0c55d08a8
commit
5761a9ba74
6 changed files with 73 additions and 131 deletions
|
@ -1744,7 +1744,6 @@ inq_ciphertext_cb (void *opaque, const char *line)
|
|||
gpg_error_t
|
||||
agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
|
||||
gcry_sexp_t s_ciphertext,
|
||||
const byte sk_fp[MAX_FINGERPRINT_LEN],
|
||||
unsigned char **r_buf, size_t *r_buflen)
|
||||
{
|
||||
gpg_error_t err;
|
||||
|
@ -1753,8 +1752,6 @@ agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
|
|||
size_t n, len;
|
||||
char *p, *buf, *endp;
|
||||
|
||||
/*TODO: use sk_fp */
|
||||
|
||||
if (!keygrip || strlen(keygrip) != 40 || !s_ciphertext || !r_buf || !r_buflen)
|
||||
return gpg_error (GPG_ERR_INV_VALUE);
|
||||
*r_buf = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue