- Add docs/README.md as the index of all documentation. - Split the 52 DEC entries of decisioni-e-limiti.md into docs/adr/ADR-NN files (same numbers), add ADR-53 (audit log), TEMPLATE.md and an ADR index with a feature -> ADR table. - Rename decisioni-e-limiti.md to limiti-noti.md (LIM only) and rewrite all DEC-nn references as links to the ADRs. - Document the docs-first / SSOT / ADR rules in processo-di-modifica.md and map the docs in CLAUDE.md and README.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
877 B
877 B
ADR-39 — L'esportazione della chiave privata WIF di un utente è voluta, non una vulnerabilità
- Stato: Accettata
- Area: Account, amministrazione e sicurezza
- Fonte di verità per: la scelta di progetto descritta qui sotto; i requisiti (
PREFISSO-NN) che la attuano stanno nei documenti di dominio, indicati nelle Conseguenze.
Decisione
L'esportazione della chiave privata WIF di un utente è
voluta, non una vulnerabilità. Il server possiede già la master key:
l'endpoint espone via API solo ciò che un operatore potrebbe comunque
ottenere con uno script (ad esempio per recuperare fondi bloccati). Ogni
accesso scrive admin_privkey_accessed, e quella registrazione non va tolta.
Codice: app/api/routes/admin.py:user_privkey · app/wallet/hd.py:derive_user_wif ·
Test: tests/unit/test_admin.py::test_admin_exports_user_privkey