Derrick Hammer
|
bf15faf33f
|
feat: need else on hash check
|
2024-01-24 19:10:19 -05:00 |
Derrick Hammer
|
bf25d7bfda
|
feat: use new file abstraction and use http.ServeContent
|
2024-01-24 19:08:13 -05:00 |
Derrick Hammer
|
95b57cffc0
|
fix: handle both cid and base64url hash
|
2024-01-24 17:15:21 -05:00 |
Derrick Hammer
|
523286df32
|
fix: use MaxUint32
|
2024-01-24 12:51:19 -05:00 |
Derrick Hammer
|
c976ec31be
|
fix: create an AccountPinResponse with a custom msgpack encoder
|
2024-01-24 12:29:25 -05:00 |
Derrick Hammer
|
a4137102e6
|
fix: import cycle
|
2024-01-24 03:36:03 -05:00 |
Derrick Hammer
|
6a2b1b4a9b
|
feat: implement provider store
|
2024-01-24 03:28:47 -05:00 |
Derrick Hammer
|
22eacc4af1
|
feat: implement /s5/download/:cid
|
2024-01-24 01:27:05 -05:00 |
Derrick Hammer
|
e9db71f3b8
|
refactor: move middleware to its own package to prevent import cycles
|
2024-01-19 17:04:25 -05:00 |
Derrick Hammer
|
2c30477465
|
refactor: update putfile and gethash call names
|
2024-01-19 15:52:26 -05:00 |
Derrick Hammer
|
82f34726d6
|
debug: add logging
|
2024-01-18 14:38:15 -05:00 |
Derrick Hammer
|
12de0342f5
|
debug: add logging
|
2024-01-18 14:28:32 -05:00 |
Derrick Hammer
|
8161d36f0e
|
fix: bad response for existing file
|
2024-01-18 13:53:04 -05:00 |
Derrick Hammer
|
f957ef5d78
|
feat: implement /s5/metadata/:cid
|
2024-01-17 22:19:42 -05:00 |
Derrick Hammer
|
510a57162c
|
feat: implement /s5/debug/storage_locations/:hash
|
2024-01-17 22:02:36 -05:00 |
Derrick Hammer
|
0c88e80a66
|
feat: implement /s5/blob/:cid
|
2024-01-17 21:23:33 -05:00 |
Derrick Hammer
|
dfd03673c9
|
fix: pin the file if it exists
|
2024-01-17 17:21:15 -05:00 |
Derrick Hammer
|
7fde67aea5
|
fix: use PinByID and pin after creating the upload
|
2024-01-17 17:16:12 -05:00 |
Derrick Hammer
|
72c3167e5f
|
feat: implement POST /s5/registry/subscription
|
2024-01-17 16:46:13 -05:00 |
Derrick Hammer
|
acb9604b02
|
feat: implement POST /s5/registry
|
2024-01-17 16:20:51 -05:00 |
Derrick Hammer
|
cde3f90d2d
|
feat: implement GET /s5/registry
|
2024-01-17 16:05:31 -05:00 |
Derrick Hammer
|
7248570e6b
|
feat: implement /s5/debug/download_urls/:cid
|
2024-01-17 15:36:21 -05:00 |
Derrick Hammer
|
c338a41efd
|
refactor: use CreateUpload
|
2024-01-17 14:49:35 -05:00 |
Derrick Hammer
|
5fec2f08ff
|
feat: implement /s5/upload/directory
|
2024-01-17 14:46:37 -05:00 |
Derrick Hammer
|
6a8a3c436a
|
feat: implement /s5/pin/:cid
|
2024-01-17 13:13:37 -05:00 |
Derrick Hammer
|
66dabf5150
|
feat: implement /s5/delete/:cid
|
2024-01-17 13:04:32 -05:00 |
Derrick Hammer
|
a5cbb4c4fb
|
fix: tier to use AccountTier struct
|
2024-01-17 12:38:52 -05:00 |
Derrick Hammer
|
1cf2d9880c
|
feat: add /s5/account/pins.bin endpoint
|
2024-01-17 12:33:05 -05:00 |
Derrick Hammer
|
cf422aef0e
|
feat: add /s5/account/stats endpoint
|
2024-01-17 12:03:08 -05:00 |
Derrick Hammer
|
ef872bf344
|
feat: add /s5/account endpoint
|
2024-01-17 11:52:54 -05:00 |
Derrick Hammer
|
897fec75ad
|
fix: update use of CIDFromHash
|
2024-01-17 11:31:48 -05:00 |
Derrick Hammer
|
708bd82879
|
fix: need to seek to reset reader
|
2024-01-17 11:04:24 -05:00 |
Derrick Hammer
|
a41cdbf52c
|
fix: use the userid context key
|
2024-01-17 09:05:39 -05:00 |
Derrick Hammer
|
224d7a636d
|
fix: need to check the decoded public key in hex format
|
2024-01-17 08:47:58 -05:00 |
Derrick Hammer
|
1054c52e2f
|
fix: if email is empty set to a dummy address based on the pubkey
|
2024-01-16 16:16:37 -05:00 |
Derrick Hammer
|
d237b42314
|
fix: if pubkey isnt registered, error
|
2024-01-16 16:05:28 -05:00 |
Derrick Hammer
|
f8d0dc6787
|
fix: delete challenges after they have been used
|
2024-01-16 15:48:45 -05:00 |
Derrick Hammer
|
6c34b383d7
|
fix: verify the response, not the challenge
|
2024-01-16 15:37:08 -05:00 |
Derrick Hammer
|
bc5957f881
|
fix: need to pass the pubkey without the prefix and encoded to hex
|
2024-01-16 15:30:00 -05:00 |
Derrick Hammer
|
accffade40
|
fix: update error handling
|
2024-01-16 15:26:57 -05:00 |
Derrick Hammer
|
f34f009f17
|
fix: key needs to be 33 bytes
|
2024-01-16 15:26:36 -05:00 |
Derrick Hammer
|
e1709a7910
|
fix: update error handling
|
2024-01-16 15:23:00 -05:00 |
Derrick Hammer
|
d74d29e2c5
|
fix: check that key is 33 bytes and is a ed25519
|
2024-01-16 15:22:48 -05:00 |
Derrick Hammer
|
09216e2817
|
fix: challenge needs to be base64url encoded
|
2024-01-16 15:12:05 -05:00 |
Derrick Hammer
|
db46fcd774
|
fix: check the challenge substring
|
2024-01-16 14:45:07 -05:00 |
Derrick Hammer
|
1b680dd399
|
fix: validate without key prefix
|
2024-01-16 14:43:26 -05:00 |
Derrick Hammer
|
dd5c6332f3
|
fix: response must be 65 bytes
|
2024-01-16 14:32:53 -05:00 |
Derrick Hammer
|
5d393c3915
|
fix: pubkey missing from challenge record
|
2024-01-16 14:22:16 -05:00 |
Derrick Hammer
|
ec9026c8b1
|
feat: implement AccountLogin
|
2024-01-16 13:56:25 -05:00 |
Derrick Hammer
|
eee1faab18
|
feat: implement AccountLoginChallenge
|
2024-01-16 13:51:03 -05:00 |