Thread View: news.software.readers
12 messages
12 total messages
Started by Mike Coddington
Thu, 10 Mar 2016 17:19
[slrn] how to save login info using SSL/TLS?
Author: Mike Coddington
Date: Thu, 10 Mar 2016 17:19
Date: Thu, 10 Mar 2016 17:19
17 lines
1750 bytes
1750 bytes
From what I've read in the documentation, turning on SSL/TLS support in slrn means using the "snews://" prefix when specifying the news server. I've done that in my .slrnrc, but after I do this I get asked for my login info every time I start the program. I'd like to have slrn use the login information that's stored in my .slrnrc instead, like I do when SSL's turned off. Is there a trick to this that I'm missing? Here's the relevant line of my .slrnrc that specifies server name and login info. nnrpaccess "snews://news.eternal-september.org" "login" "password" If I take snews:// away, I am logged in automatically. If I leave it on, I'm prompted for my credentials and when I type them in, I'm logged in successfully. -- San Francisco isn't what it used to be, and it never was. -- Herb Caen
Re: [slrn] how to save login info using SSL/TLS?
Author: Phil Boutros
Date: Thu, 10 Mar 2016 23:54
Date: Thu, 10 Mar 2016 23:54
19 lines
1673 bytes
1673 bytes
Mike Coddington <mike@coddington.us> wrote:
>
> nnrpaccess "snews://news.eternal-september.org" "login" "password"
>
> If I take snews:// away, I am logged in automatically. If I leave it on,
> I'm prompted for my credentials and when I type them in, I'm logged in
> successfully.
I'm not sure why that is. I'm logging in this way with the same
line (using my credentials, obviously).
Does slrn actually log you in via SSH? Does ssh --version show
the "+ssl" option? That's about all I can think of.
Phil
--
AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 philb@philb.ca
http://philb.ca EKIII rides with me: http://eddiekieger.com
Re: [slrn] how to save login info using SSL/TLS?
Author: Lewis
Date: Fri, 11 Mar 2016 05:48
Date: Fri, 11 Mar 2016 05:48
33 lines
2336 bytes
2336 bytes
In message <slrnne3baf.ldv.mike@mx1.coddington.us> Mike Coddington <mike@coddington.us> wrote: > From what I've read in the documentation, turning on SSL/TLS support in > slrn means using the "snews://" prefix when specifying the news server. > I've done that in my .slrnrc, but after I do this I get asked for my > login info every time I start the program. I'd like to have slrn use the > login information that's stored in my .slrnrc instead, like I do when > SSL's turned off. Is there a trick to this that I'm missing? Here's the > relevant line of my .slrnrc that specifies server name and login info. > nnrpaccess "snews://news.eternal-september.org" "login" "password" > If I take snews:// away, I am logged in automatically. If I leave it on, > I'm prompted for my credentials and when I type them in, I'm logged in > successfully. I have that line with my username and password and it's been working for years. Do you have server "snews://news.eternal-september.org" "/path/to/newsrc" ?? -- Commander: "Seems odd you'd name your ship after a battle you were on the wrong side of." Mal: "May have been the losing side. Still not convinced it was the wrong one."
Re: [slrn] how to save login info using SSL/TLS?
Author: Mike Coddington
Date: Fri, 11 Mar 2016 16:27
Date: Fri, 11 Mar 2016 16:27
26 lines
2117 bytes
2117 bytes
On 2016-03-11, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: > I have that line with my username and password and it's been working for > years. > > Do you have > > server "snews://news.eternal-september.org" "/path/to/newsrc" I didn't at first, but I added it. I also added "force_authentication" just for the hell of it. Here's what I've got now: nnrpaccess "snews://news.eternal-september.org" "myusername" "mypassword" set force_authentication 1 server "snews://news.eternal-september.org" ".jnewsrc" Interestingly, I even compiled from source to see if maybe it was some kind of weird thing that my Linux distribution stuck in there. No dice! I still get prompted for my authentication info. I wonder if it has something to do with my Usenet provider? Something to consider I guess. It seems unlikely but I've ruled out as much as I can. Thanks for your help, everyone. I now know that I'm doing it right, but something's making it act weird. -- There is hardly a thing in the world that some man can not make a little worse and sell a little cheaper.
Re: [slrn] how to save login info using SSL/TLS?
Author: John E. Davis
Date: Fri, 11 Mar 2016 18:27
Date: Fri, 11 Mar 2016 18:27
14 lines
1484 bytes
1484 bytes
On Fri, 11 Mar 2016 16:27:03 -0000 (UTC), Mike Coddington <mike@coddington.us>
wrote:
> It seems unlikely but I've ruled out as much as I can. Thanks for your
> help, everyone. I now know that I'm doing it right, but something's
> making it act weird.
Run slrn with the --debug option:
slrn --debug /tmp/slrn.log
That should log the communication between slrn and the server.
Good luck,
--John
Re: [slrn] how to save login info using SSL/TLS?
Author: Phil Boutros
Date: Sat, 12 Mar 2016 02:27
Date: Sat, 12 Mar 2016 02:27
15 lines
1695 bytes
1695 bytes
Mike Coddington <mike@coddington.us> wrote:
>
> Interestingly, I even compiled from source to see if maybe it was some
> kind of weird thing that my Linux distribution stuck in there. No dice!
> I still get prompted for my authentication info. I wonder if it has
> something to do with my Usenet provider? Something to consider I guess.
> It seems unlikely but I've ruled out as much as I can.
Not if it's eternal-september, as that is also my provider.
Phil
--
AH#61 Wolf#14 BS#89 bus#1 CCB#1 SENS KOTC#4 philb@philb.ca
http://philb.ca EKIII rides with me: http://eddiekieger.com
Re: [slrn] how to save login info using SSL/TLS?
Author: Lewis
Date: Sat, 12 Mar 2016 14:37
Date: Sat, 12 Mar 2016 14:37
44 lines
2863 bytes
2863 bytes
In message <slrnne6vr9.1jo.philb@ah61.is-a-geek.com>
Phil Boutros <philb@philb.ca> wrote:
> Mike Coddington <mike@coddington.us> wrote:
>>
>> Interestingly, I even compiled from source to see if maybe it was some
>> kind of weird thing that my Linux distribution stuck in there. No dice!
>> I still get prompted for my authentication info. I wonder if it has
>> something to do with my Usenet provider? Something to consider I guess.
>> It seems unlikely but I've ruled out as much as I can.
> Not if it's eternal-september, as that is also my provider.
Same. Works, has always worked.
$ slrn --version
slrn 1.0.2
S-Lang Library Version: 2.3.0
Compiled on: Mar 30 2015 14:20:12
Operating System: Darwin
COMPILE TIME OPTIONS:
Backends: +nntp -slrnpull -spool
External programs / libs: -canlock -inews +ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs
+gen_msgid -grouplens -msgid_cache +piping +rnlock +spoilers
-strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
> Phil
--
Of course, there were various groups seeking his overthrow, and this was
right and proper and the sign of a vigorous and healthy society. No-one
could call him unreasonable about the matter. Why, hadn't he founded
most of them himself? And what was so beautiful was the way they spent
nearly all their time bickering with one another. Human nature, the
Patrician always said, was a marvelous thing. Once you understood where
its levers were. --Guards! Guards!
Re: [slrn] how to save login info using SSL/TLS?
Author: Mike Coddington
Date: Sat, 12 Mar 2016 17:27
Date: Sat, 12 Mar 2016 17:27
23 lines
2141 bytes
2141 bytes
On 2016-03-12, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: > In message <slrnne6vr9.1jo.philb@ah61.is-a-geek.com> > Phil Boutros <philb@philb.ca> wrote: >> Mike Coddington <mike@coddington.us> wrote: >>> >>> Interestingly, I even compiled from source to see if maybe it was some >>> kind of weird thing that my Linux distribution stuck in there. No dice! >>> I still get prompted for my authentication info. I wonder if it has >>> something to do with my Usenet provider? Something to consider I guess. >>> It seems unlikely but I've ruled out as much as I can. > >> Not if it's eternal-september, as that is also my provider. > > Same. Works, has always worked. > WEIRD! Well, I'll have to run it with the debug flag set and see how it goes. Thanks for your help, everyone. I'll keep you posted. I'm sure you're all on the edge of your seats. ;) -- There is hardly a thing in the world that some man can not make a little worse and sell a little cheaper.
Re: [slrn] how to save login info using SSL/TLS?
Author: Whiskers
Date: Sun, 13 Mar 2016 01:06
Date: Sun, 13 Mar 2016 01:06
28 lines
2401 bytes
2401 bytes
On 2016-03-12, Mike Coddington <mike@coddington.us> wrote: > On 2016-03-12, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote: >> In message <slrnne6vr9.1jo.philb@ah61.is-a-geek.com> >> Phil Boutros <philb@philb.ca> wrote: >>> Mike Coddington <mike@coddington.us> wrote: >>>> >>>> Interestingly, I even compiled from source to see if maybe it was some >>>> kind of weird thing that my Linux distribution stuck in there. No dice! >>>> I still get prompted for my authentication info. I wonder if it has >>>> something to do with my Usenet provider? Something to consider I guess. >>>> It seems unlikely but I've ruled out as much as I can. >> >>> Not if it's eternal-september, as that is also my provider. >> >> Same. Works, has always worked. >> > > WEIRD! Well, I'll have to run it with the debug flag set and see how it > goes. Thanks for your help, everyone. I'll keep you posted. I'm sure > you're all on the edge of your seats. ;) What is your NNTPSERVER environment variable? Do you specify a server in your slrn launch command with the -h switch? -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] how to save login info using SSL/TLS?
Author: Mike Coddington
Date: Thu, 24 Mar 2016 17:44
Date: Thu, 24 Mar 2016 17:44
13 lines
1890 bytes
1890 bytes
On 2016-03-13, Whiskers <catwheezel@operamail.com> wrote: > What is your NNTPSERVER environment variable? Do you specify a server > in your slrn launch command with the -h switch? That's what it ended up being. My NNTPSERVER variable was still set to default "news.eternal-september.org" and it apparently overrode my ..slrnrc saying to use "snews://news.eternal-september.org." Sorry it took so long to post a follow-up, but things offline have been hectic. Thank you all for your assistance with this. Long live slrn! -- There is hardly a thing in the world that some man can not make a little worse and sell a little cheaper.
Re: [slrn] how to save login info using SSL/TLS?
Author: Whiskers
Date: Thu, 24 Mar 2016 22:51
Date: Thu, 24 Mar 2016 22:51
28 lines
2535 bytes
2535 bytes
On 2016-03-24, Mike Coddington <mike@coddington.us> wrote: > On 2016-03-13, Whiskers <catwheezel@operamail.com> wrote: >> What is your NNTPSERVER environment variable? Do you specify a server >> in your slrn launch command with the -h switch? > > That's what it ended up being. My NNTPSERVER variable was still set to > default "news.eternal-september.org" and it apparently overrode my > .slrnrc saying to use "snews://news.eternal-september.org." Sorry it > took so long to post a follow-up, but things offline have been hectic. > Thank you all for your assistance with this. Long live slrn! The line nnrpaccess "snews://news.eternal-september.org" "login" "password" in your ~/.slrnrc file doesn't tell slrn which server to use; it just tells slrn which login and password to use if you happen to go to snews://news.eterna.... The NNTPSERVER variable gives a default news-server to go to, and the -h switch in the launch command allows you to over-ride that default. There isn't an entry in the ~/.slrnrc file to make slrn go to a particular server. Slrnistas do it right. Eventually ;)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] how to save login info using SSL/TLS?
Author: Lewis
Date: Fri, 25 Mar 2016 04:01
Date: Fri, 25 Mar 2016 04:01
18 lines
2205 bytes
2205 bytes
In message <slrnnf8a2a.4mt.mike@mx1.coddington.us> Mike Coddington <mike@coddington.us> wrote: > On 2016-03-13, Whiskers <catwheezel@operamail.com> wrote: >> What is your NNTPSERVER environment variable? Do you specify a server >> in your slrn launch command with the -h switch? > That's what it ended up being. My NNTPSERVER variable was still set to > default "news.eternal-september.org" and it apparently overrode my > .slrnrc saying to use "snews://news.eternal-september.org." Sorry it > took so long to post a follow-up, but things offline have been hectic. > Thank you all for your assistance with this. Long live slrn! alias slrn='slrn -C -h snews://news.eternal-september.org' -- If we get through this alive I'll meet you next week same place same time
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