Open yhua537 opened 6 years ago
Pointy Castle currently doesn't work for Dart 2.0. Somehow a lot of tests are broken, possibly because of an issue with the BigInteger class that is used everywhere from the bignum package.
I think this can be done after https://github.com/PointyCastle/pointycastle/pull/122 is merged.
is there any update about this?
@rickyazhari As you can see in #122, the holdup is in the SDK, I'm waiting for a BigInt.toBytes
method to avoid having to use custom serialization methods.
@stevenroose Thanks for the update.
Can you check if this is solved with the new v1.0.0-rc1
release?
Not a pointycastle issue, possibly jumping too far ahead, i got error with reflectable: Because reflectable >=2.0.0 depends on analyzer ^0.31.0 and reflectable >=1.0.4 <=2.0.0-dev.1.0 depends on analyzer ^0.30.0, reflectable >=1.0.4 requires analyzer ^0.30.0 or ^0.31.0. And because reflectable >=1.0.1 <1.0.4 depends on analyzer >=0.27.2 <0.30.0, reflectable >=1.0.1 requires analyzer >=0.27.2 <0.30.0 or ^0.30.0 or ^0.31.0. Because no versions of json_serializable match >0.5.8 <0.6.0 and json_serializable 0.5.8 depends on analyzer ^0.32.0, json_serializable ^0.5.8 requires analyzer ^0.32.0. Thus, json_serializable ^0.5.8 is incompatible with reflectable >=1.0.1. And because every version of pointycastle from path depends on reflectable >=1.0.1 <3.0.0, json_serializable ^0.5.8 is incompatible with pointycastle from path. So, because xyzdepends on both pointycastle from path and json_serializable ^0.5.8, version solving failed.
@yhua537 I was able to resolve a similar reflectable issue by using this fork
Unfortunately PointyCastle users have to wait because of https://github.com/dart-lang/reflectable/issues/136 unless there is a fork that doesn't uses reflectable
package, that seams that is being addressed at: https://github.com/PointyCastle/pointycastle/issues/131
I'm really in favor of just removing reflection. I have myself not used them at https://github.com/leocavalcante/password-dart and https://github.com/leocavalcante/encrypt, but I can't upgrade this packages because of this dependency.
I'm planning to remove the reflectable dependency. Problem is that I don't have much time to work on Dart projects..
Please update the SDK constraint on this package. I am getting error message on get:
Package reflectable has no versions that match >=1.0.1 <2.0.0 derived from: