pgp

PGP for ASP.NET?

What is the best/simpliest to use PGP library for use with an ASP.NET application? We need to be able to encrypt a text file for submission to a vendor via FTP. ...

PGP Encrypt from C# using GnuPG

Hello All, I'm trying to encrypt a incoming document in C#, and I'm using GnuPG with input redirection. I need to use -se(sign and encrypt) in a single step, which requires entering passphrase. But for some reason, input redirection is not working. Appreciate your help. Control is going to else block. I'm not sure if there is deadlock or...

PGP secured emails for the computer illiterate??

I have an informal group that need to exchange emails between each other in a secured fashion. I am a programmer and can barely get away with using PGP (using http://www.jumaros.de/rsoft/index.html), so I cannot except the "average" person to send using PGP. I cannot change everyone's email to a PGP-enabled mail server either because eve...

PGP Desktop - missing signing keys

I'm using PGP Desktop (10.0.0) to sign text in the clipboard, but not all of my private keys show up in the drop-down list of signing keys. It's particularly frustrating because the key I want to use is the oldest (original) key I have, and it's usually the one I want to use. I can type the passphrase for the key I want to use, and PGP ...

How to transfer pgp private&public key to another computer?

I read this article which explained very well how to setup pgp on osx, but I'm planning to use the generated keys for signing git commits, so I figure I need to transfer the keys to my other computer. Is this correct? and if so how do I go about transferring the keys? ...

PGP Encrypting emails for site users (ASP.NET)

Hello, One requirement for a new site is for any emails sent from the site to the users (like newsletters etc) are to be sent using PGP encryption. Has anyone ever done this before / is it possible and if it is possible where can i find information on how to do this? Thanks for any help! Elliott ...

Recommended solutions to use PGP-compatible file encryption from a Java app running on Linux?

I need to replace an existing application that, among other things, will need to encrypt/decrypt/sign messages and files in a manner compatible with PGP Desktop. The new application is written in Java (JDK 1.6) and will run on Linux. After surveying what's available, I see BouncyCastle (http://www.bouncycastle.org/java.html) supports ...

What algorithm does PGP use to encrypt the private key using the passphrase?

The PGPKeyRingGenerator constructor takes in a passphrase to encrypt the private key. What is the algorithm that it uses to do this? It has a field called encAlgorithm, but I couldn't find any documentation explaining what these algorithms are. ...

Looking for a model explaining the internal structure of a PGP-signed & encrypted file

I'm trying to debug & extend an existing piece of Java code using BouncyCastle to decrypt and verify secured attachments. I've looked through the BouncyCastle samples but what it's harder to extract from there is a model of what a PGP-secured attachments looks like. From the code and various errors I can infer there is something repres...

Problem decrypting PGP in python with pyme without user interaction

I am trying to decrypt messages using pyme (a python wrapper from gpgme). It works fine if I type in the password when it prompts but I cannot get the passphrase callback to work. Here is the code import pyme.core def Callback( x, y, z ): print 'in passphrase callback' return 'passphrase' plain = pyme.core.Data() cipher = pyme.co...

Is there a good python library that provides PGP decryption functionality without the use of a subprocess?

I am looking for a way to decrypt pgp messages in python without the use of a subprocess. I have checked out http://wiki.python.org/moin/GnuPrivacyGuard but none of those solutions worked. Pyme almost worked except I hit a wall when trying to use set_passphrase_cb to avoid any user interaction but couldn't get it working ( http://stackov...

problem encrypting content with Ruby OpenPGP gem

We're using the OpenPGP gem (http://openpgp.rubyforge.org/) to PGP- encrypt an XML file for submission to a third-party for processing. The prob is that when encrypting, we get errors like the following: RangeError: 1502 out of char range from /Users/dev/.rvm/gems/ruby-1.8.7-p249@dev/gems/ openpgp-0.0.3/lib/openpgp/buffer.rb:1...

Is there a way to get an installed RPM's signature Key ID programatically?

As displayed by rpm -qi package? I don't really want to parse the output of rpm -qi. I'd much rather use rpm -q --qf, of which I can control the format and is not subjected to a future version's aesthetic whims. But the only useful tag I can find in the man page is SIGPGP, which gets me the entire signature, not only the short key id. ...

Is it safe to leave my password-protected PGP secret key available publicly?

My PGP secret keys are always password protected, which means you need to decrypt it using a symmetric key to get access to my private key. I am interested in making my password protected PGP secret key publicly available but I am not entirely sure if I am missing something. Storing my secret key on my computer seems only to be making t...

Are there any good PGP libraries for .NET?

I'm looking for something that is non-beta and can decrypt a file with a couple lines of code. I tried looking at BouncyCastle, but its so complicated I can't figure it out and every forum I check has people likewise perplexed. I also looked at SharpPGP, but that never got past version 0.1 and the author himself recommends against usi...

Encrypted email test data set

I'm looking for a set of emails encrypted (and signed) by a variety of email clients in order to test a mail client. A downloadable mbox file along with test gpg keys would be ideal for this. There seem to be a variety of ways that emails are encrypted (and signed), so getting all of them to work is difficult. And then you find another ...

How to encrypt a string/stream with bouncycastle pgp without starting with a file

I need to encrypt a stream with pgp using the bouncycastle provider. All of the examples I can find are about taking a plain text file and encrypting that however I won't have a file and it's important that the plain text never be written to disk. Most of the methods I've seen are using PGPUtil.writeFileToLiteralData which wants the p...

Plugin for using pgp encryption with gmail

Are there any Firefox or Chrome plugins for encrypting/decrypting and signing/verifying emails for web based gmail? I have Thunderbird setup to do this but I'm interested in doing this on a browser. Firefox had a plugin called FireGPG which does exactly this but the developer abandoned the project and now I can't find anything that's si...

Bouncycastle pgp decryption correct size but all blank

When I call this, it successfully encrypts my string but the output of the decrypted text is blank. I get no errors and the byteArray of the output string is of the correct lenth (102), however it's just 102 zeros. This is adapted from the KeyBasedFileProcessor example but is attempting to be stream/string based instead of file based. ...

weird aptana php debug redirecting localhost to www.localhost.com

Note: debug (using xdebug) has been working great on this machine for months. Using aptana to debug php app on local machine (win7). Webserver is wamp. Was working fine earlier today, now when I come to step thru app (configured for external firefox browser), shows 1st line of app, session_start. Singlestep that, and firefox comes up wi...