mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-26 09:52:39 +00:00
probably should have split this into two commits. oh well. first part introduces a check to see if root keys are initialized, and if so, tries to mount the PDDB. If it can't mount, it asks the user if they want to format it. It also updates the progress of the fromatting. the second part redoes the salt once again. After some discussion SHA512/256 is also resistant to length extension attacsk so we don't need to use the HMAC technique suggested. Would prefer to reduce the number of algos to analyze, so we're going to a simple SHA512/256 hash of the salt/basis name/plaintext password to generate the salt that goes into the bcrypt routine that ultimately generates the final key used by the system.
77 lines
No EOL
2.2 KiB
JSON
77 lines
No EOL
2.2 KiB
JSON
{
|
||
"pddb.okay": {
|
||
"en": "Okay",
|
||
"zh": "确定",
|
||
"en-audio": "Okay"
|
||
},
|
||
"pddb.cancel": {
|
||
"en": "Cancel",
|
||
"zh": "取消",
|
||
"en-audio": "Cancel"
|
||
},
|
||
"pddb.yes": {
|
||
"en": "Yes",
|
||
"zh": "是的",
|
||
"en-audio": "Yes"
|
||
},
|
||
"pddb.no": {
|
||
"en": "No",
|
||
"zh": "不",
|
||
"en-audio": "No"
|
||
},
|
||
"pddb.requestformat": {
|
||
"en": "The PDDB storage needs\nformatting. This takes\nabout 8 mins and can't\nbe interrupted.\nProceed?\n",
|
||
"zh": "存储需要格式化。这需要8分钟。继续?",
|
||
"en-audio": "The PDDB storage needs formatting. It will take about 8 minutes and can't be interrupted. Proceed?"
|
||
},
|
||
"pddb.devbypass": {
|
||
"en": "Are you testing the PDDB?",
|
||
"zh": "你在测试存储吗?",
|
||
"en-audio": "Are you testing the PDDB?"
|
||
},
|
||
"pddb.erase": {
|
||
"en": "Bulk erase\n(1/6)",
|
||
"zh": "擦除存储(1/6)",
|
||
"en-audio": "Bulk erase step 1 of 6"
|
||
},
|
||
"pddb.initpt": {
|
||
"en": "Pagetable\n(2/6)",
|
||
"zh": "分页表(2/6)",
|
||
"en-audio": "Pagetable step 2 of 6"
|
||
},
|
||
"pddb.key": {
|
||
"en": "Keys\n(3/6)",
|
||
"zh": "密钥(3/6)",
|
||
"en-audio": "Keys step 3 of 6"
|
||
},
|
||
"pddb.fastspace": {
|
||
"en": "Fastspace\n(4/6)",
|
||
"zh": "快空间(4/6)",
|
||
"en-audio": "Fastspace step 4 of 6"
|
||
},
|
||
"pddb.randomize": {
|
||
"en": "Randomize disk\n(5/6)",
|
||
"zh": "随机存储(5/6)",
|
||
"en-audio": "Randomize disk step 5 of 6"
|
||
},
|
||
"pddb.structure": {
|
||
"en": "Commit root\n(6/6)",
|
||
"zh": "提交根(6/6)",
|
||
"en-audio": "Commit root step 6 of 6"
|
||
},
|
||
"pddb.internalerror": {
|
||
"en": "Internal Error",
|
||
"zh": "内部错误",
|
||
"en-audio": "Internal Error"
|
||
},
|
||
"pddb.basisname": {
|
||
"en": "Basis Name:",
|
||
"zh": "基础名称",
|
||
"en-audio": "Enter name of Basis"
|
||
},
|
||
"pddb.password": {
|
||
"en": "Basis Password:",
|
||
"zh": "基础密码",
|
||
"en-audio": "Enter password for Basis"
|
||
}
|
||
} |