Commit Graph
100 Commits
Author SHA1 Message Date
Fang-Pen Lin 771b026175 More test cases 2025-11-13 09:21:40 -08:00
Fang-Pen Lin e31c8c364c Fix broken stuff 2025-11-13 09:21:39 -08:00
Fang-Pen Lin 0593c71d43 Fix the compare logic, isSubsetOf seems like not available 2025-11-13 09:21:38 -08:00
Fang-Pen Lin d70fa8f406 Fix match logic 2025-11-13 09:21:37 -08:00
Fang-Pen Lin 204bf59b22 Add TODO 2025-11-13 09:21:36 -08:00
Fang-Pen Lin d80d3365ba Add missing deps 2025-11-13 09:21:35 -08:00
Fang-Pen Lin 01b6c52788 Call order cert 2025-11-13 09:21:34 -08:00
Fang-Pen Lin b2297a3ecd Check more for the CSR 2025-11-13 09:21:33 -08:00
Fang-Pen Lin 8f199fecb8 Refactor 2025-11-13 09:21:32 -08:00
Fang-Pen Lin 490087dd90 extract common func 2025-11-13 09:21:31 -08:00
Fang-Pen Lin d559d48e7e Handle external ca
# Conflicts:
#	backend/src/ee/services/pki-acme/pki-acme-service.ts

# Conflicts:
#	backend/src/ee/services/pki-acme/pki-acme-service.ts
2025-11-13 09:21:30 -08:00
Fang-Pen Lin acc357e7e3 Merge pull request #4848 from Infisical/PKI-34-pki-acme-license-check
[PKI-34] Add license check for PKI ACME feature
2025-11-12 12:31:42 -08:00
Fang-Pen Lin 2b3418c85f Add missing license server 2025-11-12 11:57:38 -08:00
Fang-Pen Lin a424954d7e Check profile creation as well 2025-11-12 11:53:32 -08:00
Fang-Pen Lin a26b13e517 Change error msg 2025-11-12 11:42:18 -08:00
Fang-Pen Lin 45941b4cc8 Fix import issue 2025-11-12 10:59:42 -08:00
Fang-Pen Lin c1938e6787 Try to fix bdd tests with flag 2025-11-12 10:55:37 -08:00
Fang-Pen Lin 1ef6ae440c Remove unused stuff 2025-11-12 10:48:04 -08:00
Fang-Pen Lin 49370399ac Revert not needed changes 2025-11-12 10:48:03 -08:00
Fang-Pen Lin 8efc245268 Revert "Add missing changes"
This reverts commit be8683fec1484edc182abf0353d5f3a23a81d37f.
2025-11-12 10:48:02 -08:00
Fang-Pen Lin ff77130c65 Add missing changes 2025-11-12 10:48:01 -08:00
Fang-Pen Lin c687cbc131 Set pki acme flag type as false to avoid committing them to true by accident 2025-11-12 10:48:01 -08:00
Fang-Pen Lin 40be1ac9d9 Remove unused stuff 2025-11-12 10:48:00 -08:00
Fang-Pen Lin c3d5169f63 Remove env 2025-11-12 10:47:59 -08:00
Fang-Pen Lin 7c6b704fae Remove ACME global feature flag 2025-11-12 10:47:58 -08:00
Fang-Pen Lin 0f5fa785a6 Bring changes back 2025-11-12 10:47:57 -08:00
Fang-Pen Lin 192cf5a8f9 Revert stuff 2025-11-12 10:47:56 -08:00
Fang-Pen Lin cb750c8c13 Fix broken tests 2025-11-12 10:47:55 -08:00
Fang-Pen Lin 8fcdce19aa Fix type error 2025-11-12 10:47:54 -08:00
Fang-Pen Lin 07cfb6dd54 Check license when creating profile 2025-11-12 10:47:53 -08:00
Fang-Pen Lin bb46eac8ea Syntax error 2025-11-12 10:47:52 -08:00
Fang-Pen Lin bb16d5fcd5 Add missing stuff 2025-11-12 10:47:51 -08:00
Fang-Pen Lin 33b1ee0247 Gate PKI feature
# Conflicts:
#	backend/src/ee/services/pki-acme/pki-acme-service.ts
2025-11-12 10:47:50 -08:00
Fang-Pen Lin 2767ff5c2d Remove unused stuff 2025-11-12 10:47:03 -08:00
Fang-Pen Lin ce6727460f Block user if they don't have the feature in their plan 2025-11-12 10:47:02 -08:00
Fang-Pen Lin e4a38e4ba8 Add PKI acme license feature flag 2025-11-12 10:47:01 -08:00
Fang-Pen Lin 3f68ec8016 Merge pull request #4829 from Infisical/PKI-33-pki-acme-corner-cases
[PKI-33] Add more automatic tests to cover the PKI ACME security focused corner cases
2025-11-12 09:42:08 -08:00
Fang-Pen Lin 5ecbeb0232 lint 2025-11-12 09:13:18 -08:00
Fang-Pen Lin 5aaa0ea67f Remove unused stuff 2025-11-12 09:13:17 -08:00
Fang-Pen Lin 6949d1feca Remove unused file 2025-11-12 09:13:16 -08:00
Fang-Pen Lin a275d38011 Fix linter error 2025-11-12 09:13:15 -08:00
Fang-Pen Lin e6d2067c6a Fix TTL error 2025-11-12 09:13:14 -08:00
Fang-Pen Lin 7de071736e Fix TTL for issuing cert 2025-11-12 09:13:14 -08:00
Fang-Pen Lin 5a47ac3a9d Fix broken stuff caused by rebase 2025-11-12 09:13:13 -08:00
Fang-Pen Lin 3b023cea7b Add bdd tests 2025-11-12 09:13:12 -08:00
Fang-Pen Lin 500786a9aa ci 2025-11-12 09:13:11 -08:00
Fang-Pen Lin b6216f075e Do not write enc key 2025-11-12 09:13:10 -08:00
Fang-Pen Lin 8e1209092d Use a new bdd docker compose 2025-11-12 09:13:09 -08:00
Fang-Pen Lin bea8ea828e Increase timeout 2025-11-12 09:13:08 -08:00
Fang-Pen Lin 5ea887b612 cache 2025-11-12 09:13:07 -08:00
Fang-Pen Lin 61c4960845 Rebuild 2025-11-12 09:13:06 -08:00
Fang-Pen Lin 6b7e359955 Try to fix pg issue 2025-11-12 09:13:05 -08:00
Fang-Pen Lin b04973af56 Fix log dump 2025-11-12 09:13:04 -08:00
Fang-Pen Lin 4c5778cdaf Upload logs 2025-11-12 09:13:03 -08:00
Fang-Pen Lin 87a6d2cf86 Try to fix sed 2025-11-12 09:13:02 -08:00
Fang-Pen Lin 64383f5918 CI 2025-11-12 09:13:01 -08:00
Fang-Pen Lin 572ac95801 Try to fix enc key 2025-11-12 09:13:00 -08:00
Fang-Pen Lin 023437c197 ci 2025-11-12 09:12:59 -08:00
Fang-Pen Lin 433b573c8c ci 2025-11-12 09:12:58 -08:00
Fang-Pen Lin 2cf69a4083 See how it goes for the up op 2025-11-12 09:12:57 -08:00
Fang-Pen Lin 8e9e4f4130 Load to local docker 2025-11-12 09:12:56 -08:00
Fang-Pen Lin 58cdd8e0dc CI 2025-11-12 09:12:55 -08:00
Fang-Pen Lin bc5a6c6d67 ci... 2025-11-12 09:12:54 -08:00
Fang-Pen Lin e5322c77f7 Run backend only 2025-11-12 09:12:53 -08:00
Fang-Pen Lin e9f88e28be More attempts 2025-11-12 09:12:52 -08:00
Fang-Pen Lin 81c88fffec Cache build 2025-11-12 09:12:51 -08:00
Fang-Pen Lin 185f3cc7bf Fix wait service 2025-11-12 09:12:50 -08:00
Fang-Pen Lin 459edd14ce CI 2025-11-12 09:12:49 -08:00
Fang-Pen Lin 1f89d1b19c Just write .env 2025-11-12 09:12:48 -08:00
Fang-Pen Lin 3b84fc3e9e ci 2025-11-12 09:12:47 -08:00
Fang-Pen Lin 5a555fc849 ci 2025-11-12 09:12:46 -08:00
Fang-Pen Lin 4a9cf13943 ci 2025-11-12 09:12:45 -08:00
Fang-Pen Lin 550e5158cc CI 2025-11-12 09:12:45 -08:00
Fang-Pen Lin 4a9f61bed6 Try to fix bdd 2025-11-12 09:12:44 -08:00
Fang-Pen Lin 9ea1614da0 ci 2025-11-12 09:12:43 -08:00
Fang-Pen Lin a1566cb2ef Try to fix docker build 2025-11-12 09:12:42 -08:00
Fang-Pen Lin ac3c857d2f Build docker-compose img files 2025-11-12 09:12:41 -08:00
Fang-Pen Lin 6aac457fbd Run compose as daemon, wait for the server online 2025-11-12 09:12:40 -08:00
Fang-Pen Lin b5a88a83a5 Add bdd on github 2025-11-12 09:12:39 -08:00
Fang-Pen Lin c4b759b6a8 Fix bootstrap auth 2025-11-12 09:12:38 -08:00
Fang-Pen Lin 3b5046eadd Add new token 2025-11-12 09:12:37 -08:00
Fang-Pen Lin a641e82b29 Save bootstrap result to avoid losing it 2025-11-12 09:12:36 -08:00
Fang-Pen Lin eabfa3a7a9 Bootstrap new Infisical instance for BDD tests 2025-11-12 09:12:35 -08:00
Fang-Pen Lin 60c428c5bb Fix provisioning profile 2025-11-12 09:12:34 -08:00
Fang-Pen Lin 1ad84f0450 Provision a new profile automatically if not provided 2025-11-12 09:12:33 -08:00
Fang-Pen Lin e5168e88e4 Use re2 for identifier validation 2025-11-12 09:12:32 -08:00
Fang-Pen Lin 97b7e6c6bf Fix broken tests 2025-11-12 09:12:31 -08:00
Fang-Pen Lin a3e289954c More test cases 2025-11-12 09:12:30 -08:00
Fang-Pen Lin d792a79da8 Fix more tests 2025-11-12 09:12:29 -08:00
Fang-Pen Lin a057100274 More test cases 2025-11-12 09:12:28 -08:00
Fang-Pen Lin 4c5d7f3c9d More tests 2025-11-12 09:12:27 -08:00
Fang-Pen Lin 4150035fcd More test cases 2025-11-12 09:12:26 -08:00
Fang-Pen Lin d7cf4388fe More test cases 2025-11-12 09:12:25 -08:00
Fang-Pen Lin da8a44a36d Remove TODO for now 2025-11-12 09:12:24 -08:00
Fang-Pen Lin e370d16db2 Uncomment 2025-11-12 09:12:23 -08:00
Fang-Pen Lin 1cfbfb80fd More test cases 2025-11-12 09:12:22 -08:00
Fang-Pen Lin ebc041ad9d Check url parsing error 2025-11-12 09:12:21 -08:00
Fang-Pen Lin 37fc100ff7 Add access control tests 2025-11-12 09:12:20 -08:00
Fang-Pen Lin 460dea84be More test cases
# Conflicts:
#	backend/src/ee/services/pki-acme/pki-acme-schemas.ts

# Conflicts:
#	backend/src/ee/services/pki-acme/pki-acme-service.ts
2025-11-12 09:12:19 -08:00
Fang-Pen Lin 795d0b36ec Add more test cases 2025-11-12 09:12:18 -08:00