X509: make the attributes section of new CSRs be blank

This commit is contained in:
terrafrost 2024-09-30 04:29:10 -05:00
parent 9f1602e64c
commit c6ff35a494

View File

@ -3914,7 +3914,8 @@ class File_X509
array(
'version' => 'v1',
'subject' => $this->dn,
'subjectPKInfo' => $publicKey
'subjectPKInfo' => $publicKey,
'attributes' => array()
),
'signatureAlgorithm' => array('algorithm' => $signatureAlgorithm),
'signature' => false // this is going to be overwritten later