[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: File encryption and compression tool - Help
Hi....Is it possible to use the "gpg" command anyway to directly display the contents of the "filename.gpg" file without creating any temporary file? Someting like cat which reads (here I am looking at read, decrypt and decompress which is normally done by gpg filename.gpg command. But this command creates a file in the file system which I cannot do) the file and displays it.
Thanks
> -----Original Message-----
> From: Das, Arijit (GE Healthcare)
> Sent: Mon, October 18, 2004 12:10 PM
> To: 'list'
> Subject: File encryption and compression tool - Help
>
> Hi there...I am looking for a simple tool which I can use to encrypt and compress a file and decompress and decrypt a file in Linux.
>
> I can use command line gpg and compress/gzip for it but my decryption/decompression requirement is that I need to read the encrypted/compressed file from a ROM and print its contents into console without creating any temporary files. Basically, I don;t have write permission to the system....i can only read from it and print into the console.
>
> So, I need a kind of simple C/C++ API which I can use to (de/en)crypt and (un/)compress byte/char streams.
>
> Can anybody share any of his experiances regarding this?
>
> Thanks,
> Arijit
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/