Skip to content

Migrate crypto from javax to cryptography-kotlin in library#2813

Open
Luna712 wants to merge 7 commits into
recloudstream:masterfrom
Luna712:cryptography-kotlin
Open

Migrate crypto from javax to cryptography-kotlin in library#2813
Luna712 wants to merge 7 commits into
recloudstream:masterfrom
Luna712:cryptography-kotlin

Conversation

@Luna712
Copy link
Copy Markdown
Contributor

@Luna712 Luna712 commented May 20, 2026

No description provided.

Copy link
Copy Markdown
Collaborator

@fire-light42 fire-light42 left a comment

Choose a reason for hiding this comment

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

These are a lot of changes which are difficult to properly test and would give silent errors if incorrectly ported.

Would it be possible to do some sorts of tests, or anything like that to ensure the migration won't cause regressions?

@Luna712
Copy link
Copy Markdown
Contributor Author

Luna712 commented May 31, 2026

These are a lot of changes which are difficult to properly test and would give silent errors if incorrectly ported.

Would it be possible to do some sorts of tests, or anything like that to ensure the migration won't cause regressions?

@fire-light42

I'm not sure how to really write reliable tests for this. In order to really write something that would ensure things are proper it would have to be given the right data, and test way more than I really know how to write them for myself. Trying to write tests for some other migrations the best I could but for this one I just didn't really know how unfortunately.

@fire-light42
Copy link
Copy Markdown
Collaborator

It is outside the scope of this pull request, but the extractors themselves could be tested with mock data 🤔

@fire-light42
Copy link
Copy Markdown
Collaborator

Do not worry about the tests, I will try to test them manually before merging.

@Luna712
Copy link
Copy Markdown
Contributor Author

Luna712 commented May 31, 2026

Sounds great thanks a lot!

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.

2 participants