Skip to content

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog, and this project uses Semantic Versioning.

[0.4.0] - 2026-11-29

Added

  • Standalone executables for Windows (x64), Linux (x64) and macOS (Apple Silicon), attached to the GitHub releases together with the single script
  • Documentation site, published at https://egenix.github.io/freeotp-export-reader/
  • GitHub project setup: test, documentation and release workflows, issue templates and a security policy
  • Pre-commit hooks (run with prek), including ruff linting and formatting

Fixed

  • JSON output to stdout is now always UTF-8 encoded; on Windows, redirected output failed for token names with characters outside the system code page

[0.3.0] - 2026-11-29

Added

  • --check option: only checks for tokens which cannot be decrypted and outputs a report without secrets; exits with code 3 if such tokens are found
  • Tokens which cannot be decrypted are listed in the new undecryptable_tokens output section, with token ID, issuer, label, type, the reason and related backup entries
  • unrecognized_entries output section listing backup entries which don't belong to any token (names, types and JSON field names only)
  • Detection of incompletely read Java serialized backups (entry count check)

Changed

  • A token whose secret cannot be decrypted no longer aborts the export; all other tokens are still exported
  • Warnings about such tokens now include the token name
  • The reason for tokens without an encrypted secret now explains the likely cause (FreeOTP could not access its master key when the token was added)

Fixed

  • Non-string backup entries (e.g. FreeOTP's restoreComplete flag) no longer cause an error; boolean, integer and float values are read from Java serialized backups

[0.2.0] - 2026-11-29

Changed

  • The tool is now a single, self-contained script (freeotp_export_reader.py) with inline dependency metadata; it can be copied and run on its own, without any other project files
  • Python API: import from the freeotp_export_reader module (formerly a package)

[0.1.0] - 2026-11-29

Added

  • Read FreeOTP (Android) 2.x backup files created via the "Backup" menu entry (Java serialized map), as well as shared preferences XML backups
  • Decrypt the master key (PBKDF2 + AES-GCM) and all token secrets using the backup password
  • Output all token details as pretty-printed JSON: name, issuer, label, type, secret (base32, hex, base64), algorithm, digits, period, counter, Steam encoding and all other stored metadata
  • Ready-to-use KeePass OTP string fields and otpauth:// URIs (KeePassXC) per token; KeePass fields are left empty for tokens KeePass cannot handle
  • Per-token warnings, e.g. about possibly outdated HOTP counters
  • Password input via prompt, password file, stdin or environment variable
  • Output files are written atomically, with owner-only permissions, and are never overwritten without --force
  • Strict validation of the backup data; malformed input results in clear error messages