Use updated algorithm fields

This commit is contained in:
Lauri Võsandi 2021-08-19 21:41:29 +03:00
parent 5fcedc0fe9
commit b9d631c401
1 changed files with 1 additions and 1 deletions

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,