Thread View: news.software.nntp
11 messages
11 total messages
Started by John F. Morse
Sat, 23 May 2009 20:06
NoCeM PGP import failure
Author: John F. Morse
Date: Sat, 23 May 2009 20:06
Date: Sat, 23 May 2009 20:06
52 lines
2909 bytes
2909 bytes
Following the instructions on this page: http://www.eyrie.org/~eagle/software/inn/docs-2.4/perl-nocem.html I seem to be missing something. news@optima5:/etc/news/pgp$ ls -al total 16 drwxr-xr-x 3 news news 4096 2009-05-23 14:52 . drwxr-xr-x 5 news news 4096 2009-05-23 14:23 .. -rw-r--r-- 1 news news 811 2009-05-23 14:19 ncmperm.txt drwxr-xr-x 2 news news 4096 2009-05-23 14:26 ncmring.gpg news@optima5:/etc/news/pgp$ cd ncmring.gpg news@optima5:/etc/news/pgp/ncmring.gpg$ ls -al total 20 drwxr-xr-x 2 news news 4096 2009-05-23 14:26 . drwxr-xr-x 3 news news 4096 2009-05-23 14:52 .. -rw-rw-rw- 1 news news 9466 2009-05-23 14:19 ncmring.asc news@optima5:/etc/news/pgp/ncmring.gpg$ gpg --no-default-keyring --primary-keyring /etc/news/pgp/ncmring.gpg --import ncmring.asc gpg: /etc/news/pgp/ncmring.gpg: read error: Is a directory gpg: /etc/news/pgp/ncmring.gpg: read error: Is a directory gpg: key A9708492: public key "Aioe.org NOCEM key (Aioe.org key used to sign NOCEM messages) <nocem@aioe.org>" imported gpg: renaming `/etc/news/pgp/ncmring.gpg' to `/etc/news/pgp/ncmring.gpg~' failed: Is a directory gpg: error writing keyring `/etc/news/pgp/ncmring.gpg': file rename error gpg: key CCDE36DD: public key "[User ID not found]" imported gpg: error reading `ncmring.asc': file rename error gpg: import from `ncmring.asc' failed: file rename error gpg: Total number processed: 1 gpg: imported: 2 (RSA: 1) The ncmring.asc is the file downloaded from: http://www.xs4all.nl/~rosalind/nocemreg/ncmring.asc Any ideas? -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: NoCeM PGP import failure
Author: Ray Banana
Date: Sat, 23 May 2009 20:32
Date: Sat, 23 May 2009 20:32
20 lines
2229 bytes
2229 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
> news@optima5:/etc/news/pgp$ cd ncmring.gpg
ncmring is supposed to be a *file*, not a directory. You import keys
into this key file.
> news@optima5:/etc/news/pgp/ncmring.gpg$ gpg --no-default-keyring
> --primary-keyring /etc/news/pgp/ncmring.gpg --import ncmring.asc
> gpg: /etc/news/pgp/ncmring.gpg: read error: Is a directory
> gpg: /etc/news/pgp/ncmring.gpg: read error: Is a directory
^^^^^^^^^^^^^^^^^^^^^^^^^^
Just put the .asc files in a different directory, delete the ncmring.gpg
directory and repeat the import command.
--
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Re: NoCeM PGP import failure
Author: Julien ÉLIE
Date: Sat, 23 May 2009 22:13
Date: Sat, 23 May 2009 22:13
25 lines
2011 bytes
2011 bytes
Hi Ray,
>> news@optima5:/etc/news/pgp$ cd ncmring.gpg
>
> ncmring is supposed to be a *file*, not a directory. You import keys
> into this key file.
I believe the problem comes from the following sentence in the man page:
The keyring must be located in <pathetc>/pgp/ncmring.gpg (create
the directory before using gpg).
Better say:
The keyring must be located in <pathetc>/pgp/ncmring.gpg; you only
have to create the directory <pathetc>/pgp before using gpg (it will
generate the ncmring.gpg file).
Sorry John for the misunderstanding!
--
Julien ÉLIE
« In girum imus nocte et consumimur igni. »
Re: NoCeM PGP import failure
Author: John F. Morse
Date: Sun, 24 May 2009 01:24
Date: Sun, 24 May 2009 01:24
56 lines
3394 bytes
3394 bytes
Ray Banana wrote: > Just put the .asc files in a different directory, delete the ncmring.gpg > directory and repeat the import command. > Hi Ray, I finally got it to work (I hope): news@optima5:/etc/news/pgp$ ls -al total 24 drwxr-xr-x 2 news news 4096 2009-05-23 19:15 . drwxr-xr-x 5 news news 4096 2009-05-23 19:15 .. -rw-r--r-- 1 news news 811 2009-05-23 18:35 ncmperm.txt -rw-r--r-- 1 news news 9466 2009-05-23 18:35 ncmring.asc news@optima5:/etc/news/pgp$ gpg --no-default-keyring --primary-keyring /etc/news/pgp/ncmring.gpg --import ncmring.asc gpg: keyring `/etc/news/pgp/ncmring.gpg' created gpg: key xxxxxxxx: public key "Aioe.org NOCEM key (Aioe.org key used to sign NOCEM messages) <nocem@aioe.org>" imported gpg: key xxxxxxxx: public key "alba-nocem@albasani.net" imported gpg: key xxxxxxxx: public key "de.* nocem sender <nocem@arcor.de>" imported gpg: key xxxxxxxx: public key "Motzarella NoCeM <nocem@motzarella.org>" imported gpg: key xxxxxxxx: public key "bleachbot <bleachbot@httrack.com>" imported gpg: key xxxxxxxx: public key "Vlad the Canceller <pgpmoose@killfile.org>" imported gpg: key xxxxxxxx: public key "Adri Verhoef <nl-cancel@a3.xs4all.nl>" imported gpg: Total number processed: 7 gpg: imported: 7 (RSA: 2) news@optima5:/etc/news/pgp$ news@optima5:/etc/news/pgp$ ls -al total 40 drwxr-xr-x 2 news news 4096 2009-05-23 19:25 . drwxr-xr-x 5 news news 4096 2009-05-23 19:15 .. -rw-r--r-- 1 news news 811 2009-05-23 18:35 ncmperm.txt -rw-r--r-- 1 news news 9466 2009-05-23 18:35 ncmring.asc -rw------- 1 news news 5984 2009-05-23 19:25 ncmring.gpg -rw------- 1 news news 5645 2009-05-23 19:25 ncmring.gpg~ I munged the key info above, just in case it is not public. ;-) What is the purpose of the ncmring.gpg~ backup file? Can it be removed? -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: NoCeM PGP import failure
Author: John F. Morse
Date: Sun, 24 May 2009 01:46
Date: Sun, 24 May 2009 01:46
71 lines
3605 bytes
3605 bytes
Julien ÉLIE wrote: > I believe the problem comes from the following sentence in the man page: > > The keyring must be located in <pathetc>/pgp/ncmring.gpg (create > the directory before using gpg). > > Better say: > > The keyring must be located in <pathetc>/pgp/ncmring.gpg; you only > have to create the directory <pathetc>/pgp before using gpg (it will > generate the ncmring.gpg file). > > Sorry John for the misunderstanding! > Hi Julien, No problem. You are correct: the wording could be improved. ;-) Speaking of wording... I have a couple of additional "misunderstandings" on this NoCeM install. Where does the downloaded ncmperm.txt permission file go? It looks similar to the required nocem.ctl file, but doesn't have the colons. # NoCeM permission file of The NoCeM Registry # http://www.xs4all.nl/~rosalind/nocemreg/nocemreg.html # # Issuer Type Perm # nocem@aioe.org aioe-spam yes alba-nocem@albasani spam yes nocem@arcor.de spam yes nocem@motzarella spam yes bleachbot@httrack spam yes bleachbot@httrack site yes pgpmoose@killfile pgpmoose-forged-moderation yes nl-cancel@a3.xs4all spam yes nl-cancel@a3.xs4all mmf yes nl-cancel@a3.xs4all binary yes # # Copyright <A9> 1997-2008 Rosalind Hengeveld. # http://www.xs4all.nl/~rosalind/nocemreg/sitemap.html#copyright The nocem.ctl example shows: annihilator-1:* clewis@ferret.ocunix:mmf stephane@asynchrone:mmf,openproxy,spam Can the permissions file simply be moved to /etc/news/ and renamed to nocem.ctl as-is? Or will I need to edit it, adding the colons, and removing the "Perm" column data? I can't find a man page for nocem.ctl and the perl-nocem man page does show the colons. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: NoCeM PGP import failure
Author: Julien ÉLIE
Date: Sun, 24 May 2009 08:00
Date: Sun, 24 May 2009 08:00
22 lines
2102 bytes
2102 bytes
Hi John, > news@optima5:/etc/news/pgp$ ls -al > total 40 > drwxr-xr-x 2 news news 4096 2009-05-23 19:25 . > drwxr-xr-x 5 news news 4096 2009-05-23 19:15 .. > -rw-r--r-- 1 news news 811 2009-05-23 18:35 ncmperm.txt > -rw-r--r-- 1 news news 9466 2009-05-23 18:35 ncmring.asc > -rw------- 1 news news 5984 2009-05-23 19:25 ncmring.gpg > -rw------- 1 news news 5645 2009-05-23 19:25 ncmring.gpg~ > > What is the purpose of the ncmring.gpg~ backup file? Can it be removed? Yes. Is is a copy made by gpg. When writing a new ncmring.gpg file, it backs up the previous one. -- Julien ÉLIE « Quand on retire tout ce qu'on a dit, il reste tout ce qu'on n'a pas dit. » (Philippe Geluck)
Re: NoCeM PGP import failure
Author: Julien ÉLIE
Date: Sun, 24 May 2009 09:06
Date: Sun, 24 May 2009 09:06
59 lines
2974 bytes
2974 bytes
Hi John,
> No problem. You are correct: the wording could be improved. ;-)
Now fixed. Thanks!
> Speaking of wording... I have a couple of additional "misunderstandings"
> on this NoCeM install.
>
> Where does the downloaded ncmperm.txt permission file go?
>
> It looks similar to the required nocem.ctl file, but doesn't have the
> colons.
nocem.ctl is indeed in pathetc.
We do not speak about "ncmperm.txt" in our documentation!
You saw it only in the NoCeM registry web site:
http://www.xs4all.nl/~rosalind/nocemreg/faq-reg.html#main
NoCeM-On-Spool software
c-nocem - NoCeM for C News and INN, by Olaf Titz
perl-nocem - NoCeM for INN 2.x, by Miquel van Smoorenburg and Marco d'Itri,
site by Russ Allbery
Note: perl-nocem uses a somewhat different syntax for its NoCeM permission file;
ours is compatible with c-nocem.
Last year, I asked Rosalind to add a nocem.ctl file to her web site, but she
insted just added the note :)
> Can the permissions file simply be moved to /etc/news/ and renamed to
> nocem.ctl as-is?
Nope.
> Or will I need to edit it, adding the colons, and removing the "Perm"
> column data?
Yes.
> I can't find a man page for nocem.ctl and the perl-nocem man page does
> show the colons.
It is the same man page. And there are colons.
It is easy to manually change the file (only seven lines!).
--
Julien ÉLIE
« Ambo florentes aetatibus, Arcades ambo » (Virgile, _Églogue VII_)
Re: NoCeM PGP import failure
Author: John F. Morse
Date: Sun, 24 May 2009 12:57
Date: Sun, 24 May 2009 12:57
122 lines
5208 bytes
5208 bytes
Julien ÉLIE wrote: > Hi John, > >> No problem. You are correct: the wording could be improved. ;-) > > Now fixed. Thanks! > > >> Speaking of wording... I have a couple of additional "misunderstandings" >> on this NoCeM install. >> >> Where does the downloaded ncmperm.txt permission file go? >> >> It looks similar to the required nocem.ctl file, but doesn't have the >> colons. > > nocem.ctl is indeed in pathetc. > We do not speak about "ncmperm.txt" in our documentation! > > You saw it only in the NoCeM registry web site: > > http://www.xs4all.nl/~rosalind/nocemreg/faq-reg.html#main > > NoCeM-On-Spool software > c-nocem - NoCeM for C News and INN, by Olaf Titz > perl-nocem - NoCeM for INN 2.x, by Miquel van Smoorenburg and > Marco d'Itri, > site by Russ Allbery > > Note: perl-nocem uses a somewhat different syntax for its NoCeM > permission file; > ours is compatible with c-nocem. > > > > Last year, I asked Rosalind to add a nocem.ctl file to her web site, > but she > insted just added the note :) > > >> Can the permissions file simply be moved to /etc/news/ and renamed to >> nocem.ctl as-is? > > Nope. > > >> Or will I need to edit it, adding the colons, and removing the "Perm" >> column data? > > Yes. > > >> I can't find a man page for nocem.ctl and the perl-nocem man page does >> show the colons. > > It is the same man page. And there are colons. > It is easy to manually change the file (only seven lines!). > Hi, Julien. Easy? Sure -- once you understand the names and where to put the files. ;-) Also, I have ten lines (should some be deleted?): # NoCeM permission file of The NoCeM Registry # http://www.xs4all.nl/~rosalind/nocemreg/nocemreg.html # # Issuer Type Perm # #Edited by JFM 20090524, renamed to nocem.ctl and placed in the /etc/news directory. nocem@aioe.org:aioe-spam alba-nocem@albasani:spam nocem@arcor.de:spam nocem@motzarella:spam bleachbot@httrack:spam bleachbot@httrack:site pgpmoose@killfile:pgpmoose-forged-moderation nl-cancel@a3.xs4all:spam nl-cancel@a3.xs4all:mmf nl-cancel@a3.xs4all:binary # # Copyright � 1997-2008 Rosalind Hengeveld. # http://www.xs4all.nl/~rosalind/nocemreg/sitemap.html#copyright I guess it is working for me (right now on Optima5 which I used for experimentation). May 24 07:42:59 optima5 innd: localhost connected 39 May 24 07:42:59 optima5 innd: localhost:39 NCmode "mode cancel" received May 24 07:42:59 optima5 nocem: Articles cancelled: <129e8b4b-a21b-4660-a651-a4aea24720d5@v23g2000pro.googlegroups.com> <500ff9a0-2f00-4326-9f63-c7a10dcc318d@r31g2000prh.googlegroups.com> <8f3fb39d-2cfa-454f-88c4-38192f4069e5@w31g2000prd.googlegroups.com> May 24 07:42:59 optima5 nocem: processed notice 6d274c826c8f13d8 by bleachbot@httrack.com (3 ids, 0.01000 s, 300.0/s) May 24 07:43:10 optima5 innd: s May 24 07:43:58 optima5 nocem: Articles cancelled: <79a09896-9da1-45fb-895a-f395196c2a2b@y10g2000prc.googlegroups.com> May 24 07:43:58 optima5 nocem: processed notice 44925d1bdcb20ab5 by bleachbot@httrack.com (1 ids, 0.01000 s, 100.0/s) I see canceled is misspelled. ;-) I'll configure the online server and Optima11 later today. Thanks for clarifying my misunderstanding in this matter. Give yourself a pay raise! ;-) -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: NoCeM PGP import failure
Author: John F. Morse
Date: Sun, 24 May 2009 13:11
Date: Sun, 24 May 2009 13:11
26 lines
2211 bytes
2211 bytes
Julien ÉLIE wrote: > Hi John, > >> news@optima5:/etc/news/pgp$ ls -al >> total 40 >> drwxr-xr-x 2 news news 4096 2009-05-23 19:25 . >> drwxr-xr-x 5 news news 4096 2009-05-23 19:15 .. >> -rw-r--r-- 1 news news 811 2009-05-23 18:35 ncmperm.txt >> -rw-r--r-- 1 news news 9466 2009-05-23 18:35 ncmring.asc >> -rw------- 1 news news 5984 2009-05-23 19:25 ncmring.gpg >> -rw------- 1 news news 5645 2009-05-23 19:25 ncmring.gpg~ >> >> What is the purpose of the ncmring.gpg~ backup file? Can it be removed? > > Yes. Is is a copy made by gpg. When writing a new ncmring.gpg file, > it backs up the previous one. > OK, thanks. -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Re: NoCeM PGP import failure
Author: Julien ÉLIE
Date: Sun, 24 May 2009 13:36
Date: Sun, 24 May 2009 13:36
39 lines
2460 bytes
2460 bytes
Hi John, > Also, I have ten lines (should some be deleted?): I was sure you would ask :) I was a bit fallacious with my answer... > bleachbot@httrack:spam > bleachbot@httrack:site > nl-cancel@a3.xs4all:spam > nl-cancel@a3.xs4all:mmf > nl-cancel@a3.xs4all:binary can be written with three lines spared: bleacbleachbot@httrack:spam,site nl-cancel@a3.xs4all:spam,mmf,binary > May 24 07:42:59 optima5 nocem: Articles cancelled: > > I see canceled is misspelled. ;-) Oh, hmm... are you sure? I usually uses the word "swimming" (two consonants + one vowel + one consonant => double it : sw + i + m => m++), which gives here nc + e + l => l++ for "cancelled". Isn't that "rule" true in English? Or, if I trust my dictionary, "canceled" is American whereas "cancelled" is British? So maybe we can keep "cancelled"... -- Julien ÉLIE « Petite annnonce : Astronaute recherche femme lunatique. »
Re: NoCeM PGP import failure
Author: John F. Morse
Date: Sun, 24 May 2009 14:05
Date: Sun, 24 May 2009 14:05
68 lines
3329 bytes
3329 bytes
Julien ÉLIE wrote: > Hi John, > >> Also, I have ten lines (should some be deleted?): > > I was sure you would ask :) > I was a bit fallacious with my answer... > >> bleachbot@httrack:spam >> bleachbot@httrack:site >> nl-cancel@a3.xs4all:spam >> nl-cancel@a3.xs4all:mmf >> nl-cancel@a3.xs4all:binary > > can be written with three lines spared: > > bleacbleachbot@httrack:spam,site > nl-cancel@a3.xs4all:spam,mmf,binary Oh, yeah! You got me there, Julien! ;-) I remember that comma-separated list now. Thanks for the reminder. >> May 24 07:42:59 optima5 nocem: Articles cancelled: >> >> I see canceled is misspelled. ;-) > > Oh, hmm... are you sure? > I usually uses the word "swimming" (two consonants + one vowel > + one consonant => double it : sw + i + m => m++), which gives > here nc + e + l => l++ for "cancelled". > Isn't that "rule" true in English? > > Or, if I trust my dictionary, "canceled" is American whereas > "cancelled" is British? > So maybe we can keep "cancelled"... The "rule" is meant to be broken. ;-) In (American) English, it is spelled "canceled" as is "traveled" and a few other oddities from the "rule." http://dictionary.reference.com/browse/canceled http://dictionary.reference.com/browse/traveled People in the UK and a few other Queen's subjects, speak "British." ;-) British people have control on the word "English" I suppose, so they are at ease using extra -- but unneeded -- characters in many words, like "colour." I'd call it "quaint," and I prefer the "KISS" principle. http://en.wikipedia.org/wiki/KISS_principle I sure hope this doesn't lead to WW III. ;-) -- John No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message. The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
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