IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to code Macfee PGP program in jcl for decryption ?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Jul 08, 2008 2:17 pm
Reply with quote

Hi ,

Can anybody help me for coding Macfee PGP program in jcl for decryption ?



Thanks,
Ekta
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jul 08, 2008 3:02 pm
Reply with quote

OK, a dumb question, but doesn't the product come with documentation that shows you how to do what you want?
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Jul 08, 2008 4:45 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 08, 2008 5:02 pm
Reply with quote

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
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Jul 08, 2008 5:23 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 08, 2008 5:43 pm
Reply with quote

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
View user's profile Send private message
jaison.baby

New User


Joined: 06 May 2005
Posts: 2
Location: Kerala

PostPosted: Tue Sep 16, 2008 1:02 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 16, 2008 4:28 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top