Git Product home page Git Product logo

Comments (5)

miekg avatar miekg commented on July 24, 2024

I haven't found the time to update it to the latest Go release. Looks like the crypto package has changed.

mmikulicic [email protected] wrote:

I applied the automated migrations with

for i in */.go; do gofix $i; done

but it still doesn't compile:

6g -o go.6 clientconfig.go client.go defaults.go dns.go dnssec.go edns.go keygen.go msg.go nsec3.go server.go tsig.go types.go xfr.go
client.go:152: label forever defined and not used
keygen.go:61: t.P undefined (type rsa.PrivateKey has no field or method P)
keygen.go:62: t.Q undefined (type *rsa.PrivateKey has no field or method Q)
keygen.go:67: t.P undefined (type *rsa.PrivateKey has no field or method P)
keygen.go:68: t.Q undefined (type *rsa.PrivateKey has no field or method Q)
keygen.go:71: t.Q undefined (type *rsa.PrivateKey has no field or method Q)
keygen.go:71: t.P undefined (type *rsa.PrivateKey has no field or method P)
keygen.go:131: p.P undefined (type *rsa.PrivateKey has no field or method P)
keygen.go:132: p.P undefined (type *rsa.PrivateKey has no field or method P)
keygen.go:135: p.Q undefined (type *rsa.PrivateKey has no field or method Q)
keygen.go:135: too many errors
make: *
* [go.6] Error 1

Reply to this email directly or view it on GitHub:
https://github.com/miekg/godns/issues/3

from dns.

elazarl avatar elazarl commented on July 24, 2024

@miekg, now they support Private keys with more than two factors. BTW, why do you generate them on your own, isn't there some library to do that for you?

from dns.

miekg avatar miekg commented on July 24, 2024

I've upgraded to release/release.r58 and everything compiles just thing now. Can you still not compile GoDNS?

from dns.

elazarl avatar elazarl commented on July 24, 2024

@miekg, I know, you pulled the fix from me ;-) I first reported it here, and then fixed it (hopefully). Do the tests compile?

from dns.

miekg avatar miekg commented on July 24, 2024

[ Quoting elazarl at 00:36 on July 5 in "Re: [godns] Doesn't compile on go 1"... ]

@miekg, I know, you pulled the fix from me ;-) I first reported it
here, and then fixed it (hopefully). Do the tests compile?

Ah, I remember, but I didn't close the issue :)

Tests are now working, the non-working tests are disabled. I will
"port" those over this evening.

grtz,

Miek

from dns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.