forked from lolo859/vystem
Added bscript thing
This commit is contained in:
@@ -281,8 +281,8 @@ int main(int argc,char **argv) {
|
||||
}
|
||||
secure_erase(sigsbuf.data(),sigsbuf.size());
|
||||
if (!password_env) {
|
||||
cout<<"[Keygen] You are about to define a boot password. This password will be asked everytime you boot this instance of Vystem."<<endl;
|
||||
cout<<"[Keygen] It will be used to sign every public key on this instance of Vystem. Make sure it's secure. Here are the requirements:\n - It should be at least 12 characters.\n - Password can only include ASCII characters.\n - Password shouldn't be longer than 512 characters.\n - DO NOT use the numerical pad at all. It's not supported in the EFI environment."<<endl;
|
||||
cout<<"[Keygen] You are about to define a boot password. This password will be asked everytime you boot this instance of Vystem B."<<endl;
|
||||
cout<<"[Keygen] It will be used to sign every public key on this instance of Vystem B. Make sure it's secure. Here are the requirements:\n - It should be at least 12 characters.\n - Password can only include ASCII characters.\n - Password shouldn't be longer than 512 characters.\n - DO NOT use the numerical pad at all. It's not supported in the EFI environment."<<endl;
|
||||
cout<<"[Keygen] Leave empty for us to generate entropy as a password."<<endl;
|
||||
char* pwd=getpass("[Keygen] Enter boot password: ");
|
||||
if (strlen(pwd)==0) {
|
||||
|
||||
@@ -194,10 +194,10 @@ EFI_STATUS bp_vftm_check_manifest_authenticity(UINT8 *pk_root,UINT8* sig_root) {
|
||||
status=bp_crypto_sphincsplus_verify(assets.manifest_signature,CRYPTO_BYTES,(UINT8*)&assets.manifest,sizeof(assets.manifest),assets.pk_manifest);
|
||||
if (EFI_ERROR(status)) {
|
||||
Print(L"[BlastVFTM] Error: critical security violation in boot process:\n",status);
|
||||
Print(L"[BlastVFTM] Provided Vystem FAT Trusted Manifest couldn't be authentified.\n",status);
|
||||
Print(L"[BlastVFTM] Provided Vystem B FAT Trusted Manifest couldn't be authentified.\n",status);
|
||||
while (TRUE) {};
|
||||
}
|
||||
Print(L"[BlastVFTM] Successfully authentified provided Vystem FAT Trusted Manifest.\n",status);
|
||||
Print(L"[BlastVFTM] Successfully authentified provided Vystem B FAT Trusted Manifest.\n",status);
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
EFI_STATUS bp_vftm_check_manifest_content() {
|
||||
|
||||
Reference in New Issue
Block a user