- Scripts: start-webdav.cmd, stop-webdav.cmd (echo messages, REM comments) - Server: server.js (console.log, HTTP error messages) - Token tools: token-test.js, token-refresh.js - Other: auth-poc.js, debug-name-decrypt.js, internxt-client.js, upload.js - Docs: README, .env.example, docs/*.md Made-with: Cursor
1.1 KiB
1.1 KiB
Extract CRYPTO_SECRET from drive.internxt.com
If login fails with "Wrong login credentials", CRYPTO_SECRET is likely incorrect. drive-web uses REACT_APP_CRYPTO_SECRET, which may differ from the CLI value (6KYQBP847D4ATSFA).
Method 1: DEBUG mode (verify salt decryption)
DEBUG=1 npm run auth-test
- "Salt decryption OK" → CRYPTO_SECRET is correct, problem is elsewhere (password, API)
- "Salt decryption failed" → CRYPTO_SECRET is wrong
Method 2: Search for secret in browser
-
DevTools (F12) → Sources
-
Ctrl+Shift+F (search in all files)
-
Search for:
6KYQBP847D4ATSFA– if found, same value as CLI is usedREACT_APP_CRYPTO_SECRETorCRYPTO_SECRET- Hex strings (e.g. 16 chars like
a1b2c3d4e5f6...)
-
Add found value to
.env:CRYPTO_SECRET=found_value
Method 3: Build drive-web locally (with known secret)
If you have access to drive-web and know the correct secret:
- Create
.envindrive-webwithREACT_APP_CRYPTO_SECRET=... - Run
yarn build - Search build artifacts for the embedded value