rename embassy to startos

This commit is contained in:
Aiden McClelland
2024-03-25 18:21:58 -06:00
parent cf793f7f49
commit 9cf720e040
7 changed files with 42 additions and 42 deletions

View File

@@ -71,7 +71,7 @@ pub async fn restore_packages_rpc(
pub async fn recover_full_embassy(
ctx: SetupContext,
disk_guid: Arc<String>,
embassy_password: String,
start_os_password: String,
recovery_source: TmpMountGuard,
recovery_password: Option<String>,
) -> Result<(Arc<String>, Hostname, OnionAddressV3, X509), Error> {
@@ -89,7 +89,7 @@ pub async fn recover_full_embassy(
)?;
os_backup.account.password = argon2::hash_encoded(
embassy_password.as_bytes(),
start_os_password.as_bytes(),
&rand::random::<[u8; 16]>()[..],
&argon2::Config::rfc9106_low_mem(),
)