msteinert / pam Goto Github PK
View Code? Open in Web Editor NEWGo wrapper module for the Pluggable Authentication Modules (PAM) API
Home Page: http://godoc.org/github.com/msteinert/pam
License: BSD 2-Clause "Simplified" License
Go wrapper module for the Pluggable Authentication Modules (PAM) API
Home Page: http://godoc.org/github.com/msteinert/pam
License: BSD 2-Clause "Simplified" License
Apparently v2 tags are not supported.
https://go.dev/blog/v2-go-modules
This issue is a reminder to follow up on a v2 release as described in the link.
I was trying to an extra test to go-pam, to test the finalizer:
But as you can see from the message, it may not behave as expected.
In fact I feel that calling data finalizers on modules side from a
groutine as SetFinalizer does could create troubles as you can see in
logs from: https://github.com/msteinert/pam/actions/runs/6355635285
PAM per se is thread safe but modules may not and this could be problematic since it's implicitly happening in a goroutine.
So, we decided with @msteinert to just drop this and make usage of End()
to be explicit.
../../go/pkg/mod/github.com/msteinert/pam/[email protected]/errors.go:81:21: could not determine kind of name for C.PAM_BAD_ITEM
../../go/pkg/mod/github.com/msteinert/pam/[email protected]/errors.go:84:23: could not determine kind of name for C.PAM_CONV_AGAIN
../../go/pkg/mod/github.com/msteinert/pam/[email protected]/errors.go:88:24: could not determine kind of name for C.PAM_INCOMPLETE
They are probably Linux specific. Can these be OS architecture dependent?
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.