pgp encryption


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users pgp encryption
# 1  
Old 04-13-2007
gpg 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 failling with the error code 2


Can anybody help me out to understand why this is so.

/usr/local/bin/gpg --always-trust --output $v_pgp_file_name --recipient userid --encrypt $v_file_name


Thanks in advance

Arvind Maurya

Last edited by Arvind Maurya; 04-13-2007 at 10:06 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. Cybersecurity

File encryption tools with MAC address as an encryption key

Hi all, I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS. For example: when A wants to send file to B A will encrypt the file with B's computer MAC/IP address as an encryption key This file can only be decrypted... (2 Replies)
Discussion started by: sergionicosta
2 Replies

3. 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

4. Linux

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 gpg -c scsrun.log Enter passphrase : Repeat Passphrase : But how I can achive this using linux script. Thanks How to use code tags (3 Replies)
Discussion started by: mr_harish80
3 Replies

5. 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

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. 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

8. 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

9. 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
Login or Register to Ask a Question
SCRIPTREPLAY(1) 						   User Commands						   SCRIPTREPLAY(1)

NAME
scriptreplay - play back typescripts, using timing information SYNOPSIS
scriptreplay [options] [-t] timingfile [typescript [divisor]] DESCRIPTION
This program replays a typescript, using timing information to ensure that output happens at the same speed as it originally appeared when the script was recorded. The replay simply displays the information again; the programs that were run when the typescript was being recorded are not run again. Since the same information is simply being displayed, scriptreplay is only guaranteed to work properly if run on the same type of terminal the typescript was recorded on. Otherwise, any escape characters in the typescript may be interpreted differently by the terminal to which scriptreplay is sending its output. The timing information is what script(1) outputs to standard error if it is run with the -t parameter. By default, the typescript to display is assumed to be named typescript, but other filenames may be specified, as the second parameter or with option -s. If the third parameter is specified, it is used as a speed-up multiplier. For example, a speed-up of 2 makes scriptreplay go twice as fast, and a speed-up of 0.1 makes it go ten times slower than the original session. OPTIONS
The first three options will overide old-style arguments. -t, --timing file File containing script timing output. -s, --typescript file File containing the script terminal output. -d, --divisor number Speed up the replay displaying this number of times. The argument is a floating point number. It's called divisor because it divides the timings by this factor. -V, --version Display version information and exit. -h, --help Display a help message and exit. EXAMPLE
% script --timing=file.tm script.out Script started, file is script.out % ls <etc, etc> % exit Script done, file is script.out % scriptreplay --timing file.tm --typescript script.out SEE ALSO
script(1) COPYRIGHT
Copyright (C) 2008 James Youngman Copyright (C) 2008 Karel Zak This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Released under the GNU General Public License version 2 or later. AUTHOR
The original scriptreplay program was written by Joey Hess <joey@kitenet.net>. The program was re-written in C by James Youngman <jay@ gnu.org> and Karel Zak <kzak@redhat.com>. AVAILABILITY
The scriptreplay command is part of the util-linux package and is available from Linux Kernel Archive <ftp://ftp.kernel.org/pub/linux/utils /util-linux/>. util-linux September 2011 SCRIPTREPLAY(1)