RE: Unable to encrypt file with private/public key

2014-12-29 Thread Pete Stephenson
ge. > Dhiraj > > > > > > From: Pete Stephenson [mailto:p...@heypete.com] > Sent: 23 December 2014 11:24 > To: Haritwal, Dhiraj > Cc: gnupg-users@gnupg.org > > Subject: RE: Unable to encrypt file with private/public key > > > > On Dec 22, 2014 7:30 AM,

RE: Unable to encrypt file with private/public key

2014-12-29 Thread Haritwal, Dhiraj
om] Sent: 23 December 2014 11:24 To: Haritwal, Dhiraj Cc: gnupg-users@gnupg.org Subject: RE: Unable to encrypt file with private/public key On Dec 22, 2014 7:30 AM, "Haritwal, Dhiraj" mailto:dhiraj.harit...@ap.sony.com>> wrote: > > Thank you very much for all the explanation/li

RE: Unable to encrypt file with private/public key

2014-12-22 Thread Pete Stephenson
On Dec 22, 2014 7:30 AM, "Haritwal, Dhiraj" wrote: > > Thank you very much for all the explanation/links. Now things are bit clear. > Now I have to encrypt file with partner's Public Key. I tried with below command which is still showing warning message (gpg: 89709B71: There is no assurance this k

RE: Unable to encrypt file with private/public key

2014-12-22 Thread Haritwal, Dhiraj
adcom.com] Sent: 19 December 2014 23:43 To: Haritwal, Dhiraj; gnupgpacker; gnupg-users@gnupg.org Subject: RE: Unable to encrypt file with private/public key Dhiraj, You need to clarify your terminology: Key pairs are composed of public and private keys. Each person generates a key pair. You freely

RE: Unable to encrypt file with private/public key

2014-12-19 Thread Bob (Robert) Cavanaugh
- From: Gnupg-users [mailto:gnupg-users-boun...@gnupg.org] On Behalf Of Haritwal, Dhiraj Sent: Friday, December 19, 2014 2:36 AM To: gnupgpacker; gnupg-users@gnupg.org Subject: RE: Unable to encrypt file with private/public key Thanks for the clarification, Chris. I got confused with recipient switch

Re: Unable to encrypt file with private/public key

2014-12-19 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Friday 19 December 2014 at 9:14:05 AM, in , Haritwal, Dhiraj wrote: > Thank you all for your response. > What I have learned so far from these threads is > Signing always require a passphrase whereas encryption > can be done without Passphras

Re: Unable to encrypt file with private/public key

2014-12-19 Thread Pete Stephenson
On 12/19/2014 6:05 AM, Haritwal, Dhiraj wrote: > One more thing, this time when I encrypt the file with my private key > (without sign & only with armor switch), it's still asking passphrase > to decrypt it even on my same server. That means it's still using > PassPhrase to encrypt the file. Does

Re: Unable to encrypt file with private/public key

2014-12-19 Thread Pete Stephenson
On 12/19/2014 5:36 AM, Haritwal, Dhiraj wrote: [snip] > One more query, partner is saying they are unable to decrypt this > file with my private key which they have trusted & asking to encrypt > this file with my private key & their public key (already trusted on > my server). when I am suing both

RE: Unable to encrypt file with private/public key

2014-12-19 Thread Haritwal, Dhiraj
e Gnupg config. Dhiraj -Original Message- From: Gnupg-users [mailto:gnupg-users-boun...@gnupg.org] On Behalf Of Haritwal, Dhiraj Sent: 19 December 2014 16:06 To: gnupgpacker; gnupg-users@gnupg.org Subject: RE: Unable to encrypt file with private/public key Thanks for the clarification

RE: Unable to encrypt file with private/public key

2014-12-19 Thread Haritwal, Dhiraj
Thanks for the clarification, Chris. I got confused with recipient switch. In general (Exchange), Recipient is the one to whom we are sending the data or who will receive data. In our case we are sending the data to partner hence I was using partner's public key to encrypt the file. After I used

RE: Unable to encrypt file with private/public key

2014-12-19 Thread Haritwal, Dhiraj
Sent: 18 December 2014 21:35 To: gnupg-users@gnupg.org Subject: Re: Unable to encrypt file with private/public key On 18/12/14 15:39, Haritwal, Dhiraj wrote: > Hi, > > Thanks for your response. > > About the below command, it's asking for passphrase whereas my requirement i

Re: Unable to encrypt file with private/public key

2014-12-18 Thread Duplicity Mailing List
On 18/12/14 16:04, Duplicity Mailing List wrote: > It's _only_ for signing, _not_ for > encrypting/transportation of data Ignore all of this. I made a huge mistake, apparently you can encrypt data and store it in the ASCII files, I have no idea why I thought you couldn't, it's so logical that you

Re: Unable to encrypt file with private/public key

2014-12-18 Thread Duplicity Mailing List
On 18/12/14 15:39, Haritwal, Dhiraj wrote: > Hi, > > Thanks for your response. > > About the below command, it's asking for passphrase whereas my requirement is > to use only keys to encrypt/sign it. > > gpg2 -u FFEEDDCC -r AABBCCDD -se supersecret.txt > > I tried below command which shows con

Re: Unable to encrypt file with private/public key

2014-12-18 Thread Werner Koch
On Thu, 18 Dec 2014 16:39, dhiraj.harit...@ap.sony.com said: > gpg2 -u FFEEDDCC -r AABBCCDD -se supersecret.txt You asked to sign (-s) and thus it has to ask for the passphrase (unless you key is not protected by a passphrase). > I tried below command which shows confirmation screen where I have

RE: Unable to encrypt file with private/public key

2014-12-18 Thread vedaal
On 12/18/2014 at 10:38 AM, "Dhiraj Haritwal" wrote: >About the below command, it's asking for passphrase whereas my >requirement is to use only keys to encrypt/sign it. > >gpg2 -u FFEEDDCC -r AABBCCDD -se supersecret.txt - '-s' in the above command means that you want to sign. Whenever y

RE: Unable to encrypt file with private/public key

2014-12-18 Thread Haritwal, Dhiraj
-Original Message- From: Gnupg-users [mailto:gnupg-users-boun...@gnupg.org] On Behalf Of Duplicity Mailing List Sent: 17 December 2014 23:03 To: gnupg-users@gnupg.org Subject: Re: Unable to encrypt file with private/public key On 17/12/14 14:43, Haritwal, Dhiraj wrote: > Hi, > > > &g

Re: Unable to encrypt file with private/public key

2014-12-17 Thread Duplicity Mailing List
On 17/12/14 14:43, Haritwal, Dhiraj wrote: > Hi, > > > > I am using gpg (GnuPG) 1.4.7 & trying to encrypt a file with private key > whose public key I have shared to the partner who have to decrypt this > file. I tried with --armour –symmetric switches which requires a > passphrase to encrypt b