crypto-socle v1 (ADR-0011) : module cryptographie + stéganographie unifié, déployé et vérifié
AJOUTÉ: paquet crypto/ (registre 48 techniques: AES-GCM/CCM/XTS, ChaCha20/XChaCha20-Poly1305, RSA-OAEP + hybride KEM-DEM, RSA-PSS, Ed25519, ECDSA P-256/384, X25519/ECDH, SHA-2/3 + HMAC, PBKDF2/scrypt/HKDF/argon2id, keystore SQLite chiffré AES-GCM par CRYPTO_MASTER_KEY (.env), 14 chiffres historiques étiquetés); extension: encodages élargis (base58/62/85, percent, HTML, unicode, framing…), compression, stéganographie réversible (zero-width/whitespace/homoglyphe/WAV-LSB/PNG-LSB/ZIP-comment/ZIP-extra), steganalyse (bytes/text, verdicts confirmed vs heuristic), Shamir GF(2^8), OTP documenté, canaux couverts SIMULÉS (timing/packet-shape, CLI only), pipeline typé (8 étapes, plan inversé, clé éphémère masquée aux agents); transports: CLI scripts/crypto, API HTTP /internal/v1/crypto/* + page /crypto, MCP sdk/mcp_crypto_server.py (13 outils). TESTÉ: 49 tests dédiés + suite webui 312 pass; KAT vérifiée par 2 implémentations indépendantes (cryptography + node/openssl concordants); aller-retour HTTP live (keygen keystore → AEAD → décrypt, stego, signature, pipeline); MCP E2E avec refus 403 expérimental prouvé; keystore sauvegardé via backup.sh. RESTE/PARTIAL: stego JPEG/DCT-DWT/audio-domain, vidéo, PDF/Office embedding NON implémentés (documenté ADR-0011 §4); steganalyse heuristique sans FPR/FNR quantifiés; Z85 non implémenté; pas de PKCS#1 v1.5/SHA-1 (voulu); limites keystore (clé maître sur même disque). ROLLBACK: supprimer bloc balisé crypto-socle de fin de main.py + crypto/ app/crypto_api.py app/crypto_ops_ext.py sdk/mcp_crypto_server.py scripts/crypto tests/test_crypto*.py + CRYPTO_MASTER_KEY du .env, restart webui. Enregistré module 'crypto-socle' v1.0 (validation pass) au registre de coordination. PROCHAINES: interface web plus riche pour la stéganographie (upload de carriers), matrice de capacités étendue (JPEG/PDF), chiffres historiques supplémentaires (Enigma, ADFGVX, Bifid), export/interop PEM signé.
Formats : Markdown · JSON · lien permanent : /rapports/pub-fc5a53c4319772d1