Buckets:
AnonymousSpottedToad/human_verified_bucket / human_annotated /mappings /python /authentication_pwd__AmberLee2427_nancy-brain.json
| { | |
| "role_mappings": [ | |
| { | |
| "role": "Subject", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "Submits username + password via form", | |
| "status": "external", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "symbol": "login", | |
| "file": "connectors/http_api/app.py", | |
| "lines": "323", | |
| "notes": "Raises HTTP 401 on invalid credentials", | |
| "status": "present", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Verification manager", | |
| "symbol": "authenticate_user", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "226", | |
| "notes": "Orchestrates DB lookup + bcrypt verify", | |
| "status": "present", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Comparator", | |
| "symbol": "verify", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "221", | |
| "notes": "passlib bcrypt constant-time compare", | |
| "status": "external", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Hasher", | |
| "symbol": "verify", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "221", | |
| "notes": "bcrypt hashing (secure)", | |
| "status": "external", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Password store", | |
| "symbol": "get_user", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "210", | |
| "notes": "CREATE TABLE users; get_user() at L210", | |
| "status": "present", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Pepper store", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "Not found", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Encrypter", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "Not found (no HMAC/pepper step)", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Hash manager", | |
| "symbol": "add_user", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "257", | |
| "notes": "Orchestrates hashing during registration", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "SRNG", | |
| "symbol": "secrets.token_urlsafe", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "111", | |
| "notes": "CSPRNG for API keys; bcrypt auto-generates salt", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Password policy", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "Not found (no explicit password policy check)", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "System", | |
| "symbol": "", | |
| "file": "connectors/http_api/app.py", | |
| "lines": "327–335", | |
| "notes": "Returns data after successful auth", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Registrar", | |
| "symbol": "add_user", | |
| "file": "connectors/http_api/auth.py", | |
| "lines": "257", | |
| "notes": "Hashes password and inserts into users table; also add_user.py CLI", | |
| "status": "missing", | |
| "nodeId": null | |
| }, | |
| { | |
| "role": "Resetter", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "Not found (no password reset flow)", | |
| "status": "missing", | |
| "nodeId": null | |
| } | |
| ] | |
| } | |
Xet Storage Details
- Size:
- 3.21 kB
- Xet hash:
- 905e834b62bda9b5163768edae38acd326cbe2854bb2626972012676fa03fdb5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.