Skip to content

Cannot compile anymore! #270

@gmalakov

Description

@gmalakov

Cannot compile anymore!
After update in archive package, basic_utils doesn't compile anymore which is a dependency of enough_mail.

../../../../../.pub-cache/hosted/pub.dev/basic_utils-5.8.2/lib/src/X509Utils.dart:642:23: Error: 'KeyParameter' is imported from both 'package:archive/src/util/encryption.dart' and 'package:pointycastle/api.dart'.
secureRandom.seed(KeyParameter(Uint8List.fromList(seeds)));
^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dev/basic_utils-5.8.2/lib/src/X509Utils.dart:1117:27: Error: 'Digest' is imported from both 'package:archive/src/util/encryption.dart' and 'package:pointycastle/api.dart'.
var isserHashString = Digest('SHA-1').process(issuer.encode());
^^^^^^
../../../../../.pub-cache/hosted/pub.dev/basic_utils-5.8.2/lib/src/X509Utils.dart:1126:25: Error: 'Digest' is imported from both 'package:archive/src/util/encryption.dart' and 'package:pointycastle/api.dart'.
var pubHashString = Digest('SHA-1').process(bitsToUse);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions