Skip to content

fix(ai): require stable artifact signing secret#189

Open
huazhuang80-star wants to merge 1 commit into
ChainForgee:mainfrom
huazhuang80-star:ai-artifact-signing-secret-105
Open

fix(ai): require stable artifact signing secret#189
huazhuang80-star wants to merge 1 commit into
ChainForgee:mainfrom
huazhuang80-star:ai-artifact-signing-secret-105

Conversation

@huazhuang80-star

Copy link
Copy Markdown

Closes #105.

Summary

  • load ARTIFACT_SIGNING_SECRET from settings instead of generating a new random value at import time
  • keep a stable development default so local signed artifact URLs survive restarts
  • require ARTIFACT_SIGNING_SECRET in production to avoid deploying the development fallback

Testing

  • python -m pytest app\ai-service\tests\test_config.py -q

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.

[MEDIUM] Fix artifact_signing_secret to use environment variable

1 participant