Use updated algorithm fields
This commit is contained in:
parent
5fcedc0fe9
commit
b9d631c401
@ -772,7 +772,7 @@ function loadAuthority(query) {
|
|||||||
$("#enroll").click(async function() {
|
$("#enroll").click(async function() {
|
||||||
var keys = await window.cryptoEngine.generateKey(
|
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,
|
modulusLength: window.authority.certificate.key_size,
|
||||||
publicExponent: new Uint8Array([1, 0, 1]),
|
publicExponent: new Uint8Array([1, 0, 1]),
|
||||||
hash: window.authority.certificate.hash_algorithm,
|
hash: window.authority.certificate.hash_algorithm,
|
||||||
|
Loading…
Reference in New Issue
Block a user