jmckaskill / gokerb Goto Github PK
View Code? Open in Web Editor NEWKerberos library for go
Kerberos library for go
Hello!
I'm trying to use kerberos for authentication in an web project I'm working on. However I get
"Aug 18 22:02:54 auth krb5kdc1042: preauth (timestamp) verify failure: ASN.1 length doesn't match expected value"
when I try to get a ticket with your library.
The following is the code I used:
http://pastie.org/4546030
I'm pretty sure that it's something I'm supposed to do that I missed, since I'm new to kerberos. But I appreciate any help I can get.
Thanks!
//Yugge
Hi @jmckaskill Thanks for the library, could you please provide a simple usage in the readme?
Something like this would be very helpful:
https://github.com/requests/requests-kerberos
Hello everyone,
So I have a SOAP API with which I would like to communicate over HTTP.
I already managed to get a ticket-granting ticket (TGT) from the Key Distribution Center (KDC) thanks to the code in issue #1.
According to Kerberos specs, I should use this TGT to get a service ticket and communicate with the API, right? I guess func (t *Ticket) Connect(rw io.ReadWriter, flags int) (gssrw io.ReadWriter, err error)
is the function I want to use. However, I just simply don't know what should I use for the rw
parameter...
If anyone could help me on this, I would really appreciate.
Thanks for the great work BTW.
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.