[
Date Prev
][
Date Next
] [
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Re: TLS in Gopher
To
:
gopher-project@other.debian.org
Subject
: Re: TLS in Gopher
From
: Michael Lazar <
lazar.michael22@gmail.com
>
Date
: Fri, 2 Mar 2018 15:50:33 -0500
Message-id
: <
[🔎]
CAFTy05ZQvYTdmoUStPPFATnWzAXrKPYhOnwncOi5WHgLG0S3sg@mail.gmail.com
>
In-reply-to
: <
[🔎]
p79h9t$d4k$1@blaine.gmane.org
>
References
: <20180227184429.E928210539584@r-36.net> <201802280205.w1S25Dxb6684768@floodgap.com> <20180228201924.B5196105395B5@r-36.net> <
[🔎]
102e3fd8-6d26-b5bf-75cb-9b50c825062e@fsfe.org
> <
[🔎]
87zi3s4637.fsf@gmail.com
> <
[🔎]
63e4f716-70a2-1808-0c9a-f4f86a648345@fsfe.org
> <
[🔎]
p78ipm$999$1@blaine.gmane.org
> <
[🔎]
4fceb359-245f-b82c-0a30-e2758cd16212@fsfe.org
> <
[🔎]
p79h9t$d4k$1@blaine.gmane.org
>
On Thu, Mar 1, 2018 at 1:37 PM, Mateusz Viste
<
mateusz@nospam.viste.fr
>
wrote:
> On Thu, 01 Mar 2018 10:38:03 +0000, Iain R. Learmonth wrote:
>>
>> You would be expecting to receive a handshake message, which would start
>> with 0x16 (ASCII: SYN). I cannot think of a reason that a Gopher
>> selector would start with a non-printable character, so you can most
>> likely check only a single byte.
>
>Sounds good. You should definitely implement it then, so we can see how
>it works.
I thought this was a nice idea, so I tried implementing it on my python gopher server. You can check it out here:
gopher://
mozz.us:7005/1/demo-ssl
It was, in fact, very straightforward to accomplish using helpers from the python standard library. Here's the code diff if you want to take a look:
https://github.com/michael-lazar/flask-gopher/commit/3777ef92516722f8aad7b858a0c6f931bd875f19#diff-d66156e6e2bebef5659c7aa5593e5ec6R628
- Michael Lazar
Reply to:
gopher-project@other.debian.org
Michael Lazar (on-list)
Michael Lazar (off-list)
References
:
Re: TLS in Gopher
From:
"Iain R. Learmonth" <irl@fsfe.org>
Re: TLS in Gopher
From:
Alex Schroeder <kensanata@gmail.com>
Re: TLS in Gopher
From:
"Iain R. Learmonth" <irl@fsfe.org>
Re: TLS in Gopher
From:
Mateusz Viste <mateusz@nospam.viste.fr>
Re: TLS in Gopher
From:
"Iain R. Learmonth" <irl@fsfe.org>
Re: TLS in Gopher
From:
Mateusz Viste <mateusz@nospam.viste.fr>
Prev by Date:
Re: TLS in Gopher
Next by Date:
Re: TLS in Gopher
Previous by thread:
Re: TLS in Gopher
Next by thread:
Re: TLS in Gopher
Index(es):
Date
Thread