mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Clear sensitive dispute data based on dispute opening date.
Change recommended setting for sensitive data clearing to 60 days.
This commit is contained in:
parent
3bc096417e
commit
a983e4a45e
3 changed files with 3 additions and 3 deletions
|
@ -307,7 +307,7 @@ public abstract class DisputeManager<T extends DisputeList<Dispute>> extends Sup
|
|||
Instant safeDate = closedTradableManager.getSafeDateForSensitiveDataClearing();
|
||||
getDisputeList().getList().stream()
|
||||
.filter(e -> e.isClosed())
|
||||
.filter(e -> e.getTradeDate().toInstant().isBefore(safeDate))
|
||||
.filter(e -> e.getOpeningDate().toInstant().isBefore(safeDate))
|
||||
.forEach(Dispute::maybeClearSensitiveData);
|
||||
requestPersistence();
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ public final class Preferences implements PersistedDataHost, BridgeAddressProvid
|
|||
|
||||
public static final boolean USE_SYMMETRIC_SECURITY_DEPOSIT = true;
|
||||
public static final int CLEAR_DATA_AFTER_DAYS_INITIAL = 99999; // feature effectively disabled until user agrees to settings notification
|
||||
public static final int CLEAR_DATA_AFTER_DAYS_DEFAULT = 20; // used when user has agreed to settings notification
|
||||
public static final int CLEAR_DATA_AFTER_DAYS_DEFAULT = 60; // used when user has agreed to settings notification
|
||||
|
||||
// payload is initialized so the default values are available for Property initialization.
|
||||
@Setter
|
||||
|
|
|
@ -1393,7 +1393,7 @@ settings.preferences.sensitiveDataRemoval.msg=To protect the privacy of yourself
|
|||
remove payment account details from old trades. This is particularly important for fiat trades which may include bank \
|
||||
account details. Read more about this at [HYPERLINK:https://bisq.wiki/Data_Privacy].\n\n\
|
||||
The threshold for data removal can be configured on this screen via the field "Clear sensitive data after (days)". \
|
||||
It is recommended to set it as low as possible, for example 20 days. That means trades from more than 20 \
|
||||
It is recommended to set it as low as possible, for example 60 days. That means trades from more than 60 \
|
||||
days ago will have payment account details cleared, as long as they are finished. Finished trades are ones which \
|
||||
are found in the Portfolio / History tab.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue