|
|
| Author |
Message |
ektaag
New User
Joined: 21 Mar 2007 Posts: 11 Location: bangalore
|
|
|
|
Hi ,
Can anybody help me for coding Macfee PGP program in jcl for decryption ?
Thanks,
Ekta |
|
| Back to top |
|
 |
References
|
|
 |
Moved: Tue Jul 08, 2008 2:58 pm by superk From JCL to Other Mainframe Topics |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3265 Location: Charlotte,NC USA
|
|
|
|
| OK, a dumb question, but doesn't the product come with documentation that shows you how to do what you want? |
|
| Back to top |
|
 |
ektaag
New User
Joined: 21 Mar 2007 Posts: 11 Location: bangalore
|
|
|
|
It is an already existing thing with our system. We have existing programs for encryption but don't know abt the decryption thing. we are using a proc = pgpproc .
but dont know where it is as no library is mention in our existing code.
is it some utility like iebgener or something ??
ekta |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 891 Location: Atlanta, GA
|
|
|
|
McAfee eBusiness Server for OS/390 is McAfee's PGP mainframe product. It is not a utility like IEBGENER as it is not part of z/OS, but a separately purchased package. Code to do decryption:
| Code: |
//IN DD *
--decrypt 'PGMR.RS0.TEST.QINTER.PGP'
--text
--output dd:textout
--passphrase "an offer you can't refuse"
/*
//TEXTOUT DD PATH='/u/tech/ttssrs0/qinter.text',
// PATHOPTS=(OWRONLY,OCREAT),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO) |
|
|
| Back to top |
|
 |
ektaag
New User
Joined: 21 Mar 2007 Posts: 11 Location: bangalore
|
|
|
|
Thanks.. But can u also specify what is the use of public and private keys and how to specify that in our code ?
Ekta |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 891 Location: Atlanta, GA
|
|
|
|
For public and private keys with McAfee you really need to review the eBusiness Server manual. The code is
| Code: |
//IN DD *
--DECRYPT DD:TEXTIN
--USER 0XBB432A00
--OUTPUT DD:DECOUT |
which does you no good unless you've read the manual and understand how the USER relates to your key rings.
Broadly, the steps are: get public key from other (vendor, customer, ...), add public key to your key ring which generates the USER field, get encrypted message from other and decrypt it using the public key they gave you. |
|
| Back to top |
|
 |
jaison.baby
New User
Joined: 06 May 2005 Posts: 2 Location: Kerala
|
|
|
|
Hi,
I was looking for some material on PGP encryption on mainframes. I am ware of how PGP works (i have done PGP encryption in unix systems but not mainframes). Can anyone provide me with some sample JCL's for PGP encryption, decryption and keygeneration?
Thanks
Jaison |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 891 Location: Atlanta, GA
|
|
|
|
| Jaison, PGP encryption via McAfee's eBusiness Server is not free -- it must be purchased from McAfee. Whichever package you use will provide examples in the documentation. Sample JCL would do you no good since the specifics will vary. |
|
| Back to top |
|
 |
|
|