Commit graph

74 commits

Author SHA1 Message Date
907498b683
chore: Remove www from license url and remove whitespaces 2024-05-20 08:00:20 +03:00
5cf401996b
chore: Use the new name of Alphabet::RFC4648 varint
Some checks failed
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 3m4s
CD / build-assets (x86_64-pc-windows-gnu) (push) Has been cancelled
CD / build-assets (x86_64-unknown-linux-gnu) (push) Has been cancelled
CD / build-assets (aarch64-unknown-linux-gnu) (push) Has been cancelled
CD / build-assets (x86_64-unknown-linux-musl) (push) Has been cancelled
CD / release (push) Has been cancelled
CD / build-assets (aarch64-unknown-linux-musl) (push) Has been cancelled
Based-on: dffd619b5e
2024-05-19 06:05:50 +03:00
d52361cb2d
chore: Add copyright and issue tracker to the help 2024-05-19 05:29:59 +03:00
6d079b0ae3
chore: Remove unused attribute macros 2024-05-19 05:29:11 +03:00
0680189723
chore: Validate the TOTP secret string 2024-05-19 04:27:09 +03:00
00694e6f86
chore: Create base32_decode function to decode base32 2024-05-19 04:19:49 +03:00
920ff2a2d4
security: Use system seeded rng for IV
Acked-by: Amjad Alsharafi <me@amjad.alsharafi.dev>
2024-05-18 11:46:59 +03:00
38f6447681
fix: Show the totp code in get command
Fixes: #46
2024-05-17 22:44:46 +03:00
02bf53b2a1
fix: Validate all fields in add & edit
Fixes: #47
2024-05-17 22:22:58 +03:00
40e49bffe4
fix: Overflow in utils::vault_by_index_or_name function
Fixes: #48
2024-05-17 22:22:58 +03:00
ced363a37f feat: Support changing master password (#50)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m3s
Reviewed-on: #50
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-16 22:41:20 +02:00
6f83bcccf9
feat: Support TOTP
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m28s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m3s
2024-05-12 09:07:43 +03:00
835504eeb9
chore: Add base32 error 2024-05-11 13:53:37 +03:00
00128a7957
chore: Add a reserved custom fields prefix 2024-05-11 13:00:32 +03:00
47318142b8
chore: Rename utils::user_password to user_secret 2024-05-11 12:54:43 +03:00
d8350e636e
feat: Ability to edit & remove by name (not index only)
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 3m20s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m49s
2024-05-11 08:38:48 +03:00
6e8c214b9e
chore: Use new util to get the vault by index or name 2024-05-10 17:59:51 +03:00
31afe4fd58
chore: Trim the added vault name 2024-05-10 17:58:59 +03:00
a7ad8b4682
feat: Add --json flag to the list command
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m58s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m54s
2024-05-10 16:08:16 +03:00
add008416b feat: Force flag for edit and add commands (#42)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m53s
Reviewed-on: #42
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-10 13:56:28 +02:00
8371e144a1
chore: Update the lprs description
All checks were successful
Write changelog / write-changelog (push) Successful in 2s
Rust CI / Rust CI (push) Successful in 1m52s
2024-05-10 14:06:56 +03:00
f022574631
feat: Support completion generating
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m57s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m56s
Fixes: #20
2024-05-10 13:47:16 +03:00
62d4060bb8
feat: Ability to pass the master password as option
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m1s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m7s
2024-05-10 13:11:34 +03:00
f9fbf1a0b7
feat: Add get command
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m47s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m8s
Fixes: #32
2024-05-10 09:12:59 +03:00
8cf83c2775
chore: Use print! to print the password 2024-05-10 05:08:48 +03:00
44b5b3e09b
remove: Remove --get option from list command
BREAKING-CHANGE: The deletion was in favor `get` command, which is better
2024-05-09 18:20:33 +03:00
da568ab5e9
feat: Support custom fields
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m22s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m59s
2024-05-09 15:40:30 +03:00
0b020a1cb6
chore: Create new utils for custom fields
Is `get_duplicated_field` and `apply_custom_fields` utils
2024-05-09 15:18:31 +03:00
71ca10e865
chore: A clap parser to parse key value args 2024-05-09 15:18:26 +03:00
4b87dd0770
chore: Add ArgParse error 2024-05-09 13:25:44 +03:00
a6483cf333
feat: Support export and import with different password
Some checks failed
Check PR title / check_pr_title (pull_request) Failing after 5s
Rust CI / Rust CI (pull_request) Successful in 2m12s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Has been cancelled
2024-05-08 05:02:33 +03:00
5d1398832c
chore: Pass the prompt message as an argument to the user_password function 2024-05-08 05:02:32 +03:00
914222976c
chore: Encrypt the exported json with the given key 2024-05-08 05:02:32 +03:00
bc2257cdaf
chore: Derive Eq and PartialEq to Format 2024-05-08 05:02:32 +03:00
621ec6a07a
chore: Create user_password function and use it 2024-05-08 05:02:32 +03:00
127f3779f8 feat: Make the name option in edit & add as argument (#29)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m48s
Reviewed-on: #29

BREAKING-CHANGE: Change the `name` option to argument in `name` and `edit` commands
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-07 07:55:39 +02:00
3436e616f8
chore: Reformat the codebase with the new configration
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m52s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m49s
2024-05-07 00:16:53 +03:00
17974ce74b
chore(lint): Impl the clippy lints 2024-05-07 00:16:52 +03:00
6f6966d5b2
feat: Encrypt the hole vault file
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m6s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m9s
BREAKING-CHANGE: The previous format is not supported after this commit, so
you must export your vaults in bit-warden format (before this commit)
and then re-invoke them (after this commit)
2024-05-03 08:13:45 +03:00
7b4079e22c
chore: Remove the generic type from Vault[s] 2024-05-02 11:12:33 +03:00
31a68b9277 feat: Support --verbose flag (#23)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m19s
Reviewed-on: #23
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-30 16:49:21 +02:00
791d390e63 feat: Support rm and ls aliases (#22)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m15s
Reviewed-on: #22
Fixes: #18
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-29 23:50:45 +02:00
83c7296bf7 refactor: Use select for vaults listing (#19)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m17s
Reviewed-on: #19
Fixes: #10
Fixes: #8
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-29 17:50:32 +02:00
b4bcaa92ca feat: Validate args before ask for the master password (#17)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m17s
Reviewed-on: #17
Fixes: #13
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-29 13:39:36 +02:00
5f357b89cb feat: Ability to enter password via stdin add&edit (#15)
Some checks failed
Write changelog / write-changelog (push) Failing after 2s
Rust CI / Rust CI (push) Successful in 1m13s
Reviewed-on: #15
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-25 00:27:56 +02:00
a625f794dd
chore: Use inquire to get user password (#14)
Some checks failed
Write changelog / write-changelog (push) Failing after 3s
Rust CI / Rust CI (push) Successful in 1m13s
Reviewed-on: #14
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-24 19:11:17 +03:00
af6664da5c feat: Make the username & password optional in the vault (#12)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m19s
Reviewed-on: #12
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-04-20 16:38:50 +02:00
bae0cf1747
change: Change 'password manager' to 'vault manager' 2024-03-19 10:28:49 +03:00
4def4aadb2
refactor: Add a ecryption state to the vault
Also
- Rename `password`somthing to `vault`somthing
- Rename the `password` mod to `vault`

BREAKING-CHANGE: Moving from password to vault
ISSUE: #4
2024-03-19 10:28:43 +03:00
f6aaecb9cf
refactor: Rename Passwords Vaults 2024-03-19 00:32:24 +03:00