🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: minicrypt

#326796
From: Stefan Claas
Date: Sat, 12 Oct 2024 13:01
47 lines
3185 bytes
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!

-- 
Regards
Stefan
Technical Details
Message-ID: <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
References: <5188eed186b05498e274b4e5c475df63ca6e3ab2@i2pn2.org> <b95ggjta6jv2nh7epq03k6b85273nv8qa2@4ax.com> <1d9862d38f0beb4e45d07086d409130641f0ddad@i2pn2.org> <5c70e8f90ee2a3176d79ec180d2952394c10758e@i2pn2.org> <7adb2f6a7c93e5ceaea220f3c1028d2bdbe9da15@i2pn2.org> <lmv8kcF8urlU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <10a98c1415e7e986fd5babcc92a5741009692cef@i2pn2.org>
Subject: Re: minicrypt
Date: Sat, 12 Oct 2024 13:01:26 -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>
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:01:48 -0000 (UTC)
Injection-Info: i2pn2.org;
 logging-data="1702448"; mail-complaints-to="usenet@i2pn2.org";
 posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre11 (for GNU/Linux)
Cancel-Lock: sha256:0oMMgMdLrxbeZq8A8hmTjmcCL/3H+PFUa3cCEA8AHyA=
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: 343e8e7a79cb134d8f21cd0f7d9c47f2e38763a25e220361661cac0e46a03b90
 a31649fe5122fe7bad3c52fe994a4cc6fa637bceb0f1714d582b49a01cda4e07
X-Date: It's Sat 11365 Sep 1993 03:01:26 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a