Re: Using Crypt::DSA
- From: Mike Friedman <mikef@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Aug 2005 16:13:25 +0000 (UTC)
Sisyphus <sisyphus1@xxxxxxxxxxxxxxxxx> wrote:
>
> "Mike Friedman" <mikef@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>
>>
>> So, once again, assuming I've signed a message, creating a signature
>> object, how do I write that signature to a file so it can be used
>> as input to a verify script?
>>
>
> It may simply be that you failed to bless() the key and signature
> retrieved from file. Here's a script that writes to file, then reads
> from that file and verifies the message using information obtained only
> from that file:
> ...
Rob,
Looking at your sample script (but not yet having tried it), it seems that
it will work (and is quite educational, in fact). However, I still have a
concern, which has to do with how I intend to use my scripts.
I want to be able to create a public key file and a signature in formats
that can be distributed to a user community whose applications may be
using other DSA implementations (e.g., Java crypto lib, or other scripting
languages besides perl). So, it's important that the public key file be
in a reasonably standard format. Also, I'd be passing the signature as
a base64-encoded string via a web form field. Once the application
base64-decodes it, the signature should be in a format easily fed to its
DSA verify routine.
I'm thinking of how other products, like SSH, do this sort of thing,
with my main focus being on how various DSA implementations do signature
verification.
Thanks.
Mike
.
- Follow-Ups:
- Re: Using Crypt::DSA
- From: Sisyphus
- Re: Using Crypt::DSA
- References:
- Using Crypt::DSA
- From: Mike Friedman
- Re: Using Crypt::DSA
- From: A. Sinan Unur
- Re: Using Crypt::DSA
- From: Mike Friedman
- Re: Using Crypt::DSA
- From: Sisyphus
- Re: Using Crypt::DSA
- From: Mike Friedman
- Re: Using Crypt::DSA
- From: Sisyphus
- Using Crypt::DSA
- Prev by Date: FAQ 1.3 Which version of Perl should I use?
- Next by Date: Re: LWP user agent query
- Previous by thread: Re: Using Crypt::DSA
- Next by thread: Re: Using Crypt::DSA
- Index(es):
Relevant Pages
|