Skip to content

Commit 3fcde9c

Browse files
committed
repo: fix naming after repo rename
1 parent f5af036 commit 3fcde9c

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
description = "Bitcoin Encrypted Backup"
77
documentation = "https://docs.rs/bitcoin-encrypted-backup"
88
license-file = "LICENSE"
9-
repository = "https://github.com/pythcoiner/encrypted_backup"
9+
repository = "https://github.com/pythcoiner/bitcoin-encrypted-backup"
1010

1111
[dependencies]
1212
aes-gcm = {version = "0.10.3", default-features = false, features = ["aes", "alloc"]}

fuzz/fuzz_targets/encode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![no_main]
22

3-
extern crate encrypted_backup;
4-
use encrypted_backup::{
3+
extern crate bitcoin_encrypted_backup;
4+
use bitcoin_encrypted_backup::{
55
Content, Encryption, Version,
66
ll::{
77
decode_v1, encode_derivation_paths, encode_encrypted_payload, encode_individual_secrets,

fuzz/fuzz_targets/parse_deriv_paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![no_main]
22

3-
use encrypted_backup::ll::parse_derivation_paths;
3+
use bitcoin_encrypted_backup::ll::parse_derivation_paths;
44
use libfuzzer_sys::fuzz_target;
55

66
fuzz_target!(|bytes: &[u8]| {

fuzz/fuzz_targets/parse_encrypted_payload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![no_main]
22

3-
use encrypted_backup::ll::parse_encrypted_payload;
3+
use bitcoin_encrypted_backup::ll::parse_encrypted_payload;
44
use libfuzzer_sys::fuzz_target;
55

66
fuzz_target!(|bytes: &[u8]| {

fuzz/fuzz_targets/parse_individual_secrets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![no_main]
22

3-
use encrypted_backup::ll::parse_individual_secrets;
3+
use bitcoin_encrypted_backup::ll::parse_individual_secrets;
44
use libfuzzer_sys::fuzz_target;
55

66
fuzz_target!(|bytes: &[u8]| {

src/bin/main.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ pub use mscript_12_3_5 as miniscript;
66
use clap::Parser;
77
use clap::Subcommand;
88

9-
use bitcoin_encrypted_backup as encrypted_backup;
10-
11-
use encrypted_backup::Decrypted;
12-
use encrypted_backup::EncryptedBackup;
9+
use bitcoin_encrypted_backup::Decrypted;
10+
use bitcoin_encrypted_backup::EncryptedBackup;
1311
use miniscript::descriptor::DescriptorKeyParseError;
1412
use miniscript::Descriptor;
1513
use miniscript::DescriptorPublicKey;
@@ -38,8 +36,8 @@ pub enum CliError {
3836
OpenError(std::io::Error),
3937
WriteError(std::io::Error),
4038
ReadError(std::io::Error),
41-
FailedToEncrypt(encrypted_backup::Error),
42-
FailedToDecrypt(encrypted_backup::Error),
39+
FailedToEncrypt(bitcoin_encrypted_backup::Error),
40+
FailedToDecrypt(bitcoin_encrypted_backup::Error),
4341
Content,
4442
NoKeys,
4543
}
@@ -201,7 +199,7 @@ async fn main() -> Result<(), CliError> {
201199
#[cfg(feature = "devices")]
202200
let mut keys = {
203201
let deriv_paths = backup.get_derivation_paths();
204-
encrypted_backup::signing_devices::collect_xpubs(deriv_paths).await
202+
bitcoin_encrypted_backup::signing_devices::collect_xpubs(deriv_paths).await
205203
};
206204

207205
#[cfg(not(feature = "devices"))]
@@ -215,7 +213,8 @@ async fn main() -> Result<(), CliError> {
215213
return Err(CliError::NoKeys);
216214
}
217215

218-
let (pks, _) = encrypted_backup::descriptor::dpks_to_derivation_keys_paths(&keys);
216+
let (pks, _) =
217+
bitcoin_encrypted_backup::descriptor::dpks_to_derivation_keys_paths(&keys);
219218

220219
let decrypted = backup
221220
.set_keys(pks)

0 commit comments

Comments
 (0)