Skip to content

Commit 0b4b61c

Browse files
committed
feat: enhance key generation and update dependencies
- Added new fields (caCert, caKey, clientCert, clientKey) to the Keygen model for improved certificate management. - Implemented key generation logic in the seed process to create and update keygen configurations. - Updated AxiosService to utilize HTTPS agent for secure requests with client certificates. - Introduced new utility functions for certificate handling and updated related imports. - Bumped versions of @peculiar/webcrypto, @peculiar/x509, and node-forge in package.json and package-lock.json for enhanced security and functionality.
1 parent a899a26 commit 0b4b61c

File tree

17 files changed

+652
-97
lines changed

17 files changed

+652
-97
lines changed

package-lock.json

Lines changed: 259 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@
6565
"@nestjs/schedule": "5.0.1",
6666
"@nestjs/serve-static": "5.0.3",
6767
"@nestjs/swagger": "11.1.0",
68+
"@peculiar/webcrypto": "^1.5.0",
69+
"@peculiar/x509": "^1.12.3",
6870
"@prisma/client": "6.5.0",
6971
"@remnawave/node-contract": "0.4.1",
7072
"@remnawave/xtls-sdk": "^0.2.0",
@@ -89,6 +91,7 @@
8991
"nest-winston": "^1.10.2",
9092
"nestjs-cls": "^5.4.1",
9193
"nestjs-zod": "4.3.1",
94+
"node-forge": "^1.3.1",
9295
"p-map": "^7.0.3",
9396
"passport": "0.7.0",
9497
"passport-http": "^0.3.0",
@@ -119,6 +122,7 @@
119122
"@types/lodash": "^4.17.16",
120123
"@types/morgan": "^1.9.9",
121124
"@types/node": "^22.13.13",
125+
"@types/node-forge": "^1.3.11",
122126
"@types/passport-http": "^0.3.11",
123127
"@types/passport-jwt": "^4.0.1",
124128
"@types/semver": "^7.5.8",
@@ -138,4 +142,4 @@
138142
"typescript": "~5.8.2",
139143
"typescript-eslint": "^8.28.0"
140144
}
141-
}
145+
}

0 commit comments

Comments
 (0)