mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
perf: ssh支持ppk格式私钥
This commit is contained in:
@@ -6,8 +6,6 @@
|
|||||||
"module": "./dist/bundle.js",
|
"module": "./dist/bundle.js",
|
||||||
"types": "./dist/d/index.d.ts",
|
"types": "./dist/d/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "cross-env NODE_CONFIG_DIR=./test/config mocha --recursive --require babel-register",
|
|
||||||
"dev": "babel src --out-dir babel -w",
|
|
||||||
"build": "rollup -c ",
|
"build": "rollup -c ",
|
||||||
"dev-build": "npm run build",
|
"dev-build": "npm run build",
|
||||||
"pub": "npm publish"
|
"pub": "npm publish"
|
||||||
@@ -15,7 +13,6 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "Apache",
|
"license": "Apache",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-register": "^6.26.0",
|
|
||||||
"buffer": "^5.0.8",
|
"buffer": "^5.0.8",
|
||||||
"create-hash": "^1.1.3",
|
"create-hash": "^1.1.3",
|
||||||
"create-hmac": "^1.1.6",
|
"create-hmac": "^1.1.6",
|
||||||
@@ -30,8 +27,6 @@
|
|||||||
"@rollup/plugin-typescript": "^11.0.0",
|
"@rollup/plugin-typescript": "^11.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
||||||
"@typescript-eslint/parser": "^8.26.1",
|
"@typescript-eslint/parser": "^8.26.1",
|
||||||
"babel-cli": "^6.26.0",
|
|
||||||
"babel-preset-env": "^1.6.1",
|
|
||||||
"chai": "^4.1.2",
|
"chai": "^4.1.2",
|
||||||
"config": "^1.30.0",
|
"config": "^1.30.0",
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"socks": "^2.8.3",
|
"socks": "^2.8.3",
|
||||||
"socks-proxy-agent": "^8.0.4",
|
"socks-proxy-agent": "^8.0.4",
|
||||||
"ssh2": "^1.15.0",
|
"ssh2": "1.17.0",
|
||||||
"strip-ansi": "^7.1.0",
|
"strip-ansi": "^7.1.0",
|
||||||
"tencentcloud-sdk-nodejs": "^4.0.1005"
|
"tencentcloud-sdk-nodejs": "^4.0.1005"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ RUN apk add --no-cache openjdk8
|
|||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
COPY --from=builder /workspace/certd-server/ /app/
|
COPY --from=builder /workspace/certd-server/ /app/
|
||||||
|
|
||||||
|
COPY ./patch/ssh2/*.js /app/node_modules/.pnpm/node_modules/ssh2/lib/protocol/
|
||||||
|
|
||||||
ENV LEGO_VERSION=4.22.2
|
ENV LEGO_VERSION=4.22.2
|
||||||
ENV LEGO_DOWNLOAD_DIR=/app/tools/lego
|
ENV LEGO_DOWNLOAD_DIR=/app/tools/lego
|
||||||
RUN mkdir -p $LEGO_DOWNLOAD_DIR
|
RUN mkdir -p $LEGO_DOWNLOAD_DIR
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user