Re: [Rails] Encrypt senders pvtkey with data and with recievers pubkey

2010-01-02 Thread Curtis Jennings Schofield
werd. thanks Aaron - I appreciate your response. On Fri, Jan 1, 2010 at 4:22 PM, Aaron Turner wrote: > You would store the key(s) on disk- just like the OP.   Usually this > is done in the PGP keyring. > > Who's key you would use depend on who you're encrypting the file to & > who you are signi

Re: [Rails] Encrypt senders pvtkey with data and with recievers pubkey

2010-01-01 Thread Aaron Turner
You would store the key(s) on disk- just like the OP. Usually this is done in the PGP keyring. Who's key you would use depend on who you're encrypting the file to & who you are signing it as. Basically, PGP was made specifically for this use case. I can use PGP to encrypt a file to Jack (usin

Re: [Rails] Encrypt senders pvtkey with data and with recievers pubkey

2010-01-01 Thread Curtis Jennings Schofield
Oh - and how would you store the keys. On Fri, Jan 1, 2010 at 1:12 PM, Curtis Jennings Schofield wrote: > Hi - I really value this response. > >  I'm curious about the PGP encryption of the files - who's key would you use? > > > On Fri, Jan 1, 2010 at 1:00 PM, Aaron Turner wrote: >> On Tue, Dec

Re: [Rails] Encrypt senders pvtkey with data and with recievers pubkey

2010-01-01 Thread Curtis Jennings Schofield
Hi - I really value this response. I'm curious about the PGP encryption of the files - who's key would you use? On Fri, Jan 1, 2010 at 1:00 PM, Aaron Turner wrote: > On Tue, Dec 29, 2009 at 6:24 AM, Vamsi Krishna wrote: >> Hi All, >> >> I wanted to ensure confidentiality by encrypting some in

Re: [Rails] Encrypt senders pvtkey with data and with recievers pubkey

2010-01-01 Thread Aaron Turner
On Tue, Dec 29, 2009 at 6:24 AM, Vamsi Krishna wrote: > Hi All, > > I wanted to ensure confidentiality by encrypting some information.  I > also wanted to maintain non-reputability by encrypting huge data with > the senders > private RSA key. > > Here the data is first encrypted with Senders(lets

Re: [Rails] Encrypt senders pvtkey with data and with recievers pubkey

2009-12-30 Thread Michael Graff
An RSA key can only encrypt data of a certain size, related to the key size. What you want to do is not what you are doing. RSA is rarely used to encrypt data directly. Instead, a symmetric key (AES, 3DES, or other secure algorithm) is used to encrypt the data using a randomly generated key, and

[Rails] Encrypt senders pvtkey with data and with recievers pubkey

2009-12-29 Thread Vamsi Krishna
Hi All, I wanted to ensure confidentiality by encrypting some information. I also wanted to maintain non-reputability by encrypting huge data with the senders private RSA key. Here the data is first encrypted with Senders(lets say A) private key and then Recievers(lets say B) public key.To decry