-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Added a multiple wallet system which allows a user to import, create, backup and delete wallets. They are encrypted with a password and saved in the application data directory in DATA_DIR/dagchat-beta/accounts.dagchat (OS Specific). 2. Added an account system to allow a user to show and hide procedurally generated accounts (including from a specified index) for each wallet. 3. Messages are encrypted using the same password and are saved per-account under DATA_DIR/messages/UAID.dagchat. UAID is a Unique Account ID (A random 64 character hex string that is associated with each account used to send or receive messages in dagchat via a HashMap, which itself is stored along with accounts in accounts.dagchat). This way a compromised machine does not give information on the addresses used by a user on a machine, but messages can still be saved in account specific files. 4. Added a message viewing tab with options to search and filter.
- Loading branch information
Showing
11 changed files
with
4,508 additions
and
720 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
pub const DEFAULT_REP_BANANO: &str = "ban_3catgir1p6b1edo5trp7fdb8gsxx4y5ffshbphj73zzy5hu678rsry7srh8b"; | ||
pub const DEFAULT_REP_NANO: &str = "nano_3zx7rus19yr5qi5zmkawnzo5ehxr7i73xqghhondhfrzftgstgk4gxbubwfq"; | ||
pub const SHOW_TO_DP: usize = 6; | ||
pub const DEFAULT_REP_BANANO: &str = | ||
"ban_3catgir1p6b1edo5trp7fdb8gsxx4y5ffshbphj73zzy5hu678rsry7srh8b"; | ||
pub const DEFAULT_REP_NANO: &str = | ||
"nano_3zx7rus19yr5qi5zmkawnzo5ehxr7i73xqghhondhfrzftgstgk4gxbubwfq"; | ||
pub const SHOW_TO_DP: usize = 6; | ||
pub const DATA_DIR_PATH: &str = "dagchat-beta"; | ||
pub const MESSAGES_DIR_PATH: &str = "messages"; | ||
pub const WALLETS_PATH: &str = "accounts.dagchat"; | ||
pub const ADDRESS_BOOK_PATH: &str = "addressbook.dagchat"; | ||
pub const SALT_LENGTH: usize = 16; | ||
pub const IV_LENGTH: usize = 12; |
Oops, something went wrong.