|
|
@ -207,7 +207,6 @@ impl Storage { |
|
|
|
writeln!(file, "{}", self.encoder.get_encoded_test_passphrase()?)?; |
|
|
|
writeln!(file, "{}", self.encoder.get_encoded_test_passphrase()?)?; |
|
|
|
|
|
|
|
|
|
|
|
for item in self.items.iter() { |
|
|
|
for item in self.items.iter() { |
|
|
|
println!("--- {}", item.id); |
|
|
|
|
|
|
|
writeln!(file, "{}", self.encoder.encrypt(&item.id)?)?; |
|
|
|
writeln!(file, "{}", self.encoder.encrypt(&item.id)?)?; |
|
|
|
let content = self.encoder.encrypt(&item.content)?; |
|
|
|
let content = self.encoder.encrypt(&item.content)?; |
|
|
|
writeln!(file, "{}", content)?; |
|
|
|
writeln!(file, "{}", content)?; |
|
|
|