GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed Security Issues and Workflows by cs-raj · Pull Request #2744 · contentstack/cli

Fixed Security Issues and Workflows #2744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
cs-raj merged 10 commits into main from development
Nov 1, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

Fixed Security Issues and Workflows #2744

Changes from 1 commit
Commits
Show all changes
10 commits
Select commit Hold shift + click to select a range
8ae4b0f
Merge pull request #2738 from contentstack/main
cs-raj Oct 22, 2026
524d31f
chore(release): publish to npm with trusted publishing
cs-raj Oct 22, 2026
aaa9cd2
fix(release): publish the cli packages in the original fixed order
cs-raj Oct 22, 2026
31eec6c
chore(release): publish each cli package in its own step
cs-raj Oct 22, 2026
b477256
lock file
cs-raj Oct 23, 2026
7fcae91
fix: regenerate pnpm lock file to resolve Snyk vulnerabilities
cs-raj Oct 26, 2026
b13410a
Merge pull request #2741 from contentstack/feat/DX-27614
cs-raj Oct 29, 2026
d38f841
fix: replace hardcoded secret literals in test fixtures with approved…
cs-raj Oct 30, 2026
b71499d
fix: use valid-length base32 secrets in mfa-handler test
cs-raj Oct 30, 2026
0d2f7ad
Merge pull request #2743 from contentstack/fix/hardcoded-secrets-test…
cs-raj Oct 30, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix: use valid-length base32 secrets in mfa-handler test
mfa-handler requires >=16 char base32 secrets; the placeholder values were too short and failed CI.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@cs-raj @claude
cs-raj and claude committed Oct 30, 2026
commit b71499df6086b4e37205add7594b84d90d37224b

There are no files selected for viewing

4 changes: 2 additions & 2 deletions 4 packages/contentstack-auth/test/unit/mfa-handler.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as sinon from 'sinon';
import mfaHandler from '../../src/utils/mfa-handler';

describe('MFAHandler', () => {
const validSecret = 'SECRET'; // Example valid base32 secret
const validSecret = 'SECRETSECRETSECRET'; // Example valid base32 secret
const invalidSecret = 'invalid-secret';

let configStub: sinon.SinonStub;
Expand Down Expand Up @@ -57,7 +57,7 @@ describe('MFAHandler', () => {
});

it('should prioritize environment variable over stored configuration', async () => {
const envSecret = 'TOKEN'; // Different from stored secret
const envSecret = 'TOKENTOKENTOKENTOKEN'; // Different from stored secret
process.env.CONTENTSTACK_MFA_SECRET = envSecret;

const code = await mfaHandler.getMFACode();
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.