Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.17 KB

Keepassx

GitHub license GitHub release Gem Gem CI

A Ruby library to read and write KeePassX databases.

Installation

gem install keepassx

or if you use bundler

gem 'keepassx'

Usage

require 'keepassx'

database = Keepassx::Database.open("/path/to/database.kdb")
database.unlock("the master password")
puts database.entry("entry's title").password

Security Warning

No attempt is made to protect the memory used by this library; there may be something we can do with libgcrypt's secure-malloc functions, but right now your master password is unencrypted in ram that could possibly be paged to disk.