04-11-2008
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,
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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. UNIX for Dummies Questions & Answers
My dilemma,
I need to send, deemed confidential, information via e-mail (SMTP). This information is sitting as a file on AIX. Typically I can send this data as a e-mail attachment via what we term a "mail filter" using telnet. I now would like to somehow encrypt the data and send it to a e-mail... (1 Reply)
Discussion started by: hugow
1 Replies
3. Solaris
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
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
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. Solaris
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
7. Linux
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
8. UNIX for Advanced & Expert Users
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. Cybersecurity
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
10. Homework & Coursework Questions
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
LEARN ABOUT OSX
evp_sealupdate
EVP_SealInit(3) OpenSSL EVP_SealInit(3)
NAME
EVP_SealInit, EVP_SealUpdate, EVP_SealFinal - EVP envelope encryption
SYNOPSIS
#include <openssl/evp.h>
int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
unsigned char **ek, int *ekl, unsigned char *iv,
EVP_PKEY **pubk, int npubk);
int EVP_SealUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
int *outl, unsigned char *in, int inl);
int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out,
int *outl);
DESCRIPTION
The EVP envelope routines are a high level interface to envelope encryption. They generate a random key and IV (if required) then
"envelope" it by using public key encryption. Data can then be encrypted using this key.
EVP_SealInit() initializes a cipher context ctx for encryption with cipher type using a random secret key and IV. type is normally supplied
by a function such as EVP_des_cbc(). The secret key is encrypted using one or more public keys, this allows the same encrypted data to be
decrypted using any of the corresponding private keys. ek is an array of buffers where the public key encrypted secret key will be written,
each buffer must contain enough room for the corresponding encrypted key: that is ek[i] must have room for EVP_PKEY_size(pubk[i]) bytes.
The actual size of each encrypted secret key is written to the array ekl. pubk is an array of npubk public keys.
The iv parameter is a buffer where the generated IV is written to. It must contain enough room for the corresponding cipher's IV, as
determined by (for example) EVP_CIPHER_iv_length(type).
If the cipher does not require an IV then the iv parameter is ignored and can be NULL.
EVP_SealUpdate() and EVP_SealFinal() have exactly the same properties as the EVP_EncryptUpdate() and EVP_EncryptFinal() routines, as
documented on the EVP_EncryptInit(3) manual page.
RETURN VALUES
EVP_SealInit() returns 0 on error or npubk if successful.
EVP_SealUpdate() and EVP_SealFinal() return 1 for success and 0 for failure.
NOTES
Because a random secret key is generated the random number generator must be seeded before calling EVP_SealInit().
The public key must be RSA because it is the only OpenSSL public key algorithm that supports key transport.
Envelope encryption is the usual method of using public key encryption on large amounts of data, this is because public key encryption is
slow but symmetric encryption is fast. So symmetric encryption is used for bulk encryption and the small random symmetric key used is
transferred using public key encryption.
It is possible to call EVP_SealInit() twice in the same way as EVP_EncryptInit(). The first call should have npubk set to 0 and (after
setting any cipher parameters) it should be called again with type set to NULL.
SEE ALSO
evp(3), rand(3), EVP_EncryptInit(3), EVP_OpenInit(3)
HISTORY
EVP_SealFinal() did not return a value before OpenSSL 0.9.7.
0.9.8 2009-04-03 EVP_SealInit(3)