Thread View: news.software.readers
4 messages
4 total messages
Started by Bryan Bibb
Thu, 16 Oct 2003 03:42
[slrn] unable to verify PGP signatures with gnupg.sl
Author: Bryan Bibb
Date: Thu, 16 Oct 2003 03:42
Date: Thu, 16 Oct 2003 03:42
48 lines
2674 bytes
2674 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have installed the gnupg.sl macro and sourced it in my .slrnrc file.
Signing messages seems to work. When I attempt to verify a message
with the shift-v command, I get the error:
Unable to open .slrn-tmpfile.asc.
I have searched newsgroups and the web and cannot find a reference to
this error. Below is the relevant section of the gnupg.sl file. What
do you think could be the problem. Evidently the proper tmpfile
isn't be written, but I'm not sure how to go about fixing it. Where
should it go, and what function is responsible for writing it?
Thank you.
Bryan
static define verify_signature () %{{{
{
variable tmpfile = ".slrn-tmpfile.asc";
variable gnupg_fp;
% Exit if not in article mode.
if (is_group_mode)
error (_function_name () + " doesn\'t work in group mode!");
if (save_current_article (tmpfile) != 0)
% Something went wrong...
error("Error while writing temporary file. Aborting... ");
gnupg_fp = popen (sprintf ("%s '%s' 2>&1", Prefs["verify_command"],
tmpfile), "r");
if (gnupg_fp == NULL) return;
popup_window ("Verify Signature:", strjoin (fgetslines(gnupg_fp),
""));
() = pclose (gnupg_fp);
} %}}}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/jhOuZHkU/XQom+8RAkddAJ0WyYuN4u+fAw6xZdbxNpgtFGkFmwCfc7We
+91acc0vApqgBY7EvMrqnfE=
=/pQw
-----END PGP SIGNATURE-----
Re: [slrn] unable to verify PGP signatures with gnupg.sl
Author: Emmanuele Bassi
Date: Fri, 17 Oct 2003 00:15
Date: Fri, 17 Oct 2003 00:15
24 lines
2183 bytes
2183 bytes
* Bryan Bibb [2003-10-16 05:42]: > I have installed the gnupg.sl macro and sourced it in my .slrnrc file. > Signing messages seems to work. When I attempt to verify a message > with the shift-v command, I get the error: > > Unable to open .slrn-tmpfile.asc. This means that, inside the directory from which you launch SLRN, you do not have write permissions. Justa change, inside the verify_signature function, the name, also providing the full path, of the file you wish to use as a temporary resource for verifing the signature. Otherwise, launch SLRN within a directory (like $HOME) where you have write permissions. Bye, Emmanuele. -- Emmanuele Bassi [ http://digilander.libero.it/ebassi/slrn.html ] GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
Re: [slrn] unable to verify PGP signatures with gnupg.sl
Author: Bryan Bibb
Date: Sat, 18 Oct 2003 00:51
Date: Sat, 18 Oct 2003 00:51
28 lines
2235 bytes
2235 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 17 Oct 2003 00:15:53 GMT, Emmanuele Bassi wrote: > This means that, inside the directory from which you launch SLRN, you > do not have write permissions. > > Justa change, inside the verify_signature function, the name, also > providing the full path, of the file you wish to use as a temporary > resource for verifing the signature. Thank you for the reply, Emmanuele. Unfortunately, I am still having trouble. I tried changing the gnupg.el script to create ~/.slrn-tmpfile.asc, and I am also starting slrn from my home directory. With the change, my error message reflects the new path: Unable to open ~/.slrn-tmpfile.asc. Bryan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/kI6QZHkU/XQom+8RAriyAJ4/7LJNp9pUDz5Lr71PCNOYbfWzEgCfTUKn H/g6TcKDL8SK/+hcY3uGK9A= =nvs0 -----END PGP SIGNATURE-----
Re: [slrn] unable to verify PGP signatures with gnupg.sl
Author: Bryan Bibb
Date: Sat, 18 Oct 2003 01:42
Date: Sat, 18 Oct 2003 01:42
24 lines
2087 bytes
2087 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 17 Oct 2003 19:51:37 -0500, Bryan Bibb wrote: > Thank you for the reply, Emmanuele. Unfortunately, I am still having > trouble. I tried changing the gnupg.el script to create > ~/.slrn-tmpfile.asc, and I am also starting slrn from my home > directory. Ok, I got it, and you were right after all. Evidently the script was not expanding the ~, but when I changed it to /tmp/slrn-tmpfile.asc the messages verify nicely. Thank you! Bryan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/kJqMZHkU/XQom+8RAl1yAJ9eWGsIRcNEwDLtcgwNRY9AvnDYFACdGTfi s9TQALrOejTP4UjOFcDMe9k= =SCO/ -----END PGP SIGNATURE-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads