diff --git a/.cursorignore b/.cursorignore index 3f6a598..eb48127 100644 --- a/.cursorignore +++ b/.cursorignore @@ -1,8 +1,14 @@ -storage/dev/.env -storage/dev/.env* +# PROTECTION COMPLÈTE - Empêcher l'accès Cursor à storage/ +storage/ + +# Variables d'environnement (protection renforcée) */.env -*/.toml -*/.conf */.env* +*/.toml */.toml* +*/.conf */.conf* + +# Clés utilisateur et données sensibles +**/_keys/ +**/keys.json diff --git a/.dockerignore b/.dockerignore index d69513d..f6d31ea 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,10 +1,18 @@ -storage/dev/.env -storage/dev/.env* +# PROTECTION COMPLÈTE - Empêcher l'accès Docker à storage/ +storage/ + +# Variables d'environnement (protection renforcée) */.env -*/.toml -*/.conf */.env* +*/.toml */.toml* +*/.conf */.conf* + +# Clés utilisateur et données sensibles +**/_keys/ +**/keys.json + +# Dépendances */node_modules */venv \ No newline at end of file diff --git a/.gitignore b/.gitignore index ba3aa61..0f5c0cc 100644 --- a/.gitignore +++ b/.gitignore @@ -69,12 +69,24 @@ logs/ *.key *.pem -# Vault keys and sensitive data +# Vault keys and sensitive data - PROTECTION COMPLÈTE +# Empêcher l'accès à TOUT le répertoire storage +storage/ +!storage/.gitkeep +!storage/*/README.md +!storage/*/bitcoin/ +!storage/*/bitcoin/*.conf + +# Clés utilisateur (double protection) storage/*/_keys/ storage/*/keys.json **/_keys/ **/keys.json +# Variables d'environnement (protection renforcée) +storage/*/.env +storage/*/.env.* + # Temporary files /tmp/ *.tmp diff --git a/storage/.gitkeep b/storage/.gitkeep index e69de29..06eadfb 100644 --- a/storage/.gitkeep +++ b/storage/.gitkeep @@ -0,0 +1 @@ +# Ce fichier garantit que le répertoire storage/ est présent dans Git diff --git a/storage/prod/README.md b/storage/prod/README.md deleted file mode 100644 index a23d1b6..0000000 --- a/storage/prod/README.md +++ /dev/null @@ -1 +0,0 @@ -# Configuration production diff --git a/storage/prod/bitcoin/bitcoin.conf b/storage/prod/bitcoin/bitcoin.conf deleted file mode 100644 index 130bf50..0000000 --- a/storage/prod/bitcoin/bitcoin.conf +++ /dev/null @@ -1,45 +0,0 @@ -# Configuration globale -signet=1 -server=1 -datadir=$ROOT_DIR_LOGS/bitcoin - -[signet] -daemon=0 -txindex=1 -upnp=1 -#debug=1 -#loglevel=debug -logthreadnames=1 -onion=tor:$TOR_PORT -listenonion=1 -onlynet=onion - -# Paramètres RPC -rpcauth=$BITCOIN_RPC_AUTH -rpcallowip=0.0.0.0/0 -rpcworkqueue=32 -rpcthreads=4 -rpcdoccheck=1 - -# Paramètres ZMQ -zmqpubhashblock=tcp://:$BITCOIN_ZMQPBUBHASHBLOCK_PORT -zmqpubrawtx=tcp://:$BITCOIN_ZMQPUBRAWTX_PORT - -listen=1 -bind=:$BITCOIN_SIGNET_P2P_PORT -rpcbind=:$BITCOIN_SIGNET_RPC_PORT -rpcport=$BITCOIN_SIGNET_RPC_PORT -fallbackfee=0.0001 -blockfilterindex=1 -datacarriersize=205 -acceptnonstdtxn=1 -dustrelayfee=0.00000001 -minrelaytxfee=0.00000001 -prune=0 -signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821 -wallet=$BITCOIN_WALLET_NAME -wallet=watchonly -maxtxfee=1 -addnode=tlv2yqamflv22vfdzy2hha2nwmt6zrwrhjjzz4lx7qyq7lyc6wfhabyd.onion -addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion -addnode=id7e3r3d2epen2v65jebjhmx77aimu7oyhcg45zadafypr4crqsytfid.onion \ No newline at end of file