HP Sure Recover User Guide

    $filePath = $hashObject.Path.Replace($pathToManifest + '\', '')
    $fileSize = (Get-Item $_.FullName).length
    $manifestContent = "$fileHash $filePath $fileSize"
    Out-File -Encoding utf8 -FilePath $mftFilename -
InputObject$manifestContent -Append
    $current = $current + 1
}

: 



HP Sure Recover 

BOM








UTF8 without BOM
$content = Get-Content $mftFilename
$encoding = New-Object System.Text.UTF8Encoding $False
[System.IO.File]::WriteAllLines($pathToManifest + '\' + $mftFilename,
$content, $encoding)
2.


3.



powershell .\generate-manifest.ps1




Sure Recover 












/
 X.509 PEM (
.PEM) 







DER (
.CER 
.CRT)

 PEM

 BASE-64 (
.CER 
.CRT) 

PKCS1 PEM (
.PEM) 



OpenSSL



 big-endian







BIOS 



 little-endian

1. 


 RSA  2048-







/ RSA  2048-
 pem

C:\staging 


3
openssl genrsa -out my-recovery-private.pem 2048
2. 




(







 PEM

C:\staging) 



:
openssl rsa -in my-recovery-private.pem -pubout -out my-recovery-
public.pem
8  2 

