Skip to content

bug: restore log includes payment details #2024

Todo

Description

@ovitrif

The restore log's copy of the app cache still carries payment details. BackupRepo.kt logs the cache after a restore and its comment says payment history stays out of the log, but the logged copy still includes sparkSendHashes, ldkSendHashes, the sparkUncertainSends keys, pubkySwapHoldHashes, pendingLightningMessages (LNURL comments by hash), bolt11, bolt11PaymentHash, onchainAddress, pendingSparkWithdrawal and sentSparkWithdrawals. Support requests attach that log.

Nothing in AppCacheData is key material, so this is a privacy leak into shared logs, not a funds risk.

Expected: the logged copy leaves out every payment-identifying field, as #2015 does for sparkUnsavedOwnFailures and sparkSendAttemptIds.

Found by @jvsena42 in #2015 (comment). It predates that PR.

Activity

  1. added this to the 3.2.0 milestone on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
  3. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions