Skip to content

Commit 3b3a5be

Browse files
committed
release: advance the verified stable installer
1 parent becd4da commit 3b3a5be

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/installers.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ test('public uninstall entrypoints reuse the installer without leaking control s
137137

138138
test('Vercel routes explicit installer paths through the secured API contract', () => {
139139
const config = JSON.parse(read(vercelPath));
140-
const stableRef = '9fefa8fd8162024649aed2132b2770240fba2bc9';
140+
const stableRef = '2f34dd5387e02bed79765a204ad0c77cb09c20bb';
141141
assert.equal(config.env.CONTEXA_STABLE_INSTALLER_REF, stableRef);
142142
assert.equal(config.redirects, undefined,
143143
'direct redirects bypass the API response security headers');
@@ -198,10 +198,10 @@ test('api prioritizes explicit paths and exposes immutable version URLs', () =>
198198

199199
const originalStableRef = process.env.CONTEXA_STABLE_INSTALLER_REF;
200200
try {
201-
process.env.CONTEXA_STABLE_INSTALLER_REF = '9fefa8fd8162024649aed2132b2770240fba2bc9';
201+
process.env.CONTEXA_STABLE_INSTALLER_REF = '2f34dd5387e02bed79765a204ad0c77cb09c20bb';
202202
const stable = invoke('/', 'WindowsPowerShell/5.1');
203203
assert.equal(stable.statusCode, 302);
204-
assert.equal(stable.headers.location, 'https://raw.githubusercontent.com/contexa-security/install-ctxa/9fefa8fd8162024649aed2132b2770240fba2bc9/install.ps1');
204+
assert.equal(stable.headers.location, 'https://raw.githubusercontent.com/contexa-security/install-ctxa/2f34dd5387e02bed79765a204ad0c77cb09c20bb/install.ps1');
205205
assert.equal(stable.headers['content-type'], 'text/plain; charset=utf-8');
206206
assert.equal(stable.headers['cache-control'], 'no-store');
207207
assert.equal(stable.headers['x-content-type-options'], 'nosniff');

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"env": {
3-
"CONTEXA_STABLE_INSTALLER_REF": "9fefa8fd8162024649aed2132b2770240fba2bc9"
3+
"CONTEXA_STABLE_INSTALLER_REF": "2f34dd5387e02bed79765a204ad0c77cb09c20bb"
44
},
55
"rewrites": [
66
{ "source": "/(.*)", "destination": "/api" }

0 commit comments

Comments
 (0)