mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-17 11:37:22 +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'),
|
fieldLabel: gettext('Subject'),
|
||||||
name: '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',
|
xtype: 'displayfield',
|
||||||
fieldLabel: gettext('Valid Since'),
|
fieldLabel: gettext('Valid Since'),
|
||||||
@ -220,7 +230,7 @@ Ext.define('PVE.node.CertUpload', {
|
|||||||
Ext.define('pve-certificate', {
|
Ext.define('pve-certificate', {
|
||||||
extend: 'Ext.data.Model',
|
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'
|
idProperty: 'filename'
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -293,6 +303,18 @@ Ext.define('PVE.node.Certificates', {
|
|||||||
flex: 1,
|
flex: 1,
|
||||||
dataIndex: 'subject'
|
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'),
|
header: gettext('Valid Since'),
|
||||||
width: 150,
|
width: 150,
|
||||||
|
Loading…
Reference in New Issue
Block a user