3 ms·
I'm quite surprised to see this on HN homepage, I mean this is such a great and popular tool that I would expect everyone to know about it and find it just an o
by dewiz 13y ago
I'm quite surprised to see this on HN homepage, I mean this is such a great and popular tool that I would expect everyone to know about it and find it just an obvious link not to upvote.
Does anyone know if there is a lib to read and write into keepass archives programmatically, e.g. from a C# app? that would be quite useful to manage in an automated way some credentials for production systems, sharing tha archive via versioning repos in a team.
- krapp 13y agoI upvoted it because I use it. Although since I am studying C#, VB and Java I would be interested to find out the answer to that.
- dorolow 13y agoHow about this? https://github.com/dlech/keepass2/tree/master/KeePassLib https://github.com/dlech/keepass2/tree/master/KeePassLib
- abrussak 13y agoThis may work: http://keepass.info/help/v2_dev/scr_index.html http://keepass.info/help/v2_dev/scr_index.html
- rat87 13y agoThe first link in that link describes a flexible command line you can use for a number of operations. The second describes how you can write c# like script files that will be loaded. Both require the KPScript extension. Why not just bundle/reference keepass.exe since its a .net executable? see http://stackoverflow.com/a/9028433/259130 http://stackoverflow.com/a/9028433/259130 . Also if you haven't tried it yet you might want to try messing about with https://www.linqpad.net/ https://www.linqpad.net/ (run c# as script file/interactively) like he did.