pgp

Automating PGP decryption

We would like to automate the decryption of PGP files to our site so they my be processed. Our clients send PGP encrypted files to us via FTP. We have written a service which consumes these files and does stuff with the data. The problem we are having is determining a good (perhaps easy) way to decrypt the files from the service or ...

what is the best python method for encryption

I retrieved the PGP key from the public key server ,Now need help in getting a python method for encryption which can accept this PGP public key . As i know PGP/Gnupg.py module do not allow me to use encryption/decryption function separately without generating the key. ...

SSIS PGP encryption

I have a SSIS package that writes the output to Flat file. Now I need to PGP encrypt the output file and further decrypt in other packages. I am curious if anyone knows of how to do this, or better yet a website with helpful hints on how to do it. Thanks ...

in php how to find already encrypted file in specific folder.

Hi, I am using PGP (GNU Privacy Guard) for encrypting the file. while encrypting i removed the '.pgp' extension of encrypted file. Now some how i want to know which file is already encrypted in the specific folder. Note :- my goal is that ... do not encrypt any file twice ... so before encrypt any file .. i want to check is the file ...

Can I store a PGP key ring in a csp parameters key container?

Hello, i have been using PGP. I need to safely store our PGP keyring for our application that will be processing some pgp files. Can I believe that the PGP is Asymmetric cryptography and i should be able to store the information for keyring in a key container? ...

Access PGP Encrypted Folder

I am currently reviewing an architecture document which details using PGP folder based encryption (and I though PGP died years ago). Does anyone know of a .NET or Java library that could be used to read/write files to a PGP encrypted folder (or if a library is even needed)? ...

PGP passphrases in company

Friend of mine wanted introduce in his company emails PGP encryption for exchange mails with clients. He asked me to write easy app supporting that. I found useful dll wrapper - so it seems to be not very big deal to write app. What puzzles me is security aspect. (I dont want to push him on the mine) I know PGP uses private/public keys ...

how are pgp keys formatted?

i want to write a program in python to simply read pgp keys. however, i cant seem to find any documentation describing how pgp keys are formatted. i dont want to be searching through the source code of open pgp to look for source code that i wont be able to understand. say i open a public key, remove the top "-----BEGIN PGP PUBLIC KEY ...

php mcrypt - decrypting and encrypting files?

I've been looking around for a php class that allows the decryption / encryption of pgp-encrypted csv files. Everything I've found has been primarily geared towards passwords. I'm assuming the principles are essentially the same, but was wondering if someone here can point me in the direction of a class specifically intended to receive...

Extracting encrypted bits from PGP SDA?

Apparently PGP on Windows can create Self-Decrypting Archives, by wrapping an encrypted piece of data in some executable code. Is there some way of extracting the encrypted bits and use GnuPG on Linux to decrypt? ...

How do you encrypt parts of a file separately using pgp?

I would like to encrypt credit card numbers on a web server as they come in using PGP. I would then like to be able to export all of the credit card numbers and other information in one file that can be easily decrypted using standard PGP software. Is it possible to take the encrypted credit card numbers and join them with other encrypt...

PGP Command Line Decryption --- How to decrypt file?

I was sent a public key in order to decrypt a pgp-encrypted file as well as a passphrase. I imported the key with: gpg --import publickey.asc And verified it with gpg --list-keys Now, I'm trying to decrypt the file. I put the passphrase in a file called pass.txt and ran this at the command line: gpg -d encryptedfile.txt.pgp --o...

gpg error - connection already closed?

omg... hope someone can help me because I am so lost as to what to try next.... I don't know what is causing the error to happen, and I don't see how to figure it out... Keep going between the pgloader.conf examples and what I have, and I don't understand why I keep getting the 'connection already closed' error? The first few lines of...

OpenPGP Signing

I'm reading RFC4880 in an attempt to produce an implementatdion of a subset of OpenPGP (RSA signatures) using http://phpseclib.sourceforge.net/. I have the publickey and compression-literal-signature packets parsed out. I can extract n and e and feed them to Crypt_RSA to construct a verifier. I tell it I'm using sha256. It then ne...

Connecting to PGP Desktop encrypted MS Access database

I'm using a computer that has an encryption program installed called "PGP Desktop". This app encrypts individual files in a folder so that you can only open them if you are running PGP Desktop and provide the unlock key. I need to import data into SQL Server from the access database which is PGP Desktop encrypted. There is no password ...

Need example for BouncyCastle PGP File encryption in C#

Hi, I'm trying to encrypt files using my private key (in ascii format) and any other public key (also in ascii format). The BouncyCastle library looks like the correct thing to use, but I cannot find documentation for C#. Could anyone please assist me with an example. Thank you. ...

Shell script not picking up password file...

Running the below shell script seems to ignore the password file I'm feeding it. I'm continually prompted for it. If I enter it, the rest of the script goes without a hitch, but as I'm running it via cron, I really need to get it to read from the file... Any suggestions? #!/bin/sh p=$(<password.txt) set -- $p pass_phrase=$1 destinatio...

pgp key information

can someone show a description of the information of what a pgp looks like if only the descriptions were there but not the actual information? something like (i dont remember if the values are correct): packet-type[4 bits], total length in bytes[16 bits], packet version type [4 bits], creation-time[32 bits], encryption-algori...

PGP Encryption in Javascript

I'm looking to do some client-side PGP encryption in Javascript. I've found some GPL library scattered on the web, but for obvious reason, I cannot use that code due to licensing issues. I'm looking for some BSD-like license library that would accomplish the same thing. Anyone know of a library I could use? ...

Easiest way to sign/certify text file in C++?

I want to verify if the text log files created by my program being run at my customer's site have been tampered with. How do you suggest I go about doing this? I searched a bunch here and google but couldn't find my answer. Thanks! Edit: After reading all the suggestions so far here are my thoughts. I want to keep it simple, and since...