Files
flaskpaste/.gitignore
Username 5849c7406f add /register endpoint for public certificate registration
Public endpoint allows anyone to obtain a client certificate for
authentication. Features:

- Higher PoW difficulty than paste creation (24 vs 20 bits)
- Auto-generates CA on first registration if not present
- Returns PKCS#12 bundle with cert, key, and CA
- Configurable via FLASKPASTE_REGISTER_POW

Endpoints:
- GET /register/challenge - Get registration PoW challenge
- POST /register - Register and receive PKCS#12 bundle
2025-12-21 10:34:02 +01:00

50 lines
392 B
Plaintext

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
ENV/
.venv/
# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/
# IDE
.idea/
.vscode/
*.swp
*.swo
# Data
data/*.db
data/*.db-journal
data/*.db-wal
data/*.db-shm
# Secrets
.credentials
.credentials.json
*.pem
*.key
keys/
# Build
dist/
build/
*.egg-info/
# OS
.DS_Store
Thumbs.db
# Private
.claude/
CLAUDE.md
CRUSH.md
PERSONAE