Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Unable to install Debian #10

Open
Conwyn opened this issue May 27, 2018 · 1 comment
Open

Unable to install Debian #10

Conwyn opened this issue May 27, 2018 · 1 comment

Comments

@Conwyn
Copy link

Conwyn commented May 27, 2018

Hi

I guess I am missing something obvious.

root@lamp /tmp/pki# go get github.com/google/easypki/pkg/easypki

github.com/google/easypki/pkg/easypki

/go/src/github.com/google/easypki/pkg/easypki/easypki.go:87: privateKey.Public undefined (type *rsa.PrivateKey has no field or method
Public)
/go/src/github.com/google/easypki/pkg/easypki/template.go:53: genReq.Template.MaxPathLenZero undefined (type *x509.Certificate has no
field or method MaxPathLenZero)

@jeremy-clerc
Copy link
Contributor

It builds for me with go1.10

https://golang.org/pkg/crypto/rsa/#PrivateKey.Public
https://golang.org/pkg/crypto/x509/#Certificate has MaxPathLenZero

Maybe you are using a very old version of Go which does not have these in the core packages.
Note 1: the last time it built via travis, it was using go1.7 which is already quite old.
Note 2: I do not maintain this repo, and do not belong to the org anymore, so this repo is kind of dead. Feel free to fork it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants