Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to configure alpine to use pgp

733 views
Skip to first unread message

Rachit Agrawal

unread,
Jun 17, 2009, 11:03:54 AM6/17/09
to
Can anyone please help me for setting up alpine to use pgp email
signing?

Thanks
Rachit

Rob Brown

unread,
Jun 17, 2009, 2:05:15 PM6/17/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Wed, 17 Jun 2009 at 08:03 -0700, Rachit Agrawal wrote:

> Can anyone please help me for setting up alpine to use pgp email
> signing?

I seem to be using PinePgp 0.18.0 from
<http://hany.sk/~hany/software/pinepgp/>. A google search for pinepgp
and for pgppine finds much potentially useful advice.

hth

- - Rob


- --

Rob Brown b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd. (780)438-9343 (voice)
Edmonton (780)437-3367 (FAX)
http://gmcl.com/
public key http://gmcl.com/people/brown.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFKOTC07dpyz1U70VQRAuUIAJ49uGqRaa+s4TbbsVu6bdgT2OI5/QCdEKzl
DBES6/lELyQz7buzRYY9a8A=
=zfYz
-----END PGP SIGNATURE-----

Erik Quaeghebeur

unread,
Jun 17, 2009, 3:03:23 PM6/17/09
to
> On Wed, 17 Jun 2009 at 08:03 -0700, Rachit Agrawal wrote:
>
>> Can anyone please help me for setting up alpine to use pgp email signing?

On Wed, 17 Jun 2009, Rob Brown wrote:
>
> I seem to be using PinePgp 0.18.0 from
> <http://hany.sk/~hany/software/pinepgp/>. A google search for pinepgp and
> for pgppine finds much potentially useful advice.

As far as I know, Topal is the most up-to-date solution:
http://homepage.ntlworld.com/phil.brooke/topal/


Erik

Rachit Agrawal

unread,
Jun 18, 2009, 1:52:53 AM6/18/09
to
Thanks Erik and Rob,

I tried pinepgp, and after doing all the setup. I get the following
error message.

"Couldn't find certificate needed to sign."

And i am bit reluctant to use Topal. Don't have any reason, but still
I don't want to install anything new.
Can you please help me out with the above error message?

Thanks

Vitus Jensen

unread,
Jun 18, 2009, 10:18:27 AM6/18/09
to
On Wed, 17 Jun 2009, Erik Quaeghebeur wrote:

>> On Wed, 17 Jun 2009 at 08:03 -0700, Rachit Agrawal wrote:
>>
>> > Can anyone please help me for setting up alpine to use pgp email
>> > signing?
>
> On Wed, 17 Jun 2009, Rob Brown wrote:
>>
>> I seem to be using PinePgp 0.18.0 from

>> <http://hany.sk/~hany/software/pinepgp/>. A google search for pinepgp ad


>> for pgppine finds much potentially useful advice.
>
> As far as I know, Topal is the most up-to-date solution:
> http://homepage.ntlworld.com/phil.brooke/topal/

topal is working fine here and the author is very helpfull in case of
problems. If your distribution doesn't supply a recent version
compilation of the archive from Phil went very smooth.

I'm trying to get gpgme support directly into alpine but this takes time.

Vitus

--
Vitus Jensen, Hannover, Germany, Earth, Universe (current)

signature.asc

Rob Brown

unread,
Jun 18, 2009, 11:25:08 AM6/18/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 17 Jun 2009 at 22:52 -0700, Rachit Agrawal wrote:

> I tried pinepgp, and after doing all the setup. I get the following
> error message.
>
> "Couldn't find certificate needed to sign."

As near as I can tell, this message does not come from pinepgp. It is
strange to me to see the word "certificate" in the error message, as I
thought that pgp / gnupg used the word "key".

So some questions for you:

What is the host operating system?
What version of alpine?
What version of pgp or gnupg?
Can you sign a file using the appropriate pgp or gnupg commands?
What did you do to produce the error message?

- - Rob


- --

Rob Brown b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd. (780)438-9343 (voice)
Edmonton (780)437-3367 (FAX)
http://gmcl.com/

http://gmcl.com/people/brown.txt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFKOlxc7dpyz1U70VQRArc2AJ4rqm/huhBe2D1kz3VzLNMPW/JZygCeLkIl
THUGlmAEqkvfhVxSy49sjC4=
=I4uf
-----END PGP SIGNATURE-----

Rachit Agrawal

unread,
Jun 18, 2009, 1:26:54 PM6/18/09
to
On Jun 18, 8:25 pm, Rob Brown <mylastn...@gmcl.com> wrote:
>
Thanks Vitus and Rob,
Here are the info you asked for.

What is the host operating system?

fedora core 11

What version of alpine?
2.00

What version of pgp or gnupg?

gnupg 1.4.9

Can you sign a file using the appropriate pgp or gnupg commands?

Yes

What did you do to produce the error message?

In Alpine, when I tried sending a message(Ctrl + x) -> (G). It gave me
this particular error.

I hope all this info will give you a clue what the problem is. Do tell
me what should I do?

Rachit Agrawal

unread,
Jun 18, 2009, 2:28:41 PM6/18/09
to
On Jun 18, 8:25 pm, Rob Brown <mylastn...@gmcl.com> wrote:
>

I have a passphrase and since alpine does not ask for passphrase. Can
that be a problem??

Rob Brown

unread,
Jun 18, 2009, 4:13:29 PM6/18/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thu, 18 Jun 2009 at 10:26 -0700, Rachit Agrawal wrote:

> In Alpine, when I tried sending a message(Ctrl + x) -> (G). It gave
> me this particular error.

Don't you have to press <return>? When I tried that, it just changed
the prompt. Eventually, I have to press <return> if I want to send
the message.

If you get this error message before you press return, I don't know
what to think.

On Thu, 18 Jun 2009 at 11:28 -0700, Rachit Agrawal wrote:

> I have a passphrase and since alpine does not ask for passphrase.
> Can that be a problem??

Or perhaps a symptom.

When I finally press <return> (above), it runs the pinepgp script,
which runs gpg, which prompts for my passphrase.

So it would seem that you are never getting to gpg.

In /usr/local/lib/pine.conf I see:

# This variable takes a list of programs that message text is piped into
# after MIME decoding, prior to display.
display-filters=_LEADING("-----BEGIN PGP MESSAGE-----")_ /usr/local/bin/gpg-check,
_LEADING("-----BEGIN PGP SIGNED MESSAGE-----")_ /usr/local/bin/gpg-check

# This defines a program that message text is piped into before MIME
# encoding, prior to sending
sending-filters=/usr/local/bin/gpg-sign,
/usr/local/bin/gpg-encrypt _RECIPIENTS_,
/usr/local/bin/gpg-sign+encrypt _RECIPIENTS_

Do you have these filters defined? Do these files exist?

If you pipe a text file into /usr/local/bin/gpg-sign, does it output
a signed message?

- - Rob


- --

Rob Brown b r o w n a t g m c l d o t c o m
G. Michaels Consulting Ltd. (780)438-9343 (voice)
Edmonton (780)437-3367 (FAX)
http://gmcl.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFKOp/y7dpyz1U70VQRAopBAJ0YfDqqf9/CUmJMpjae2PcPMPHrBwCfZSBe
F76YNv+4PEwDcNid9aQpOnw=
=sTov
-----END PGP SIGNATURE-----

Frank Merlott

unread,
Jun 19, 2009, 4:12:03 AM6/19/09
to
>
> What version of pgp or gnupg?
> gnupg 1.4.9
>
In case it may be of use, there is a new updated GnuPG version
available
for download, GnuPG 2.0.

GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP
and S/MIME

http://gnupg.org/download/

--
Privacylover: http://www.privacylover.com


Rachit Agrawal

unread,
Jun 19, 2009, 4:36:38 AM6/19/09
to

But is version the problem?? I don't think so..

Rachit Agrawal

unread,
Jun 19, 2009, 5:13:56 AM6/19/09
to
On Jun 19, 1:13 am, Rob Brown <mylastn...@gmcl.com> wrote:
>

yes I had those filters. But its not working. But I have one doubt, I
don't have any binary called gpg-check or gpg-sign. So, that will any
way be wrong.

Rachit Agrawal

unread,
Jun 19, 2009, 8:25:08 AM6/19/09
to

Well got what was the problem.

It was taking wrong user-id and was looking for the key corresponding
to this user-id. Alpine by default takes linux login name as your user-
id. And this is not same for me as my email id. So, there was this
issue.

Made a role and did the configuration. Now Its working fine.

Thanks all.

Rob Brown

unread,
Jun 19, 2009, 12:14:31 PM6/19/09
to
On Fri, 19 Jun 2009 at 05:25 -0700, Rachit Agrawal wrote:

> .... Now Its working fine.

Great!

Beartooth TpBkR

unread,
Jun 19, 2009, 4:38:17 PM6/19/09
to
On Thu, 18 Jun 2009 16:18:27 +0200, Vitus Jensen wrote:
[....]

> I'm trying to get gpgme support directly into alpine but this takes
> time.

Under what distro?? gpgme, which comes with Fedora, explains its
name as GPG Made Easy!

Please give us a follow-up when you have it working!
--
Beartooth Implacable, Curmudgeonly Codger Learning Linux
On the Internet, you can never tell who is a dog --
supposing you care -- but you can tell who has a mind.

O. Albrecht Skibbe

unread,
Jun 20, 2009, 1:38:54 PM6/20/09
to
On Thu, 18 Jun 2009 16:18:27 +0200, Vitus Jensen wrote:

> topal is working fine here and the author is very helpfull in case
> of problems.

I can second on that.

> I'm trying to get gpgme support directly into alpine but this takes
> time.

Was there any hint in this group for the fork of alpine? Might be of
interest for developers: <http://sourceforge.net/projects/re-alpine/>

Cheers,
Olaf

Frank Merlott

unread,
Jun 23, 2009, 1:13:09 AM6/23/09
to
Rachit Agrawal expressed precisely :
> On Jun 19, 1:12ᅵpm, Frank Merlott <Fr...@has.no.email> wrote:
>>> ᅵWhat version of pgp or gnupg?

>>> gnupg 1.4.9
>>
>> In case it may be of use, there is a new updated GnuPG version
>> available
>> for download, GnuPG 2.0.
>>
>> GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP
>> and S/MIME
>>
>> http://gnupg.org/download/
>>
>
> But is version the problem?? I don't think so..

I dont think it is, but is always best to runthe latest stable release,
specially when it comes to security software.

--
Privacylover: http://www.privacylover.com


phil...@yahoo.co.uk

unread,
Jul 14, 2009, 3:59:56 PM7/14/09
to
On Jun 18, 6:52 am, Rachit Agrawal <rachit.k.agra...@gmail.com> wrote:
> I tried pinepgp, and after doing all the setup. I get the following
> error message.
>
> "Couldn't find certificate needed to sign."

I'm rather late to this thread, but I've had several queries about
that message in respect of Topal (and I think users of other GPG/PGP
filters have had similar issues), so I'll post anyway.... The
"Couldn't find certificate needed to sign." message is part of
Alpine's S/MIME support. One option is to turn off the internal S/
MIME support via the (hidden) config option ("S/MIME -- Turn off S/
MIME").

HTH,

Phil.

0 new messages