cancel
Showing results for 
Search instead for 
Did you mean: 

Encryption with ZIP File in 7.1

jean-philippe_pain2
Participant
0 Kudos

Hello all,

My scenario is FILE -> MAIL with a zip attachment in it and a password within the zip.

For the ZIP part, i know i have to use the PayloadZipBean BUT for the encryption, is there a new way to do it with PI 7.1 without using OS command / batch file / developing a specific module ?

If i must use OS command, still have to do it with 7zip ?

Thanks,

Jean-Philippe

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>to use the PayloadZipBean BUT for the encryption, i

if you want to pass protect ZIP file then to use the PayloadZipBean does not provide that I'm afraid

Regards,

Michal Krawczyk

jean-philippe_pain2
Participant
0 Kudos

Hi Michal,

Thanks for the answer.

Last advice because i am little confuse by your answer : For my need, i should use the payloadzipbean and develop a specific module for the encryption part only or i must develop a specific module for both zip and encryption ?

Thanks,

Jean-Philippe

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>For my need, i should use the payloadzipbean and develop a specific module for the encryption part only or i must develop a specific module for both zip and encryption ?

I'd build one for both tasks as how will you add the password to already created ZIP file ? I don't think this is possible

BTW

or you can use encryption of mail adapter (standard) in order to encrypt the whole message

and just send the zip without password but for example encrypted with public key of the receiver

Regards,

Michal Krawczyk

jean-philippe_pain2
Participant
0 Kudos

I'd build one for both tasks as how will you add the password to already created ZIP file ? I don't think this is possible

From my pointof view, i see 3 ways to do it :

- one in two times : 1.write it on the XI server through a CC file add to OS command for ZIP part and encryption part. 2. Read it through a sender CC and send it with receiver mail CC.

- second one : Develop it at all

- thrid one : PayloadZipBean and then execute a OS command that will call a .bat which will encrypt the ZIP (you've done a an interesting blog on it)

and just send the zip without password but for example encrypted with public key of the receiver

The mails are for key users mailbox so they only want ZIP + Password.

Regards,

Jean-Philippe

Edited by: Jean-Philippe PAIN on Apr 8, 2010 11:40 AM

jean-philippe_pain2
Participant
0 Kudos

Problem solved. I've used a command in CC that call a .bat which zip and encrypt the file.

Answers (0)