Skip to content

Commit

Permalink
Merge pull request #433 from atsign-foundation/dependabot/github_acti…
Browse files Browse the repository at this point in the history
…ons/github-actions-d4e08d60db

chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 in the github-actions group
  • Loading branch information
gkc authored Dec 16, 2024
2 parents 0ced905 + 1e567e6 commit c0d8c75
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@babb554ede22fd5605947329c4d04d8e7a0b8155 # v3.27.7
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
with:
sarif_file: results.sarif
7 changes: 3 additions & 4 deletions packages/at_dump_atKeys/bin/at_pkam.dart
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';

import 'package:crypton/crypton.dart';
import 'package:path/path.dart';

void main(List<String> arguments) {
var Name = arguments[0];
var privateKey = getSecret(Name);
var name = arguments[0];
var privateKey = getSecret(name);
privateKey = privateKey.trim();
var key = RSAPrivateKey.fromString(privateKey);
var challenge = stdin.readLineSync()!;
challenge = challenge.trim();
var signature =
base64.encode(key.createSHA256Signature(utf8.encode(challenge) as Uint8List));
base64.encode(key.createSHA256Signature(utf8.encode(challenge)));
stdout.write(signature);
stdout.write('\n');
}
Expand Down
3 changes: 1 addition & 2 deletions packages/at_pkam/bin/at_pkam.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'dart:convert';
import 'dart:io';
import 'dart:typed_data';

import 'package:crypton/crypton.dart';
import 'package:path/path.dart';
Expand All @@ -11,7 +10,7 @@ void main(List<String> arguments) {
var challenge = stdin.readLineSync()!;
challenge = challenge.trim();
var signature =
base64.encode(key.createSHA256Signature(utf8.encode(challenge) as Uint8List));
base64.encode(key.createSHA256Signature(utf8.encode(challenge)));
stdout.write(signature);
stdout.write('\n');
}
Expand Down
2 changes: 1 addition & 1 deletion packages/at_pkam/bin/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Future<void> main(List<String> arguments) async {
var key = RSAPrivateKey.fromString(privateKey);
challenge = challenge.trim();
var signature =
base64.encode(key.createSHA256Signature(utf8.encode(challenge) as Uint8List));
base64.encode(key.createSHA256Signature(utf8.encode(challenge)));
stdout.write(signature);
stdout.write('\n');
}
Expand Down

0 comments on commit c0d8c75

Please sign in to comment.