Yadis Examples

Brad Fitzpatrick brad at danga.com
Tue May 17 10:11:23 PDT 2005


On Tue, 17 May 2005, Christopher Schmidt wrote:

> I don't know anything about DSA, so I'm hardly an expert. Just looking
> for an example of what I'm supposed to do :)

Yes, see those TypeKey client examples.  Or, make the ASN.1 file that
OpenSSL expects:

You can use Convert::ASN1 from Perl to take r and s and dump the ASN1:

The schema is like:

      DSASig  SEQUENCE {
        r INTEGER,
        s INTEGER
      }

ASN.1 is just some packed data structure, with a schema.

$ dumpasn1 sign
   0   46: SEQUENCE {
   2   21:   INTEGER
         :     00 A8 77 71 7A 3C 13 28 02 D0 B7 4E B9 FF 87 75
         :     79 8E B6 DE A0
  25   21:   INTEGER
         :     00 E3 F0 09 90 C4 79 FD 1A DE 30 88 89 CD 4C 5D
         :     9C 40 3C 53 F2
         :   }

0 warnings, 0 errors.

- Brad


>
> --
> Christopher Schmidt
>


More information about the yadis mailing list