diff --git a/test/test.js b/test/test.js index f4b9c16..ba1a57c 100755 --- a/test/test.js +++ b/test/test.js @@ -141,7 +141,8 @@ describe('Application life cycle test', function () { } async function addPublicKey() { - var publicKey = fs.readFileSync(__dirname + '/id_ed25519.pub', 'utf8'); + const publicKey = fs.readFileSync(__dirname + '/id_ed25519.pub', 'utf8'); + execSync(`chmod g-rw,o-rw ${__dirname}/id_ed25519`); // ssh will complain about perms later await browser.get('https://' + app.fqdn + '/user/settings/keys');