## Formal Verification - Add TLA+ specs for UTXO conservation (formal/tla/UTXOConservation.tla) - Add TLA+ specs for GHOSTDAG ordering (formal/tla/GHOSTDAGOrdering.tla) - Add mathematical proof of DAA convergence (formal/proofs/) - Document Kani verification approach (formal/kani/) ## Bug Bounty Program - Add SECURITY.md with vulnerability disclosure process - Add docs/BUG_BOUNTY.md with $500-$100,000 reward tiers - Define scope, rules, and response SLA ## Web Wallet Dilithium3 WASM Integration - Build WASM module via Docker (498KB optimized) - Add wasm-crypto.ts lazy loader for Dilithium3 - Add createHybridSignatureLocal() for full client-side signing - Add createHybridSignatureSmart() for auto-mode selection - Add Dockerfile.wasm and build scripts ## Security Review ($0 Approach) - Add .github/workflows/security.yml CI workflow - Add deny.toml for cargo-deny license/security checks - Add Dockerfile.security for audit container - Add scripts/security-audit.sh for local audits - Configure cargo-audit, cargo-deny, cargo-geiger, gitleaks
15 lines
583 B
Text
15 lines
583 B
Text
# This directory contains the built WASM module (synor-crypto-wasm)
|
|
#
|
|
# To build the WASM module:
|
|
# docker build -f Dockerfile.wasm -t synor-wasm-builder .
|
|
# docker run --rm -v $(pwd)/apps/web/src/wasm:/dest synor-wasm-builder sh -c 'cp -r /wasm-output/pkg/* /dest/'
|
|
#
|
|
# Or using the build script:
|
|
# cd crates/synor-crypto-wasm && ./build-wasm.sh
|
|
# cp -r pkg/* ../../apps/web/src/wasm/
|
|
#
|
|
# The WASM module provides:
|
|
# - DilithiumSigningKey: Post-quantum signatures
|
|
# - Keypair: Ed25519 signatures
|
|
# - Mnemonic: BIP-39 mnemonic generation
|
|
# - blake3, sha3_256: Hash functions
|