Skip to content

Commit

Permalink
until this is fully supported
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Aug 1, 2024
1 parent 40e6552 commit 4c17f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decode.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub const DecodingKey = union(enum) {
edsa: std.crypto.sign.Ed25519.PublicKey,
es256: std.crypto.sign.ecdsa.EcdsaP256Sha256.PublicKey,
es384: std.crypto.sign.ecdsa.EcdsaP384Sha384.PublicKey,
rsa: std.crypto.Certificate.rsa.PublicKey,
//rsa: std.crypto.Certificate.rsa.PublicKey,

fn fromEdsaBytes(bytes: [std.crypto.sign.Ed25519.SecretKey]u8) !@This() {
return .{ .edsa = try std.crypto.sign.Ed25519.SecretKey.fromBytes(bytes) };
Expand Down

0 comments on commit 4c17f95

Please sign in to comment.