Re: Using Crypt::DSA



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
.



Relevant Pages

  • Re: Using Crypt::DSA
    ... > I want to be able to create a public key file and a signature in formats ... it's important that the public key file be ... > in a reasonably standard format. ... have Convert::PEM) and so, presumably, can the other DSA implementations. ...
    (comp.lang.perl.misc)
  • Re: VBScript Signature in Outlook from TechNet Magazine?
    ... however in HTML it always returns a new full new paragraph. ... Sue Mosher, Outlook MVP ... "objSelection.TypeParagraph" the signature comes out with: ... The script doesn't need to be set up in Outlook. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: VBScript Signature in Outlook from TechNet Magazine?
    ... The easiest way is to turn on Word's macro recorder while you type the text and format it, then incorporate that macro code into the existing script. ... Sue Mosher, Outlook MVP ... How do I format the signature? ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: VBScript Signature in Outlook from TechNet Magazine?
    ... would never work in a Word document because it means text, not an HTML tag, to the Word object model. ... Sue Mosher, Outlook MVP ... "objSelection.TypeParagraph" the signature comes out with: ... The script doesn't need to be set up in Outlook. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: VBScript Signature in Outlook from TechNet Magazine?
    ... Sue Mosher, Outlook MVP ... "objSelection.TypeParagraph" the signature comes out with: ... The script doesn't need to be set up in Outlook. ... Set objSelection = objWord.Selection ...
    (microsoft.public.office.developer.outlook.vba)