Open jhughesbiot opened 5 years ago
Starting the broker with instructions in readme result in a complete failure.
Unhandled exception: Invalid argument(s): Value x must be smaller than q
@jhughesbiot thanks for reporting that. We will investigate.
Starting the broker with instructions in readme result in a complete failure.
Unhandled exception: Invalid argument(s): Value x must be smaller than q
0 new ECFieldElement (package:cipher/ecc/ecc_fp.dart:25:7)
1 ECCurve.fromBigInteger (package:cipher/ecc/ecc_fp.dart:300:56)
2 new ECCurveBase (package:cipher/ecc/ecc_base.dart:135:15)
3 new ECCurve (package:cipher/ecc/ecc_fp.dart:293:51)
4 _secp256r1 (package:dslink/src/crypto/dart/pk.dart:50:19)
5 DartCryptoProvider.generateSync (package:dslink/src/crypto/dart/pk.dart:135:48)
6 new PrivateKey.generateSync (package:dslink/src/crypto/pk.dart:80:22)
7 loadBrokerPrivateKey (package:dsbroker/broker.dart:117:22)
8 new DsHttpServer.start (package:dsbroker/src/http/server.dart:67:20)
9 main (file:////broker-dart/bin/broker.dart:132:16)
10 _RootZone.runUnary (dart:async/zone.dart:1381)
11 _FutureListener.handleValue (dart:async/future_impl.dart:129)
12 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:638)
13 Future._propagateToListeners (dart:async/future_impl.dart:667)
14 Future._completeWithValue (dart:async/future_impl.dart:482)
15 Future._asyncComplete. (dart:async/future_impl.dart:512)
16 _microtaskLoop (dart:async/schedule_microtask.dart:41)
17 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)