decode

command
v1.24.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

decode decrypts an enc.json file produced by photogen and prints the plaintext JSON.

Usage:

go run cmd/decode/decode.go <path.enc.json>
go run cmd/decode/decode.go -passwords <pw-file> <path.enc.json>

If -passwords is not given, the passwords file path is read from the pwFile field embedded in the enc.json by photogen. The correct password is determined automatically from the filename:

  • albums.enc.json → site-wide password (site.password)
  • index.enc.json → per-album password for the parent directory slug

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL