Windows DPAPI Golang package

553 views
Skip to first unread message

Jan Berktold

unread,
Nov 23, 2016, 11:13:43 AM11/23/16
to golan...@googlegroups.com
Hello everyone,

Does anyone know a Go package which provides an interface to the Windows Data Protection API?


Thanks in advance

Pietro Gagliardi

unread,
Nov 23, 2016, 1:41:04 PM11/23/16
to Jan Berktold, golan...@googlegroups.com
That is the .net API; the equivalent C API is


Looking on godoc.org and github, I don't see any pre-made packages that implement this. However, you can use golang.org/x/sys/windows to call this function yourself.

https://github.com/search?q=cryptprotectdata+language%3Ago&type=Code shows that there are a few projects using htis internally, if you need some sample code.

Good luck!

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages