confd icon indicating copy to clipboard operation
confd copied to clipboard

cannot find module providing package code.google.com/p/go.crypto/openpgp

Open fujitalon opened this issue 2 years ago • 1 comments

go install github.com/kelseyhightower/conf resulted in go: finding module for package code.google.com/p/go.crypto/openpgp ......\go\pkg\mod\github.com\xordataexchange\[email protected]\encoding\secconf\secconf.go:15:2: cannot find module providing package code.google.com/p/go.crypto/openpgp: unrec ognized import path "code.google.com/p/go.crypto/openpgp": parse https://code.google.com/p/go.crypto/openpgp?go-get=1: no go-import meta tags (meta tag github.com/golang/go did not match import path code.google.com/p/go.crypto/openpgp)

https://github.com/xordataexchange/crypt/issues/34 says github.com\xordataexchange\crypt is not active, use https://github.com/bketelsen/crypt.

fujitalon avatar Nov 18 '22 08:11 fujitalon

I think you need to specify a ref. The following works with docker (b974b1e is the latest commit):

FROM golang:1.19-alpine

RUN go install github.com/kelseyhightower/confd@b974b1e

You should see:

go: downloading github.com/kelseyhightower/confd v0.16.1-0.20220928145805-b974b1eef60f

nick-oconnor avatar Jan 04 '23 13:01 nick-oconnor