From cc27bf7da586ba6ebc7ff7af37a114686b268255 Mon Sep 17 00:00:00 2001 From: Rin Date: Sun, 5 May 2024 20:52:26 +0800 Subject: [PATCH] uaaa --- dist/index.js | 1 + index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 496341c..5182bdb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31004,6 +31004,7 @@ function ensure_host_ssh_key() { download_file(privKeyUrl, privkey); // properly set private key permissions fs.chmodSync(privkey, 0o600); + fs.chmodSync(pubkey, 0o600); return pubkey; }; diff --git a/index.js b/index.js index f1dcdde..6ba6091 100644 --- a/index.js +++ b/index.js @@ -114,6 +114,7 @@ function ensure_host_ssh_key() { download_file(privKeyUrl, privkey); // properly set private key permissions fs.chmodSync(privkey, 0o600); + fs.chmodSync(pubkey, 0o600); return pubkey; };