- 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
37 lines
824 B
Markdown
37 lines
824 B
Markdown
# Development under WSL (login() with Keys)
|
|
|
|
Under Windows, the Kyber WASM module fails. Under WSL (Ubuntu/Debian) it usually works.
|
|
|
|
## Prerequisites
|
|
|
|
- WSL2 with Ubuntu or Debian
|
|
- Node.js 20+ (`node -v`)
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
# In WSL terminal
|
|
cd /mnt/c/Users/mbusc/source/repos/internxt-webdav
|
|
|
|
# Install dependencies (including Kyber for login with keys)
|
|
npm install
|
|
|
|
# .env with credentials (INXT_EMAIL, INXT_PASSWORD)
|
|
# Optional: DEBUG=1 for salt check
|
|
```
|
|
|
|
## Test Auth PoC with login()
|
|
|
|
First switch the Auth PoC to `login()` (with keys):
|
|
|
|
```bash
|
|
npm run auth-test
|
|
```
|
|
|
|
If the "Wrong login credentials" error persists, the issue is not Kyber-WASM but the backend/account type.
|
|
|
|
## Project Path
|
|
|
|
Windows path: `c:\Users\mbusc\source\repos\internxt-webdav`
|
|
WSL path: `/mnt/c/Users/mbusc/source/repos/internxt-webdav`
|