Skip to content
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.

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

secret key set as attribute on compile time. #4

Open
alpeshjamgade opened this issue Jul 2, 2022 · 0 comments
Open

secret key set as attribute on compile time. #4

alpeshjamgade opened this issue Jul 2, 2022 · 0 comments

Comments

@alpeshjamgade
Copy link

I've looked into branca code and found that secret key is set as module attribute, which will be set on compile time. so with this application will try to fetch the secret key from system variable(if used) on compile time.

I'm setting this :key variable on runtime, which is working fine. but since module attributes are set on compile time and since no secret key is set on compile time in my application it is not being set and hence no branca functions are working. can anyone guide me on how to solve this? Is branca needs to read key from application varible directly rather than from module attribute or is there any way that I'm not aware of which can help me to set this secret key on runtime.

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

No branches or pull requests

1 participant