skeeto / passphrase2pgp

Generate a PGP key from a passphrase
The Unlicense
187 stars 14 forks source link

Can’t build #17

Open Fastidious opened 1 year ago

Fastidious commented 1 year ago

I am getting: build nullprogram.com/x/passphrase2pgp: cannot load bufio: malformed module path "bufio": missing dot in first path element when trying to build. What could it be causing this? Running go version go1.13.8 linux/amd64. TIA!

skeeto commented 1 year ago

That's an error parsing generics. You'll need to select an older version, such as v1.2.0. Unfortunately, golang.org/x/sys, an transitive dependency, is neither backwards nor forwards compatible, so for passphrase2pgp v1.2.1 I had to make a choice between supporting older or newer Go toolchains, but not both at once.

skeeto commented 1 year ago

Though I just bootstrapped myself a Go 1.13.8 linux/amd64, and it works fine on the latest version. It's not old enough to have trouble. Looks like perhaps your Go toolchain is broken.