Operating System - OpenVMS
1748276 Members
4039 Online
108761 Solutions
New Discussion

encrypting string chains with OpenVMS

 

encrypting string chains with OpenVMS


I need to encrypt a string with data from an invoice, with assymmetric option using RSA 1024 keys (public/private keys), MD5 or SHA1 disgest algorithm, i received the Certificate (DER format) and the key from the SAT (taxes) office here in Mexico .
can i import that certificate or the key to GnuPG for OpenvmS (ALPHA v 7.3.2 and I64 v 8.3 or 8.4) ??
Can i do this with CDSA (Common Data Security architecture) for OpenVMS, does any one has the programs to use the CDSA API to disget end encrypt ??? I used the utility programs from CDSA for OpenVMS and i can read the certificate file and generate a .h file with the command:
$ issuer -k intmodscertfile. - modselfkey.h "EISL_RetrieveSelfCheckKey"
Can any body help me ???

thank you

Eduardo Lazzeri
1 REPLY 1
Steven Schweda
Honored Contributor

Re: encrypting string chains with OpenVMS

I don't know much about this stuff, but ...

> [...] RSA 1024 keys (public/private keys)
> [...]

I'm not sure that that's a complete
description of the keys. GnuPG can make and
use 1024-bit RSA keys, but I don't know if
your keys are GnuPG-compatible keys.

> can i import that certificate or the key to
> GnuPG for OpenvmS (ALPHA v 7.3.2 and I64
> v 8.3 or 8.4) ??

GnuPG (my 1.4.10b kit) should work in any of
those VMS environments, and it should work
about the same as GnuPG (1.4.x) works
anywhere else. I've never done anything with
certificates and GnuPG, and I know nothing
about your certificate, so I _really_ know
nothing about whether your certificate can be
used with/by GnuPG.

> [...] CDSA [...]

I know nothing about that, too.

> [...] encrypt a string [...]

So far as I know, GnuPG works with files, not
with strings. (You could put a string into a
file, ...)

If you want to try using GnuPG on VMS, I
suggest that you try a kit from:

http://antinode.info/dec/sw/gnupg.html

My opinion of the (older) HP-supplied kits is
pretty low.