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

Require asnlib ^1.5.0, fix resulting null-awareness warnings #305

Merged
merged 6 commits into from
Aug 24, 2023

Conversation

gkc
Copy link
Contributor

@gkc gkc commented Jul 30, 2023

Resolves #304

gkc added 2 commits July 30, 2023 11:04
- Require asn1lib `^1.5.0` which among other things makes nullability changes to its API
- Fix the resulting null-awareness warnings in lib/src/algorithms/rsa.dart
@gkc gkc marked this pull request as draft July 30, 2023 10:19
@gkc
Copy link
Contributor Author

gkc commented Jul 30, 2023

Hmm, when I test against this branch my program isn't working properly any more.

@gkc
Copy link
Contributor Author

gkc commented Jul 30, 2023

Hmm, when I test against this branch my program isn't working properly any more.

Ah that was a problem with my test program, not this package. However the reason for it was the change in behaviour in the fromLength method introduced by this commit

…ng now that min SDK version is Dart 3 because that's what `asn1lib` package requires as of 4 days ago. The failures were primarily due to changes in the File class in Dart 3 which were incompatible with pub.dev/packages/file v6.1.0
@gkc gkc marked this pull request as ready for review July 30, 2023 16:21
@leocavalcante
Copy link
Owner

Sorry, didn't saw your PR before. Can you resolve the conflicts?

@gkc
Copy link
Contributor Author

gkc commented Aug 9, 2023

Sorry, didn't saw your PR before. Can you resolve the conflicts?

Done

@leocavalcante leocavalcante added the bug Something isn't working label Aug 24, 2023
@leocavalcante leocavalcante merged commit e7fec75 into leocavalcante:5.x Aug 24, 2023
0 of 3 checks passed
@gkc gkc deleted the gkc-fix-dart-3-warnings branch August 26, 2023 06:05
@slightfoot
Copy link

@leocavalcante was coming to file a bug on this issue. But see its been resolved. When do you think you'll get time to publish the latest version? pub shows 5.0.1 from 2 years go. Wondering if we can get 5.0.4 released. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting warnings on VM startup after running a dart pub upgrade
3 participants