Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: PGP ZIP (Multiple Files) Automate Decryption
Topic Summary:
Created On: 11/03/2009 05:08 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11/03/2009 05:08 AM
User is offline View Users Profile Print this message

Author Icon
AbbasS
Apprentice (20-49)

Posts: 36
Joined: 10/28/2007

Hi,

I've automate installed (7.1.10 with hotfix).

I have created a PGP ZIP (*.pgp). this zip contains multiple files and folders.

When I try to decrypt it through automate, it does not work. Because Automate is asking for destination (decrypted) file name. For the same reason, single file PGP ZIP works.

Any idead how to decrypt PGP encrypted files if they have multiple files and folders inside.

Thank you



 Category Survey
 11/04/2009 01:30 PM
User is offline View Users Profile Print this message

Author Icon
Hamid Noorbakhsh
HelpSystems

Posts: 454
Joined: 07/29/2008

AbbasS,
I tried to look into how PGP Desktop does this. From what I read, it seemd like that they make a Zip archive and then encrypt, so all you have to do is Decrypt and then unzip.

I have not tested this, but from what I read seems to be the order of steps to take, so just for outputfile use anyName.zip and then unzip that file.

Please let me know if this did not solve your issue.

 Category Survey
AutoMate BPA Server 7 version:
Windows version:


-------------------------
Thank you for choosing AutoMate

Hamid Noorbakhsh | Senior Software Engineer
AutoMate | A Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 11/05/2009 03:26 AM
User is offline View Users Profile Print this message

Author Icon
AbbasS
Apprentice (20-49)

Posts: 36
Joined: 10/28/2007

Thanks Hamid,

You rock! what you said is absolutely right. I gave destination *.zip and it worked!

Thank you very much.



 Category Survey
 11/05/2009 04:22 AM
User is offline View Users Profile Print this message

Author Icon
AbbasS
Apprentice (20-49)

Posts: 36
Joined: 10/28/2007

to extract the zip using automate, you have to use 'tar' as the 'Compression Type'



 Category Survey
 11/05/2009 08:07 AM
User is offline View Users Profile Print this message

Author Icon
Hamid Noorbakhsh
HelpSystems

Posts: 454
Joined: 07/29/2008

AbbasS,
I am glad that it was an easy fix and also thanks for reporting this back on the forums so others can benefit from this.

Thank you again.

 Category Survey
AutoMate BPA Server 7 version:
Windows version:


-------------------------
Thank you for choosing AutoMate

Hamid Noorbakhsh | Senior Software Engineer
AutoMate | A Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 06/22/2011 08:03 AM
User is offline View Users Profile Print this message

Author Icon
RichardWest
Artisan (200-499)

Posts: 255
Joined: 03/30/2005

Thanks for this post. I was looking to create a single PGP file that contained multiple files/folders. I knew PGP Desktop could do this but I needed to be able to script it.

The solution of creating a TAR file then PGP encrypting the TAR file works perfectly. The resulting PGP file can be opened directly in PGP Desktop an individual files can be extracted, just as if the file was created using PGP Desktop from the start.

Thanks

 Category Survey


-------------------------
Richard West

 06/22/2011 02:22 PM
User is offline View Users Profile Print this message

Author Icon
Rick Johnson
AUTOMATE EMPLOYEE

Posts: 2757
Joined: 07/14/2008

Hi Richard,

We're plased to hear that the solution also worked for you as well!

 Category Survey


-------------------------
- Rick Johnson
Network Automation
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1794 guests browsing this forum, which makes a total of 1794 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog