Re: Path puzzle

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Sat, 07 Sep 2024 01:31:59 UTC
Hi Michael,

Apparently I got confused and didn't correctly
enter the arguments to the server_try and client_try scripts,
then mistook the error messages for python errors rather
than the operator errors they really indicated.

8-(

Thanks very much for your patience and help!

bob prohaska

 
On Fri, Sep 06, 2024 at 08:02:36AM +0200, Michael Stiller wrote:
> Hi Bob,
> 
> the code from that repo just runs unmodified (except the #! line)
> 
> on FreeBSD pi4 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 RPI4 arm64
> 
> You just need to call it correctly with certificates like this:
> 
> ms@pi4:~ % ./server_try ca.crt cert.crt cert.key
> 
> So you need a certificate of the CA + a server cert and key.
> 
> Best regards,
> 
> Michael
> 
> 
> > On 6. Sep 2024, at 03:26, bob prohaska <fbsd@www.zefox.net> wrote:
> > 
> > On Thu, Sep 05, 2024 at 07:47:23PM +0100, Steve O'Hara-Smith wrote:
> >> On Thu, 5 Sep 2024 11:37:06 -0700
> >> bob prohaska <fbsd@www.zefox.net> wrote:
> >> 
> >>> bob@pelorus:~ % head server_try
> >>> #!/usr/bin/python3.11
> >> 
> >> Bingo! On FreeBSD python3.11 will be in /usr/local/bin not /usr/bin.
> >> 
> >> This is why the recommended shebang for python code is
> >> 
> >> #!/usr/bin/env python3.11
> >> 
> >> Which is portable.
> > Thank you....never crossed my mind to check the executable location 8-(
> > 
> > It turns out that the python code being run (from 
> > https://gitlab.com/ldo/ssl_try_python) works on Debian Linux Bookworm but
> > not on FreeBSD stable/14.1. Is there a guide to differences between the
> > dialects? 
> > 
> > Apologies for the noise.....
> > 
> > bob prohaska
> > 
> > 
> >> 
> >> -- 
> >> Steve O'Hara-Smith <steve@sohara.org>
> 
>