mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-16 09:00:28 +00:00
gui: cert: add public key type & size to certs view
by default the fields are hidden Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
parent
0cd3abab50
commit
e81645f5de
@ -57,6 +57,16 @@ Ext.define('PVE.node.CertificateViewer', {
|
||||
fieldLabel: gettext('Subject'),
|
||||
name: 'subject'
|
||||
},
|
||||
{
|
||||
xtype: 'displayfield',
|
||||
fieldLabel: gettext('Public Key Type'),
|
||||
name: 'public-key-type'
|
||||
},
|
||||
{
|
||||
xtype: 'displayfield',
|
||||
fieldLabel: gettext('Public Key Size'),
|
||||
name: 'public-key-bits'
|
||||
},
|
||||
{
|
||||
xtype: 'displayfield',
|
||||
fieldLabel: gettext('Valid Since'),
|
||||
@ -220,7 +230,7 @@ Ext.define('PVE.node.CertUpload', {
|
||||
Ext.define('pve-certificate', {
|
||||
extend: 'Ext.data.Model',
|
||||
|
||||
fields: [ 'filename', 'fingerprint', 'issuer', 'notafter', 'notbefore', 'subject', 'san' ],
|
||||
fields: [ 'filename', 'fingerprint', 'issuer', 'notafter', 'notbefore', 'subject', 'san', 'public-key-bits', 'public-key-type' ],
|
||||
idProperty: 'filename'
|
||||
});
|
||||
|
||||
@ -293,6 +303,18 @@ Ext.define('PVE.node.Certificates', {
|
||||
flex: 1,
|
||||
dataIndex: 'subject'
|
||||
},
|
||||
{
|
||||
header: gettext('Public Key Alogrithm'),
|
||||
flex: 1,
|
||||
dataIndex: 'public-key-type',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
header: gettext('Public Key Size'),
|
||||
flex: 1,
|
||||
dataIndex: 'public-key-bits',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
header: gettext('Valid Since'),
|
||||
width: 150,
|
||||
|
Loading…
Reference in New Issue
Block a user