Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump github/codeql-action from 3.27.7 to 3.27.9 in the github-actions group #433

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
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
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
Loading