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

Use tutasdk for Argon2id on iOS/Android #7361

Merged
merged 4 commits into from
Aug 16, 2024
Merged

Use tutasdk for Argon2id on iOS/Android #7361

merged 4 commits into from
Aug 16, 2024

Conversation

paw-hub
Copy link
Contributor

@paw-hub paw-hub commented Aug 9, 2024

Closes #7357

(this is based on top of kick-libcrypto)

@paw-hub paw-hub changed the title [sdk] Use tutasdk for Argon2id Use tutasdk for Argon2id on iOS/Android Aug 9, 2024
@paw-hub paw-hub force-pushed the 7357-argon-sdk branch 4 times, most recently from e8bedc6 to 4e54f9e Compare August 9, 2024 11:28
@tutao-mac tutao-mac force-pushed the 7357-argon-sdk branch 2 times, most recently from beb1f73 to 4b52930 Compare August 9, 2024 12:04
@paw-hub paw-hub changed the base branch from dev-mail to kick-libcrypto August 9, 2024 12:06
@paw-hub paw-hub marked this pull request as ready for review August 9, 2024 12:07
@paw-hub paw-hub marked this pull request as draft August 9, 2024 12:12
@paw-hub paw-hub force-pushed the 7357-argon-sdk branch 6 times, most recently from 43cdcc2 to 4cab160 Compare August 9, 2024 12:56
@paw-hub paw-hub changed the base branch from kick-libcrypto to dev-mail August 9, 2024 13:07
@paw-hub paw-hub changed the base branch from dev-mail to kick-libcrypto August 9, 2024 13:08
@paw-hub paw-hub marked this pull request as ready for review August 9, 2024 13:08
@paw-hub paw-hub linked an issue Aug 9, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

@charlag charlag left a comment

Choose a reason for hiding this comment

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

looks good! down with C++, down with JNI!

Do we need to take care of NDK in Jenkins too?

@paw-hub
Copy link
Contributor Author

paw-hub commented Aug 15, 2024

looks good! down with C++, down with JNI!

Do we need to take care of NDK in Jenkins too?

Jenkins seems to work already!

paw-hub and others added 4 commits August 16, 2024 10:45
The SDK does not support custom parameters, not that it matters because
they will always be the same.

Also, SDK takes string for passphrase, so we can avoid doing conversion
by just passing the passphrase as a string.
Remove dependency on phc-winner-argon2 and all C++ code.

Add NDK installation to kotlin-test.yml. Before, this was held together
with duct tape, and removing the CMakeLists.txt also removed the duct
tape, causing CI to complain about no NDK installed even though it was
somehow fine before...

Co-authored-by: wec43 <[email protected]>
Removes libargon2.a dependency
Base automatically changed from kick-libcrypto to dev-mail August 16, 2024 09:00
@paw-hub paw-hub merged commit cb4f177 into dev-mail Aug 16, 2024
8 checks passed
@paw-hub paw-hub deleted the 7357-argon-sdk branch August 16, 2024 09:16
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.

[sdk] Use argon2 from SDK on Android/iOS
2 participants