Skip to content

Commit

Permalink
Temporarily disable example code in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
  • Loading branch information
Harry-Chen committed Jan 15, 2024
1 parent 9222daf commit 36de307
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze
- run: dart test
- name: Run example code
run: |
cd example
dart pub get
dart run lib/main.dart
# - name: Run example code
# run: |
# cd example
# dart pub get
# dart run lib/main.dart
1 change: 1 addition & 0 deletions lib/src/ctap2/base.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:cbor/cbor.dart' as cb;
import 'package:cbor/simple.dart';

import 'package:fido2/src/cose.dart';

enum Ctap2Commands {
Expand Down
5 changes: 3 additions & 2 deletions test/fido2_base_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:fido2/fido2.dart';
import 'package:fido2/src/cose.dart';
import 'package:fido2/src/cose.dart' as cose;

import 'package:test/test.dart';

void main() {
Expand Down Expand Up @@ -30,7 +31,7 @@ void main() {
var request = Ctap2.makeClientPinRequest(ClientPinRequest(
subCommand: ClientPinSubCommand.setPin.value,
pinUvAuthProtocol: 2,
keyAgreement: EcdhEsHkdf256.fromPublicKey(hexStringToList(
keyAgreement: cose.EcdhEsHkdf256.fromPublicKey(hexStringToList(
'9950CCD8C524DBAAB6D5ED7E4256B72A647920445DCA51DA5F1B2A6AEB9AAB1880CC342ABC60C6FD1E8101CB3AA1D34B43CAFA6C3CA5403D70DEC1C72EC637FD')),
pinUvAuthParam: hexStringToList(
'9941B629D9BAB9C8C578D5E7A3AE6201B7A2F90F02B238AA2674F4A976C17FF3'),
Expand Down

0 comments on commit 36de307

Please sign in to comment.