Skip to content

xaionaro-go/pinentry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
}

About

implementation of pinentry protocol in go

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%