Skip to content

Commit

Permalink
chore: fix encoding error in basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
NishantJoshi00 committed Dec 10, 2024
1 parent 72787bf commit 716a6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/keymanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ where
let (left_half, right_half) = broken_master_key.split_at(broken_master_key.len() / 2);
let hex_left = hex::encode(left_half);
let hex_right = hex::encode(right_half);
BASE64_ENGINE.encode(format!("{}{}", hex_left, hex_right))
BASE64_ENGINE.encode(format!("{}:{}", hex_left, hex_right))
};
let headers = [
(headers::CONTENT_TYPE.into(), "application/json".into()),
Expand Down

0 comments on commit 716a6d4

Please sign in to comment.