Package 'rkeepass'

Title: Read KeePass Database Files
Description: Read entries from KeePass '.kdbx' database files (versions 3.x and 4.x) using the 'keepass-rs' Rust library. Supports password and keyfile authentication.
Authors: David Schoch [aut, cre] (ORCID: <https://orcid.org/0000-0003-2952-4812>)
Maintainer: David Schoch <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0
Built: 2026-05-06 09:12:55 UTC
Source: https://github.com/schochastics/rkeepass

Help Index


Read a KeePass Database File

Description

Reads entries from a KeePass .kdbx database file (versions 3.x and 4.x).

Usage

kdbx_read(path, password = NULL, keyfile = NULL)

Arguments

path

Character scalar. Path to the .kdbx file.

password

Character scalar or NULL. The database master password.

keyfile

Character scalar or NULL. Path to a key file.

Details

At least one of password or keyfile must be provided. The function auto-detects the KDBX version (3.x or 4.x). Protected fields (like passwords) are automatically decrypted.

Value

A data.frame with one row per entry and columns:

uuid

Character. The unique identifier of the entry.

group_path

Character. The slash-separated path of the group containing this entry (e.g., "Root/Internet").

title

Character. The entry title.

username

Character. The username field.

password

Character. The password field (decrypted).

url

Character. The URL field.

notes

Character. The notes field.

Examples

## Not run: 
db <- kdbx_read("my_database.kdbx", password = "secret")
db[db$group_path == "Root/Email", ]

## End(Not run)