mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 05:20:32 +01:00
cli: hide certificate blobs unless --show-secrets is passed
This restores the behavior before commit99711579ed. Fixes:99711579ed('cli: add property type for 802-1x certificate properties (pt2)').
This commit is contained in:
parent
ec4a12ecdb
commit
c91aad4969
1 changed files with 1 additions and 2 deletions
|
|
@ -2216,8 +2216,7 @@ _get_fcn_cert_8021x (ARGS_GET_FCN)
|
|||
|
||||
switch (vtable->scheme_func (s_8021X)) {
|
||||
case NM_SETTING_802_1X_CK_SCHEME_BLOB:
|
||||
if ( vtable->is_secret
|
||||
&& !NM_FLAGS_HAS (get_flags, NM_META_ACCESSOR_GET_FLAGS_SHOW_SECRETS))
|
||||
if (!NM_FLAGS_HAS (get_flags, NM_META_ACCESSOR_GET_FLAGS_SHOW_SECRETS))
|
||||
return _get_text_hidden (get_type);
|
||||
str = bytes_to_string (vtable->blob_func (s_8021X));
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue