Skip to content

Fix issue with secure config failed due to incorrectly decoding the b…#471

Merged
jfantinhardesty merged 3 commits intomainfrom
bug-fix-secure-config
Mar 6, 2025
Merged

Fix issue with secure config failed due to incorrectly decoding the b…#471
jfantinhardesty merged 3 commits intomainfrom
bug-fix-secure-config

Conversation

@jfantinhardesty
Copy link
Copy Markdown
Contributor

…ase64 string, and allow for env variable when passing passphrase when generating config

What type of Pull Request is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Describe your changes in brief

This fixes several issues with encrypted config files. First it fixes a bug from switching to memguard where we did not decode the passphrase string from base64 which could cause error with some encryption keys. Additionally, we allow using gen-config command with the passphrase environment variable.

Checklist

  • Tested locally
  • Added new dependencies
  • Updated documentation
  • Added tests

Related Issues

  • Related Issue #
  • Closes #

…ase64 string, and allow for env variable when passing passphrase when generating config
Copy link
Copy Markdown
Contributor

@foodprocessor foodprocessor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find!

Copy link
Copy Markdown
Contributor

@Ferelith-maker Ferelith-maker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@jfantinhardesty jfantinhardesty merged commit cfa6238 into main Mar 6, 2025
21 checks passed
@jfantinhardesty jfantinhardesty deleted the bug-fix-secure-config branch March 6, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants