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

fix(key_manager): remove trailing '.' from hashing domains, fix WASM tests #4378

Merged

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Aug 3, 2022

Description

  • remove tari_common dependency from key manager as it does not support the wasm target.
  • remove trailing . from hashing domains by using labels
  • remove extra allocation in CipherSeed::generate_mac

Motivation and Context

tari_common includes fs2 which does not support WASM targets causing failed CI builds. This is currently breaking development branch tests.

Using a blank label appends a "." onto the domain, the current correct usage of the api is to use a label

How Has This Been Tested?

Existing tests pass

@sdbondi sdbondi changed the title fix(key_manager): fixup hashing domains fix(key_manager): remove trailing '.' from hashing domains, fix WASM tests Aug 3, 2022
Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

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

Thanks

@stringhandler stringhandler merged commit 214a986 into tari-project:development Aug 3, 2022
@sdbondi sdbondi deleted the remove-common-from-keymanager branch August 3, 2022 07:25
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.

None yet

2 participants