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

Non deterministic prefixes in witnesses #701

Conversation

daidoji
Copy link
Contributor

@daidoji daidoji commented Mar 6, 2024

Removed hardcoded salts as default behavior of openHby and openHab.

Also fixed a bug that hadn't been caught yet wherein whatever was passed to openHby was always used and a default salt was never created. Adjusted to match the intention of the code and no tests seemed to break from it so it must have been getting caught further down the stack.

daidoji added 4 commits March 6, 2024 10:09
Removed hardcoded salts as default behavior of openHby and openHab.

Also fixed a bug that hadn't been caught yet wherein whatever was passed
to openHby was always used and a default salt was never created.
Adjusted to match the intention of the code and no tests seemed to break
from it so it must have been getting caught further down the stack.
Copy link
Collaborator

@SmithSamuelM SmithSamuelM left a comment

Choose a reason for hiding this comment

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

Yes this is better. The hardcoded Salts should be in the tests and not in the default code. This is better for security. Thanks for changing all the tests.

@pfeairheller pfeairheller merged commit a6e3a88 into WebOfTrust:development Mar 8, 2024
6 checks passed
pfeairheller added a commit to pfeairheller/keria that referenced this pull request Mar 9, 2024
…inistic salts that broke a bunch of tests here.

Signed-off-by: pfeairheller <[email protected]>
pfeairheller added a commit to WebOfTrust/keria that referenced this pull request Mar 9, 2024
…inistic salts that broke a bunch of tests here. (#210)

Signed-off-by: pfeairheller <[email protected]>
@daidoji daidoji deleted the non-deterministic-prefixes-in-witnesses branch March 11, 2024 13:56
kentbull pushed a commit to kentbull/keripy that referenced this pull request Jul 8, 2024
* Added ctags

* Fix to remove hardcoded salts as default behavior.

Removed hardcoded salts as default behavior of openHby and openHab.

Also fixed a bug that hadn't been caught yet wherein whatever was passed
to openHby was always used and a default salt was never created.
Adjusted to match the intention of the code and no tests seemed to break
from it so it must have been getting caught further down the stack.

* Removed erroneous print statement

* Removed a deleted space that had entered the diff
kentbull pushed a commit to kentbull/keripy that referenced this pull request Sep 3, 2024
* Added ctags

* Fix to remove hardcoded salts as default behavior.

Removed hardcoded salts as default behavior of openHby and openHab.

Also fixed a bug that hadn't been caught yet wherein whatever was passed
to openHby was always used and a default salt was never created.
Adjusted to match the intention of the code and no tests seemed to break
from it so it must have been getting caught further down the stack.

* Removed erroneous print statement

* Removed a deleted space that had entered the diff
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