🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #326797

Re: minicrypt

#326797
From: Stefan Claas
Date: Sat, 12 Oct 2024 13:17
51 lines
3450 bytes
Stefan Claas wrote:
> kosmikdog wrote:
> > Stefan Claas wrote:
> > > Stefan Claas wrote:
> > > 
> > > > The repository is back and minicrypt uses now Ed25519 with XChaCha20-poly1305.
> > > 
> > 
> > i get this on debian 12:
> > 
> > > $ go build minicrypt.go minicrypt.go:17:2: cannot find package
> > > "filippo.io/edwards25519" in any of:
> > > 	/usr/local/go/src/filippo.io/edwards25519 (from $GOROOT)
> > > 	/home/xyz/go/src/filippo.io/edwards25519 (from $GOPATH)
> > > minicrypt.go:15:2: cannot find package "golang.org/x/crypto/chacha20poly1305" in any of:
> > > 	/usr/local/go/src/golang.org/x/crypto/chacha20poly1305 (from $GOROOT)
> > > 	/home/xyz/go/src/golang.org/x/crypto/chacha20poly1305 (from $GOPATH)
> > > minicrypt.go:16:2: cannot find package "golang.org/x/crypto/curve25519" in any of:
> > > 	/usr/local/go/src/golang.org/x/crypto/curve25519 (from $GOROOT)
> > > 	/home/xyz/go/src/golang.org/x/crypto/curve25519 (from $GOPATH)
> > 
> > export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
> > export GOROOT=/usr/local/go
> > 
> > Needless to say i don't know .... about Golang !!!!
> > 
> > Best Regards
> 
> Please try the following:
> 
> Download minicrypt.go and put it in a folder called minicrypt
> 
> cd to that folder and run: 
> 
> go mod init minicrypt
> go mod tidy
> go build -ldflags "-s -w"
> 
> This should download the missing packages and compile
> an optimized version of minicrypt, which is not so
> large in size as if you would compile with go build only.
> 
> Normally people put a go.mod and go.sum file in their
> repositories, which I don't do. Sorry about that!

P.S. minicrypt does not handle large files and errors out
then. It is intended for regular messages.

-- 
Regards
Stefan
Technical Details
Message-ID: <eb510f319ac06e1fa997007f723e47fc9aad3b43@i2pn2.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!i2pn.org!i2pn2.org!.POSTED!not-for-mail
References: <5188eed186b05498e274b4e5c475df63ca6e3ab2@i2pn2.org> <b95ggjta6jv2nh7epq03k6b85273nv8qa2@4ax.com> <1d9862d38f0beb4e45d07086d409130641f0ddad@i2pn2.org> <5c70e8f90ee2a3176d79ec180d2952394c10758e@i2pn2.org> <7adb2f6a7c93e5ceaea220f3c1028d2bdbe9da15@i2pn2.org> <lmv8kcF8urlU1@mid.individual.net> <10a98c1415e7e986fd5babcc92a5741009692cef@i2pn2.org>

Show Full Headers
Complete Article Headers
Message-ID: <eb510f319ac06e1fa997007f723e47fc9aad3b43@i2pn2.org>
Subject: Re: minicrypt
Date: Sat, 12 Oct 2024 13:17:54 -0000
From: Stefan Claas <pollux@tilde.club>
References: <5188eed186b05498e274b4e5c475df63ca6e3ab2@i2pn2.org> <b95ggjta6jv2nh7epq03k6b85273nv8qa2@4ax.com> <1d9862d38f0beb4e45d07086d409130641f0ddad@i2pn2.org> <5c70e8f90ee2a3176d79ec180d2952394c10758e@i2pn2.org> <7adb2f6a7c93e5ceaea220f3c1028d2bdbe9da15@i2pn2.org> <lmv8kcF8urlU1@mid.individual.net> <10a98c1415e7e986fd5babcc92a5741009692cef@i2pn2.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf8.newsdeef.eu!nnrp.usenet.blueworldhosting.com!!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!i2pn.org!i2pn2.org!.POSTED!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Ch1ffr3punk5
MIME-Version: 1.0
Injection-Date: Sat, 12 Oct 2024 13:17:55 -0000 (UTC)
Injection-Info: i2pn2.org;
 logging-data="1704014"; mail-complaints-to="usenet@i2pn2.org";
 posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre11 (for GNU/Linux)
Cancel-Lock: sha256:PU1DMvzx3g7ZZ+7LxR1x2DyK+gphllQlgFgU7/4iuAA=
X-Date: It's Sat 11365 Sep 1993 03:17:55 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Ed25519-Sig: 60ed50c1d2495569d3d8e646dc87b49e80660868db2db458365516dae0236699
 9c70ed58bceadf554059d9734778e3bf2849f3f8ca281f8cd547836c684a2005
X-Spam-Checker-Version: SpamAssassin 4.0.0