Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[198] Trait for pub API in EncryptedFs #200

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions examples/change_password.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use core::str::FromStr;
use rencfs::crypto::Cipher;
use rencfs::encryptedfs::EncryptedFilesystem;
use rencfs::encryptedfs::{EncryptedFs, FsError};
use shush_rs::SecretString;
use std::env::args;
Expand Down
1 change: 1 addition & 0 deletions examples/change_password_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use rpassword::read_password;
use shush_rs::{ExposeSecret, SecretString};
use tracing::{error, info};

use rencfs::encryptedfs::EncryptedFilesystem;
use rencfs::encryptedfs::{EncryptedFs, FsError};

#[tokio::main]
Expand Down
4 changes: 3 additions & 1 deletion examples/encryptedfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ use shush_rs::SecretString;

use rencfs::crypto::Cipher;
use rencfs::encryptedfs::write_all_string_to_fs;
use rencfs::encryptedfs::{CreateFileAttr, EncryptedFs, FileType, PasswordProvider};
use rencfs::encryptedfs::{
CreateFileAttr, EncryptedFilesystem, EncryptedFs, FileType, PasswordProvider,
};

const ROOT_INODE: u64 = 1;

Expand Down
Loading
Loading