Codechange: add setting for authorized/secret/public keys
This commit is contained in:
@@ -61,6 +61,24 @@ flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC | SF_NETWORK_ONLY
|
||||
def = nullptr
|
||||
cat = SC_BASIC
|
||||
|
||||
[SDTC_SSTR]
|
||||
var = network.client_secret_key
|
||||
type = SLE_STR
|
||||
length = NETWORK_SECRET_KEY_LENGTH
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
|
||||
def = nullptr
|
||||
; Prevent the user from setting the secret key from the console using 'setting'
|
||||
pre_cb = [](auto) { return false; }
|
||||
|
||||
[SDTC_SSTR]
|
||||
var = network.client_public_key
|
||||
type = SLE_STR
|
||||
length = NETWORK_SECRET_KEY_LENGTH
|
||||
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
|
||||
def = nullptr
|
||||
; Prevent the user from setting the public key from the console using 'setting'
|
||||
pre_cb = [](auto) { return false; }
|
||||
|
||||
[SDTC_SSTR]
|
||||
var = network.default_company_pass
|
||||
type = SLE_STR
|
||||
|
Reference in New Issue
Block a user