Skip to main content

Crate spass

Crate spass 

Source
Expand description

Samsung Pass (SPass) decryption library.

This library provides cryptographic operations to decrypt Samsung Pass password manager export files (.spass files) and convert them to standard formats.

§Security

  • All sensitive data is automatically zeroized on drop
  • Constant-time operations prevent timing attacks
  • No passwords are logged or exposed in error messages

§Example

use spass::pipeline::DecryptionPipeline;
use spass::domain::EntryPassword;

let pipeline = DecryptionPipeline::new(spass::crypto::PBKDF2_ITERATIONS);
let password = EntryPassword::new("my_password".to_string());
let collection = pipeline.decrypt_file("passwords.spass", &password)?;

println!("Decrypted {} entries", collection.len());

Re-exports§

pub use domain::SpassError;
pub use domain::SpassResult;

Modules§

crypto
Cryptographic operations for SPass decryption.
domain
Core domain types and business logic.
export
Export formats for password entries.
format
SPass file format decoding and validation.
parser
Password entry parsers for different formats.
pipeline
High-level decryption pipeline.