Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

## 3.5.0

- Updated binaries to v1.6.0 to support ECC Key generation, see KeyOptions: Algorithm and Curve

## 3.4.3

- Updated binaries to v1.5.5 to support mixed go libraries (openpgp and fast-rsa)
Expand Down
Binary file modified android/src/main/jniLibs/arm64-v8a/libopenpgp_bridge.so
Binary file not shown.
Binary file modified android/src/main/jniLibs/armeabi-v7a/libopenpgp_bridge.so
Binary file not shown.
Binary file modified android/src/main/jniLibs/x86/libopenpgp_bridge.so
Binary file not shown.
Binary file modified android/src/main/jniLibs/x86_64/libopenpgp_bridge.so
Binary file not shown.
12 changes: 7 additions & 5 deletions example/lib/generate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

import 'package:openpgp/openpgp.dart';
import 'package:openpgp/openpgp.dart' as OpenPGP;
import 'package:openpgp_example/shared/button_widget.dart';
import 'package:openpgp_example/shared/title_widget.dart';

Expand All @@ -21,7 +21,7 @@ class Generate extends StatefulWidget {
}

class _GenerateState extends State<Generate> {
KeyPair _keyPair = KeyPair("", "");
OpenPGP.KeyPair _keyPair = OpenPGP.KeyPair("", "");

@override
Widget build(BuildContext context) {
Expand All @@ -36,9 +36,11 @@ class _GenerateState extends State<Generate> {
key: Key("action"),
result: _keyPair.privateKey,
onPressed: () async {
var keyOptions = KeyOptions()..rsaBits = 2048;
var keyPair = await OpenPGP.generate(
options: Options()
var keyOptions = OpenPGP.KeyOptions()
..rsaBits = 2048
..algorithm = OpenPGP.Algorithm.EDDSA;
var keyPair = await OpenPGP.OpenPGP.generate(
options: OpenPGP.Options()
..name = 'test'
..email = 'test@test.com'
..passphrase = 'test'
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ packages:
path: ".."
relative: true
source: path
version: "3.4.3"
version: "3.5.0"
package_config:
dependency: transitive
description:
Expand Down
Binary file modified ios/libopenpgp_bridge.a
Binary file not shown.
Loading