Commit Graph
100 Commits
Author SHA1 Message Date
Fang-Pen Lin e33a314600 Well... mark as invalid 2025-11-07 09:19:41 -08:00
Fang-Pen Lin 7a6ba788f9 Fix bdd's http-01 server 2025-11-07 09:19:40 -08:00
Fang-Pen Lin b410d886ba B64url 2025-11-07 09:19:39 -08:00
Fang-Pen Lin d80a5414a5 Override host for acme challenge 2025-11-07 09:19:38 -08:00
Fang-Pen Lin 4d9b74c85b Fix error schema validation issue 2025-11-07 09:19:37 -08:00
Fang-Pen Lin c7cf1cac9f Try to fix error handling 2025-11-07 09:19:37 -08:00
Fang-Pen Lin 453dc57829 Fix status handling 2025-11-07 09:19:36 -08:00
Fang-Pen Lin 8aa7594f03 Fix types 2025-11-07 09:19:35 -08:00
Fang-Pen Lin 9314348b31 More error handling 2025-11-07 09:19:34 -08:00
Fang-Pen Lin f02adcf70c Fix invalid update 2025-11-07 09:19:33 -08:00
Fang-Pen Lin a07775664b Fix the query 2025-11-07 09:19:32 -08:00
Fang-Pen Lin e7a5e13085 Add missing deps 2025-11-07 09:19:31 -08:00
Fang-Pen Lin 941e857b0b Fix syntax 2025-11-07 09:19:30 -08:00
Fang-Pen Lin 31801455f0 Add cond 2025-11-07 09:19:29 -08:00
Fang-Pen Lin 8bc7c8b796 Fix mark valid logic 2025-11-07 09:19:28 -08:00
Fang-Pen Lin 737bbd3e08 Try to make challenge works 2025-11-07 09:19:27 -08:00
Fang-Pen Lin 9e8f3843a6 Implement mark valid cascade 2025-11-07 09:19:26 -08:00
Fang-Pen Lin aa62e465a0 Revert queue stuff 2025-11-07 09:19:25 -08:00
Fang-Pen Lin 0613a49795 More challenge logic 2025-11-07 09:19:24 -08:00
Fang-Pen Lin bc00710df3 Add queue stuff 2025-11-07 09:19:23 -08:00
Fang-Pen Lin 2cb38dae05 Add missing imports 2025-11-07 09:19:22 -08:00
Fang-Pen Lin 27e88d186d Use thumbprint instead 2025-11-07 09:19:21 -08:00
Fang-Pen Lin 1fe458e23b Add challenge service 2025-11-07 09:19:20 -08:00
Fang-Pen Lin 92a1d1f413 Send headers the right way 2025-11-07 09:19:19 -08:00
Fang-Pen Lin 2c53e744c2 Fix link header overriding issue and challenge dal find method bug 2025-11-07 09:19:18 -08:00
Fang-Pen Lin 3c3d890350 Fix sending headers 2025-11-07 09:19:17 -08:00
Fang-Pen Lin ea96cc87bb Add link headers 2025-11-07 09:19:16 -08:00
Fang-Pen Lin d14d64e11e Fix tell ready 2025-11-07 09:19:15 -08:00
Fang-Pen Lin b989777ed6 Tell server challenge is ready 2025-11-07 09:19:14 -08:00
Fang-Pen Lin 42706c205b Run server with thread 2025-11-07 09:19:13 -08:00
Fang-Pen Lin 3a05ad8cd1 Serve challenge server 2025-11-07 09:19:12 -08:00
Fang-Pen Lin 5d31627afd Add challenge selection 2025-11-07 09:19:11 -08:00
Fang-Pen Lin 6cf08622ed Add challenge 2025-11-07 09:19:10 -08:00
Fang-Pen Lin f6955da9ca More auth feature 2025-11-07 09:19:09 -08:00
Fang-Pen Lin f2e6d598f6 Add missing status 2025-11-07 09:19:08 -08:00
Fang-Pen Lin 9ad75c2a2d DRY 2025-11-07 09:19:07 -08:00
Fang-Pen Lin 7b15dee2e6 Add challenge 2025-11-07 09:19:06 -08:00
Fang-Pen Lin b50d7157b9 More asserts 2025-11-07 09:19:05 -08:00
Fang-Pen Lin 9bc22f8b3c Better glom path 2025-11-07 09:19:04 -08:00
Fang-Pen Lin cb62ed86a5 Fix auth dal 2025-11-07 09:19:03 -08:00
Fang-Pen Lin 33e140d641 Add auth feature 2025-11-07 09:19:02 -08:00
Fang-Pen Lin 1677909416 Fix ts 2025-11-07 09:19:01 -08:00
Fang-Pen Lin 744b02ee00 Refactor the code a bit 2025-11-07 09:19:00 -08:00
Fang-Pen Lin e2799b934a Implement getting auth 2025-11-07 09:18:59 -08:00
Fang-Pen Lin 1d19fb4788 Remove not needed dal methods 2025-11-07 09:18:59 -08:00
Fang-Pen Lin 31a70bc781 Add url check 2025-11-07 09:18:58 -08:00
Fang-Pen Lin 4970428f1d Rename 2025-11-07 09:18:57 -08:00
Fang-Pen Lin 8cab927cf2 Sort values 2025-11-07 09:18:56 -08:00
Fang-Pen Lin 51e6170abf Fix tests 2025-11-07 09:18:55 -08:00
Fang-Pen Lin a1835c0624 More features 2025-11-07 09:18:54 -08:00
Fang-Pen Lin 8c2e1379fe Rename 2025-11-07 09:18:53 -08:00
Fang-Pen Lin 3442ef1905 Fix DAL 2025-11-07 09:18:52 -08:00
Fang-Pen Lin 0f3dce4026 Add test for fetch order 2025-11-07 09:18:51 -08:00
Fang-Pen Lin bdc8d783f1 More asserts 2025-11-07 09:18:50 -08:00
Fang-Pen Lin dca819615f Provide more asserts 2025-11-07 09:18:49 -08:00
Fang-Pen Lin e4655532a8 More asserts 2025-11-07 09:18:48 -08:00
Fang-Pen Lin 69f93db519 Use glom instead 2025-11-07 09:18:47 -08:00
Fang-Pen Lin 1b827439b3 Add some asserts 2025-11-07 09:18:46 -08:00
Fang-Pen Lin 3a965bb43f Make bdd assert 2025-11-07 09:18:45 -08:00
Fang-Pen Lin 6b1147aef9 Improve var replacement 2025-11-07 09:18:44 -08:00
Fang-Pen Lin a3f2ee47f6 Return auth token 2025-11-07 09:18:43 -08:00
Fang-Pen Lin 1319ccc0d3 Add challenge token 2025-11-07 09:18:42 -08:00
Fang-Pen Lin a7f773b78f expires should be required 2025-11-07 09:18:41 -08:00
Fang-Pen Lin 9196e74437 Add more missing columns 2025-11-07 09:18:40 -08:00
Fang-Pen Lin 0ed464308f Use the same find by account and order id to always have valid obj ownership check 2025-11-07 09:18:39 -08:00
Fang-Pen Lin 6b85ab54a4 Refactor code 2025-11-07 09:18:38 -08:00
Fang-Pen Lin 011b0df414 Implement a bit of get auth 2025-11-07 09:18:37 -08:00
Fang-Pen Lin 68e4e6b36a Add missing stuff 2025-11-07 09:18:36 -08:00
Fang-Pen Lin 4707585294 Implement more stuff 2025-11-07 09:18:35 -08:00
Fang-Pen Lin c6f51cbd10 Implement get acme order 2025-11-07 09:18:34 -08:00
Fang-Pen Lin ea4b36b0ae Refactor 2025-11-07 09:18:33 -08:00
Fang-Pen Lin dd5bd35ad4 Fix ts 2025-11-07 09:18:32 -08:00
Fang-Pen Lin 61af9734b4 Refactor other endpoints and service methods 2025-11-07 09:18:31 -08:00
Fang-Pen Lin 96cb473192 Fix new order resp 2025-11-07 09:18:30 -08:00
Fang-Pen Lin c6981671af Add error handling 2025-11-07 09:18:29 -08:00
Fang-Pen Lin 3d58702a4f Fix bdd 2025-11-07 09:18:28 -08:00
Fang-Pen Lin 9ee9aa3261 More for new order 2025-11-07 09:18:27 -08:00
Fang-Pen Lin 53555892d4 Add new order feature 2025-11-07 09:18:27 -08:00
Fang-Pen Lin e2916cb0f7 Fix acme config creation 2025-11-07 09:18:26 -08:00
Fang-Pen Lin 76505939f3 Add acme order table 2025-11-07 09:18:25 -08:00
Fang-Pen Lin d880c4c6c9 Get all authorizations 2025-11-07 09:18:24 -08:00
Fang-Pen Lin 80904b1dd1 Refine routers 2025-11-07 09:18:23 -08:00
Fang-Pen Lin 3a7ba8d138 Remove unused stuff 2025-11-07 09:18:22 -08:00
Fang-Pen Lin 2b8a6b801d Work on order 2025-11-07 09:18:21 -08:00
Fang-Pen Lin ac82e8071d Refactor 2025-11-07 09:18:20 -08:00
Fang-Pen Lin 9c748bf0ee Fix new account again 2025-11-07 09:18:19 -08:00
Fang-Pen Lin 457c5ea9c8 Fix import 2025-11-07 09:18:18 -08:00
Fang-Pen Lin 6064b39c05 Refactor 2025-11-07 09:18:17 -08:00
Fang-Pen Lin 223835d141 New approach to validate jws 2025-11-07 09:18:16 -08:00
Fang-Pen Lin 540521588d Refactor validate jws method 2025-11-07 09:18:15 -08:00
Fang-Pen Lin 4f0bb7fb8a Add alg column and index 2025-11-07 09:18:14 -08:00
Fang-Pen Lin ebd2c8ae45 Refine code 2025-11-07 09:18:13 -08:00
Fang-Pen Lin f0d2c30384 Use profile obj instead 2025-11-07 09:18:12 -08:00
Fang-Pen Lin 5585621a06 Add acme type 2025-11-07 09:18:11 -08:00
Fang-Pen Lin 23d2336594 Bind ACME stuff 2025-11-07 09:18:10 -08:00
Fang-Pen Lin a84303588d More on the account 2025-11-07 09:18:09 -08:00
Fang-Pen Lin 4883c3ead3 Implement account creation 2025-11-07 09:18:08 -08:00
Fang-Pen Lin a29029c192 Keep public key as a jwk json obj instead 2025-11-07 09:18:07 -08:00
Fang-Pen Lin f06f6108f4 More for validate jws payload 2025-11-07 09:18:06 -08:00
Fang-Pen Lin efabf9ee05 Add more scheme 2025-11-07 09:18:05 -08:00