Use updated algorithm fields

This commit is contained in:
Lauri Võsandi 2021-08-19 21:41:29 +03:00
parent 5fcedc0fe9
commit b9d631c401

View File

@ -772,7 +772,7 @@ function loadAuthority(query) {
$("#enroll").click(async function() {
var keys = await window.cryptoEngine.generateKey(
{
name: window.authority.certificate.key_type_specific,
name: window.authority.certificate.signature_algorithm,
modulusLength: window.authority.certificate.key_size,
publicExponent: new Uint8Array([1, 0, 1]),
hash: window.authority.certificate.hash_algorithm,