A Couple of Questions...

2009-10-25 Thread sari Al-alem

Hi

I dont know if this is the right place but im new to this encryption software 
and i would like to ask some questions:
1- does GPG have to be installed on all users who will recieve my mail?
2- does it have to be installed on the mail server?

Thanks in advance.
  
_
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen2:102009___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: A Couple of Questions...

2009-10-25 Thread John W. Moore III
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

sari Al-alem wrote:

> I dont know if this is the right place but im new to this encryption
> software and i would like to ask some questions:
> 1- does GPG have to be installed on all users who will recieve my mail?

Short Answer = Yes.  Long Answer = every Recipient will require an
OpenPGP Application of some variety.  GnuPG is the superior one, IMHO.
PGP is also used by many but is available only for Windows.

> 2- does it have to be installed on the mail server?

No.  Of course every Rule has it's exception and My understanding is
that at present, use of OpenPGP on the RIM Blackberry Smartphone does
require PGP to be installed on the Blackberry Email PUSH Server.

HTH

JOHN ;)
Timestamp: Sunday 25 Oct 2009, 08:19  --400 (Eastern Daylight Time)
- -- 
http://tinyurl.com/6hztec
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Public Key at:  http://tinyurl.com/8cpho
Comment: Gossamer Spider Web of Trust: http://www.gswot.org
Comment: Personal Web Page:  http://tinyurl.com/yzhbhx

iQEcBAEBCgAGBQJK5EJuAAoJEBCGy9eAtCsPnMwH/3+Ve0u6lG+bJ9wvUb3n1CoL
IGP5/OmDc9KR7p1Wfauojzj4LxDIeVvWwKlQUsawdnPyLRT6c3aFU7bsWDQkG2sG
DT/SONrWBl5Cvbu0L1tYZZMlaaHBmGqYDi46Nzu1jZJw0cK/gc/Iy3lCcSBIsGAe
uyErXVanEzUu/2pewAOcxTUV8RKurmgtUbnDI+tbBYy8Gdv1o7PWjqtK99MaA03C
sXdK8LWMIkvmE7dw1OvQODZ+LKW+anXC2sw9QQUxdBgmXkeD1Z67hRlb+XAnCNea
w1ZZnERCOU5hhkqJGrHMC2KQKdKbyNTYhjFmaUufZCzE/+wht7IeKCEs9BiZQGM=
=DQ9g
-END PGP SIGNATURE-

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


Re: A Couple of Questions...

2009-10-25 Thread Robert J. Hansen
sari Al-alem wrote:
> 1- does GPG have to be installed on all users who will recieve my
> mail?

No: only those users who want to be able to verify your signatures, or
who want you to be able to send them encrypted email.

> 2- does it have to be installed on the mail server?

No.



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


Re: A Couple of Questions...

2009-10-25 Thread David Shaw

On Oct 23, 2009, at 6:38 PM, sari Al-alem wrote:


Hi

I dont know if this is the right place but im new to this encryption  
software and i would like to ask some questions:
1- does GPG have to be installed on all users who will recieve my  
mail?

2- does it have to be installed on the mail server?


It depends.  In common use #1 is "yes", and #2 is "no".  However,  
there are some setups where you would install it on the mail server so  
the server can decrypt your mail / verify signatures and then provide  
the mail, unencrypted, to you.  This is useful for dealing with mail  
programs that can't or don't handle OpenPGP encrypted mail (for  
example, most cell phones).  This does change the security situation  
to some extent, of course, since your mail server will contain an  
unencrypted copy of the mail.


A good way to look at this is the thing that does the decrypting/ 
verifying needs GPG.  If that thing is your local machinse, then your  
local machines need GPG.  If that thing is the mail server, then your  
mail server needs GPG.


David


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


Re: gpgme error no data for op_verify

2009-10-25 Thread Josselin Jacquard
Ok I found that the gpgme engine is set to gpg for my system.
I set it explicitely to gpg2 and now it's working using
gpgme_set_engine_info(GPGME_PROTOCOL_OpenPGP, "/usr/bin/gpg2", NULL))
Should this work on Mac too ?

Does someone now how to change the gpgme lib to use gpg2 by default on my
system (archlinux)

Bye

2009/10/23 Josselin Jacquard 

> I've working on my problem, and the data allocation seem solved. (Or maybe
> it never appeared and I misjudge the debug info)
>
> Now it's the gpg engine which throws a no data error. I've got this gpgme
> debug output, can someone ather information from it (I myself don't
> understand it quite well).
>
> For information, before this op_verify call, my program is making calls for
> keys and web of trust management without problems.
>
> Thx in advance.
>
> _gpgme_io_pipe (filedes=0xa2a632c): enter: inherit_idx=1 (GPGME uses it for
> reading)
> _gpgme_io_pipe (filedes=0xa2a632c): leave: read=0x6, write=0x7
> _gpgme_io_set_close_notify (fd=0x6): enter:
> close_handler=0xb7e7722c/0xa2a6318
> _gpgme_io_set_close_notify (fd=0x6): leave: result=0
> _gpgme_io_set_close_notify (fd=0x7): enter:
> close_handler=0xb7e7722c/0xa2a6318
> _gpgme_io_set_close_notify (fd=0x7): leave: result=0
> _gpgme_io_pipe (filedes=0xbfd2e1c8): enter: inherit_idx=0 (GPGME uses it
> for writing)
> _gpgme_io_pipe (filedes=0xbfd2e1c8): leave: read=0x8, write=0x9
> _gpgme_io_set_close_notify (fd=0x8): enter:
> close_handler=0xb7e7722c/0xa2a6318
> _gpgme_io_set_close_notify (fd=0x8): leave: result=0
> _gpgme_io_set_close_notify (fd=0x9): enter:
> close_handler=0xb7e7722c/0xa2a6318
> _gpgme_io_set_close_notify (fd=0x9): leave: result=0
> _gpgme_io_pipe (filedes=0xbfd2e1c8): enter: inherit_idx=0 (GPGME uses it
> for writing)
> _gpgme_io_pipe (filedes=0xbfd2e1c8): leave: read=0xb, write=0xc
> _gpgme_io_set_close_notify (fd=0xb): enter:
> close_handler=0xb7e7722c/0xa2a6318
> _gpgme_io_set_close_notify (fd=0xb): leave: result=0
> _gpgme_io_set_close_notify (fd=0xc): enter:
> close_handler=0xb7e7722c/0xa2a6318
> _gpgme_io_set_close_notify (fd=0xc): leave: result=0
> _gpgme_io_spawn (path=0xa286c30): enter: path=/usr/bin/gpg
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 0] = gpg
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 1] =
> --enable-special-filenames
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 2] = --use-agent
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 3] = --batch
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 4] = --no-sk-comment
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 5] = --lc-messages
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 6] = fr_FR.UTF-8
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 7] = --lc-ctype
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 8] = fr_FR.UTF-8
> _gpgme_io_spawn (path=0xa286c30): check: argv[ 9] = --status-fd
> _gpgme_io_spawn (path=0xa286c30): check: argv[10] = 7
> _gpgme_io_spawn (path=0xa286c30): check: argv[11] = --no-tty
> _gpgme_io_spawn (path=0xa286c30): check: argv[12] = --charset
> _gpgme_io_spawn (path=0xa286c30): check: argv[13] = utf8
> _gpgme_io_spawn (path=0xa286c30): check: argv[14] =
> --enable-progress-filter
> _gpgme_io_spawn (path=0xa286c30): check: argv[15] = --display
> _gpgme_io_spawn (path=0xa286c30): check: argv[16] = :0.0
> _gpgme_io_spawn (path=0xa286c30): check: argv[17] = --verify
> _gpgme_io_spawn (path=0xa286c30): check: argv[18] = --
> _gpgme_io_spawn (path=0xa286c30): check: argv[19] = -&8
> _gpgme_io_spawn (path=0xa286c30): check: argv[20] = -&11
> _gpgme_io_spawn (path=0xa286c30): check: fd[0] = 0x7
> _gpgme_io_spawn (path=0xa286c30): check: fd[1] = 0x8
> _gpgme_io_spawn (path=0xa286c30): check: fd[2] = 0xb
> gpgme:max_fds (((void *)0)=0x0): call: max fds=1024 (RLIMIT_NOFILE)
> _gpgme_io_spawn (path=0xa286c30): check: waiting for child process
> pid=22801
> _gpgme_io_close (fd=0x7): enter
> _gpgme_io_close (fd=0x7): check: invoking close handler
> 0xb7e7722c/0xa2a6318
> _gpgme_io_close (fd=0x7): leave: result=0
> _gpgme_io_close (fd=0x8): enter
> _gpgme_io_close (fd=0x8): check: invoking close handler
> 0xb7e7722c/0xa2a6318
> _gpgme_io_close (fd=0x8): leave: result=0
> _gpgme_io_close (fd=0xb): enter
> _gpgme_io_close (fd=0xb): check: invoking close handler
> 0xb7e7722c/0xa2a6318
> _gpgme_io_close (fd=0xb): leave: result=0
> _gpgme_io_spawn (path=0xa286c30): leave: result=0
> _gpgme_add_io_cb (ctx=0xa285d48): call: fd 6, dir=1 -> tag=0xa286c20
> _gpgme_add_io_cb (ctx=0xa285d48): call: fd 9, dir=0 -> tag=0xa2a6400
> _gpgme_io_set_nonblocking (fd=0x9): enter
> _gpgme_io_set_nonblocking (fd=0x9): leave: result=0
> _gpgme_add_io_cb (ctx=0xa285d48): call: fd 12, dir=0 -> tag=0xa2a6428
> _gpgme_io_set_nonblocking (fd=0xc): enter
> _gpgme_io_set_nonblocking (fd=0xc): leave: result=0
> gpgme:gpg_io_event (gpg=0xa2a6318): call: event 0xb7e6bb9c, type 0,
> type_data (nil)
>
> 2009/10/22 Josselin Jacquard 
>
> Hi,
>> I've got a bug and I can't find the solution.
>>
>> I'm calling gpgme_op_verify with a non emp