Skip to content

security: fix token encryption implementation and add validation#24

Merged
JheisonMB merged 2 commits into
developfrom
fix/github-token-security
Jun 12, 2026
Merged

security: fix token encryption implementation and add validation#24
JheisonMB merged 2 commits into
developfrom
fix/github-token-security

Conversation

@JheisonMB

@JheisonMB JheisonMB commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Issues fixed:

  1. Remove binary path from key derivation to allow vault relocation
  2. Add passphrase strength validation (minimum 8 characters)
  3. Mask full API URLs in error messages (shows path only)
  4. Add token validation on config command

Benefits:

  • Vault now survives binary relocations
  • Weak passphrases are warned against
  • Error messages don't expose full API paths
  • Token validity checked immediately during config

JheisonMB and others added 2 commits June 12, 2026 14:32
Issues fixed:
1. Remove binary path from key derivation to allow vault relocation
2. Add passphrase strength validation (minimum 8 characters)
3. Mask full API URLs in error messages (shows path only)
4. Add token validation on config command

Benefits:
- Vault now survives binary relocations
- Weak passphrases are warned against
- Error messages don't expose full API paths
- Token validity checked immediately during config

All tests passing. See SECURITY_REVIEW.md for detailed analysis.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@JheisonMB JheisonMB merged commit 49f0916 into develop Jun 12, 2026
3 checks passed
@JheisonMB JheisonMB added the target:develop Targets the develop branch label Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target:develop Targets the develop branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant