Sponsored Content
Full Discussion: Pgp encryption script
Operating Systems Linux Pgp encryption script Post 302624061 by mr_harish80 on Sunday 15th of April 2012 04:53:04 PM
Old 04-15-2012
Pgp encryption script

I have file in linux which I need to do the PGP encryption.
Through manually I am using this command to do the same

Code:
gpg -c scsrun.log
Enter passphrase :
Repeat Passphrase :

But how I can achive this using linux script.

Thanks
Moderator's Comments:
Mod Comment How to use code tags

Last edited by Scrutinizer; 04-15-2012 at 07:45 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Telnet Blocked - PGP Encryption?

I have 2 systems that cannot telnet directly into our UNIX system via IP. The only thing that separate these 2 systems from all the others in our office is that they run a PGP encryption within Outlook. I can telnet to a different server and then telnet from there to the one I want to get to, but... (7 Replies)
Discussion started by: jgordon
7 Replies

2. Shell Programming and Scripting

Using pgp in a shell script

This may be more of a PGP (Pretty Good Privacy) question than Unix, but here's hoping. The statement I'm using to compress a file is: /opt/pgp-6.5.8/pgp +force -feat MY_Pub_Key < file_in.txt > file_out.asc The +force parameter is documented as "Eliminating confirmation questions", but I... (1 Reply)
Discussion started by: abNORMal
1 Replies

3. Solaris

PGP encryption/decryption solaris 9

Hi Someone is going to send me a file that they have encrypted by PGP encryption on windows pc to my solaris 9 server. They will give me the pgp key to decrypt the file. How can I do this on solaris 9 Is there a tool installed by default to decrypt or do I need to install something to... (0 Replies)
Discussion started by: frustrated1
0 Replies

4. UNIX for Advanced & Expert Users

pgp encryption

Hi I have one script for doing the gpg encryption on linux. The encrytion is doing fine when i am running the script from command prompt on linux The same script when it is triggering from mainframe using sysopts option in NDM(connect direct) the encryption step in the shell script is... (0 Replies)
Discussion started by: Arvind Maurya
0 Replies

5. Cybersecurity

How to use PGP File Encryption

Hi All, I am new to the concept of encryption and shell and i have been assigned to do pgp encryption of a file before ftping it. I am developing the script using MKS Toolkit on Windows XP and the script will run later on actual unix box. I am going through documents provided by pgp... (2 Replies)
Discussion started by: sandeepb
2 Replies

6. UNIX for Dummies Questions & Answers

File size after pgp encryption

Hello, Does anyone know if it's normal to have a very different file size after a file has been encrypted using pgp? Before encryption: 582.7618598938 MB After encryption: 98.73 MB Thanks in advance for any help, (2 Replies)
Discussion started by: tekster757
2 Replies

7. Solaris

PGP encryption

Hi, i am trying to encrypt a file using pgp with a recepient's public key. The file is encrypted but the output file has owner & group nobody. i am not able to change it either. Please let me know how to do pgp encryption so that i get the output with owner and group as the same user which runs... (4 Replies)
Discussion started by: renjyverghese
4 Replies

8. UNIX for Advanced & Expert Users

Setting up PGP encryption in HPUX

Hi, Could anyone please help me in understanding how PGP can be installed and configured in HP-UX machines.Is there any separate licence required ? and what are the minimum system requirements to have PGP installed on a server (1 Reply)
Discussion started by: tinivt
1 Replies

9. Shell Programming and Scripting

PGP decryption in UNIX script

Hi, I have an already running Production script that I need to simulate in QA. The script is trying to decrypt some files using the below command: pgp --decrypt ${GET_DIR}/*.pgp --home-dir /.pgp I am getting the following error: 1080:no private key could be found for decryption Can... (3 Replies)
Discussion started by: Jigsaw16
3 Replies

10. Homework & Coursework Questions

PGP encryption issue with Crontab

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: PGP encryption works manually but not with crontab 2. Relevant commands, code, scripts, algorithms: Below... (4 Replies)
Discussion started by: sharath.molagav
4 Replies
FS_GETCRYPT(1)						       AFS Command Reference						    FS_GETCRYPT(1)

NAME
fs_getcrypt - Displays the state of encryption for AFS file transfers SYNOPSIS
fs getcrypt [-help] DESCRIPTION
The fs getcrypt command shows the status of network traffic encryption for file traffic in the AFS client. This encryption applies to file traffic going to and coming from the AFS server for users with valid tokens. The complement of this command is fs setcrypt which sets the status of encryption on the client. CAUTIONS
AFS uses an encryption scheme called fcrypt, based on but slightly weaker than DES. Because fcrypt and DES are obsolete, the user must decide how much to trust the encryption. Consider using a Virtual Private Network at the IP level if better encryption is needed. Encrypting file traffic requires a token. Unauthenticated connections or connections authorized via IP-based ACLs will not be encrypted even when encryption is turned on. OPTIONS
-help Prints the online help for this command. All other valid options are ignored. OUTPUT
If encryption is enabled, the output is: Security level is currently crypt (data security). If encryption if disabled, the output is: Security level is currently clear. EXAMPLES
There is only one way to invoke fs getcrypt: % fs getcrypt PRIVILEGE REQUIRED
No special priviledges are required for this command. SEE ALSO
fs_setcrypt(1) The description of the fcrypt encryption mechanism at http://surfvi.com/~ota/fcrypt-paper.txt <http://surfvi.com/~ota/fcrypt-paper.txt>. COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2012-03-26 FS_GETCRYPT(1)
All times are GMT -4. The time now is 12:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy