Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-26 Thread nschroth

David,

On the target (recipient) machine:
  --list-keys shows my Primary Key, My desktop Key and a co-worker's desktop
key
  --list-secret-keys shows only my Primary Ke
  --list-keys PrimaryKeyUserName it only lists my primary key.

This has happen when a file was encrypted from EITHER my desktop or
mycoworker's desktop.

Nelson



David Shaw wrote:
> 
> On Sep 25, 2009, at 7:19 PM, nschroth wrote:
> 
>>
>> I have been reading previous posts on this topic but have not found my
>> answer.
>> When I ENcrypt on BoxA using -r UserName, decryption on BoxB errors  
>> with :
>> "decryption failed: secret key not available".
>> However, doing the same test using the email address associated with  
>> the
>> recipient, Decryption WORKS.
> 
> It sounds like you have two keys.  When you use "-r username" you're  
> matching one of them.  When you use "-r emailaddr...@example.com"  
> you're matching the other one.
> 
> Check your keyring to be sure: do a "gpg --list-keys username" to see  
> all keys that match that name.
> 
> David
> 
> 
> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Decryption-Fails-on-UserName-but-not-on-EmailAddress-tp25577787p25625892.html
Sent from the GnuPG - User mailing list archive at Nabble.com.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-26 Thread Ingo Klöcker
On Saturday 26 September 2009, nschroth wrote:
> David,
>
> On the target (recipient) machine:
>   --list-keys shows my Primary Key, My desktop Key and a co-worker's
> desktop key
>   --list-secret-keys shows only my Primary Ke
>   --list-keys PrimaryKeyUserName it only lists my primary key.
>
> This has happen when a file was encrypted from EITHER my desktop or
> mycoworker's desktop.

You have to check the source (sender) machine. The wrong key is used 
during encryption.


Regards,

Ingo


> David Shaw wrote:
> > On Sep 25, 2009, at 7:19 PM, nschroth wrote:
> >> I have been reading previous posts on this topic but have not
> >> found my answer.
> >> When I ENcrypt on BoxA using -r UserName, decryption on BoxB
> >> errors with :
> >> "decryption failed: secret key not available".
> >> However, doing the same test using the email address associated
> >> with the
> >> recipient, Decryption WORKS.
> >
> > It sounds like you have two keys.  When you use "-r username"
> > you're matching one of them.  When you use "-r
> > emailaddr...@example.com" you're matching the other one.
> >
> > Check your keyring to be sure: do a "gpg --list-keys username" to
> > see all keys that match that name.
> >
> > David
> >
> >
> > ___
> > Gnupg-users mailing list
> > Gnupg-users@gnupg.org
> > http://lists.gnupg.org/mailman/listinfo/gnupg-users


signature.asc
Description: This is a digitally signed message part.
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Two tidbits of potential interest

2009-09-26 Thread Werner Koch
On Fri, 25 Sep 2009 19:22, marcio.barb...@gmail.com said:

> And as a conclusion, Elgamal problems would be harder to solve. Is it correct?

No; it is not sure that the discrete logarithm problem is harder to
solve that the factoring problem.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Network Mounted Home Directory and removal of --passphrase option

2009-09-26 Thread Werner Koch
On Fri, 18 Sep 2009 16:52, awing...@hotmail.com said:

> I am trying to upgrade to GPG2 and am having trouble, I think all stemming
> from the new user agent feature. My first question: is there a way to simply

Well, it is available for 6 years and GnuPG 2.0 was released 3 years
ago.  Gpg-agent is not optional but a cornerstone of GnuPG-2.

To let us help you fixing your installation, you should give us a bit
more detailed information and exact error messages.


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Decryption Fails on UserName but not on EmailAddress ???

2009-09-26 Thread Laurent Jumet

Hello nschroth !

nschroth  wrote:

> I have been reading previous posts on this topic but have not found my
> answer.
> When I ENcrypt on BoxA using -r UserName, decryption on BoxB errors with :
> "decryption failed: secret key not available".
> However, doing the same test using the email address associated with the
> recipient, Decryption WORKS.
> Can anyone offer some reasons for this?  Did we gen or export or import the
> key incorrectly?

May be there are two similar usernames or part of them in your keyring.

-- 
Laurent Jumet
  KeyID: 0xCFAF704C

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: manual for gpgme

2009-09-26 Thread Andreas Reuleaux
This is what I did (I am new to this list however, so more
experienced people might have better answers):

download the source code of gpgme, cd into the directory,
there is a doc directory in there, with some Makefile stanza Makefile.am
or the like.

I ran 
  $ ./configure 
from the main directory (the one above doc),
just so that the real Makefile was produced in doc

I also had to also install libgpg-error-dev (I am on Debian squeeze),
  # apt-get install libgpg-error-dev
so that the ./configure would go through smoothly
(just as if I had wanted to really build gpgme, I happen to feel
more comfortable however, if everything - the Makefile in this case - 
is built automatically)

Then (with a Makefile in doc), I ran 
  $ make pdf
there, complains still about texi2dvi not being found on my
system, fixed that by installing
  # apt-get install texinfo
and there you go: 
  $ make pdf
should work now.

hope this helps,
  -Andreas



On Tue, Sep 22, 2009 at 02:40:46PM -0400, Maneki Neko wrote:
> Where can I find a manual for gpgme's API?
> On gnupg's homepage, a reference manual is referenced, but there is no such
> manual under Documentation -> Manuals.
> A search on Google only turns up a non-downloadable outdated version of the
> manual for 1.1.6 on pyme.sourceforge.net.
> I see in gpgme download readme that there is supposed to be a manual
> included in /doc, but I'm not sure what to do with those.  I understand I
> should be doing something with texinfo, so I downloaded and installed it,
> but I get a segfault when I run makeinfo --html texinfo.tex.  Am I doing
> something wrong there?  Is there anyway to read the manual directly without
> having to convert it into another format?
> Thanks

> ___
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GPG key not working with other username

2009-09-26 Thread Laurent Jumet

Hello adrian_k !

adrian_k  wrote:

> I need your help really urgent. I created a GPG key on a server with a
> username. When i try to encrypt a file using that same key but using a
> different NT user account it doesn't work.
> How can I grant other users access to the key?

Sounds like the directories and sub-directories where GPG stands have not 
enough permissions for other users.

-- 
Laurent Jumet
  KeyID: 0xCFAF704C

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users