Initial import

This commit is contained in:
2025-09-04 14:14:02 +02:00
commit ac609a54c2
19 changed files with 1228 additions and 0 deletions

20
keyring_stub.go Normal file
View File

@@ -0,0 +1,20 @@
//go:build !darwin && !windows && !(dragonfly && cgo) && !(freebsd && cgo) && !linux && !netbsd && !openbsd
package secret
import (
"errors"
"runtime"
)
var errKeyringNotSupported = errors.New("secret: keyring is not supported on " + runtime.GOOS)
type keyring struct{}
func keyringProvider(_ string) (Provider, error) {
return nil, errKeyringNotSupported
}
func (keyring) GetSecret(_ string) (_ []byte, err error) {
return nil, errKeyringNotSupported
}