package main
import (
"fmt"
"github.com/xaionaro-go/pinentry"
)
func main() {
client, _ := pinentry.NewPinentryClient()
client.SetTitle("Some title here")
client.SetDesc("Some description here")
client.SetPrompt("Enter the passphrase, please:")
client.SetOK("Ok")
p, _ := client.GetPin()
fmt.Println(string(p))
client.Close()
}
forked from tcz001/pinentry
-
Notifications
You must be signed in to change notification settings - Fork 0
implementation of pinentry protocol in go
License
xaionaro-go/pinentry
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
implementation of pinentry protocol in go
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 100.0%