mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
Implemented PKA trust model
This commit is contained in:
parent
986a137c58
commit
1d139c8147
@ -1,6 +1,8 @@
|
|||||||
2005-07-28 Werner Koch <wk@g10code.com>
|
2005-07-28 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* pka.c: New.
|
* pka.c: New.
|
||||||
|
(parse_txt_record): Changed from v=1 to v=pka1.
|
||||||
|
|
||||||
* Makefile.am (pka-test): new.
|
* Makefile.am (pka-test): new.
|
||||||
|
|
||||||
2005-07-27 Werner Koch <wk@g10code.com>
|
2005-07-27 Werner Koch <wk@g10code.com>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#ifdef USE_DNS_PKA
|
#ifdef USE_DNS_PKA
|
||||||
/* Parse the TXT resource record. Format is:
|
/* Parse the TXT resource record. Format is:
|
||||||
|
|
||||||
v=1;fpr=a4d94e92b0986ab5ee9dcd755de249965b0358a2;uri=string
|
v=pka1;fpr=a4d94e92b0986ab5ee9dcd755de249965b0358a2;uri=string
|
||||||
|
|
||||||
For simplicity white spaces are not allowed. Because we expect to
|
For simplicity white spaces are not allowed. Because we expect to
|
||||||
use a new RRTYPE for this in the future we define the TXT really
|
use a new RRTYPE for this in the future we define the TXT really
|
||||||
@ -66,7 +66,7 @@ parse_txt_record (char *buffer, unsigned char *fpr)
|
|||||||
if (!pend)
|
if (!pend)
|
||||||
return -1;
|
return -1;
|
||||||
*pend++ = 0;
|
*pend++ = 0;
|
||||||
if (strcmp (p, "v=1"))
|
if (strcmp (p, "v=pka1"))
|
||||||
return -1; /* Wrong or missing version. */
|
return -1; /* Wrong or missing version. */
|
||||||
|
|
||||||
p = pend;
|
p = pend;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user