Commit graph

44 commits

Author SHA1 Message Date
Christoph Heiss d531c967f1
flake: simplify dev shell declaration
All checks were successful
flake / build (push) Successful in 10m2s
nightly build / build (push) Successful in 10m3s
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:42 +02:00
Christoph Heiss d5db7f1e73
flake: add apps output
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:42 +02:00
Christoph Heiss b3c92de737
flake: clean up crane and rust-overlay usage
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:42 +02:00
Christoph Heiss a175fca2dd
flake: add full description to flake
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:42 +02:00
Christoph Heiss c00e047764
gitattributes: mark flake.lock as binary file
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:42 +02:00
Christoph Heiss 284d4a2c33
flake: add treefmt-nix
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss 8e74a21b19
readme: format using prettier
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss a78870d47a
cargo: switch out dead clipboard crate with arboard
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss 318c81200a
editorconfig: apply 2-space indent rule for .json files as well
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss 46028fd53d
gitignore: add nix build result folder
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss bdd940efec
cargo: update canonical repository URL
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss 7b9f6480d2
tree-wide: run cargo fmt
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:41 +02:00
Christoph Heiss b5d479b135
flake: switch to latest nixpkgs and crane, update lockfile
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:40 +02:00
Christoph Heiss b6e6333b68
flake: always use latest stable rustc
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:40 +02:00
Christoph Heiss 6c0a9d68cc
ci: switch from builds.sr.ht manifest to forgejo action workflows
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-08-16 16:36:40 +02:00
Christoph Heiss 77ff1dc9a4
flake: add initial nix flake
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-04 12:36:35 +02:00
Christoph Heiss ba01119eb6
cargo: bump directories 4.0.1 -> 5.0.1 and cursive 0.19.0 -> 0.20.0
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-04 12:36:27 +02:00
Christoph Heiss fa8f9b5b46
chore: Clean up cargo manifests and license
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-01-31 19:47:28 +01:00
Christoph Heiss cafd205802
chore: Adjust git repo link
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-01-31 19:43:22 +01:00
Christoph Heiss 19e1a37925
chore: Forbid unsafe code and allow unneeded clippy lint
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-01-31 19:12:38 +01:00
Christoph Heiss 5687873d88
ci: Replace Github Actions with sr.ht build manifest
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-01-31 19:01:18 +01:00
Christoph Heiss 4feef25aef
chore: Simply license statement
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-01-30 20:34:38 +01:00
Christoph Heiss f3288fddfa
chore: Add .gitattributes file
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-08-04 13:34:35 +02:00
Christoph Heiss 4471fa47d6
chore: Update all dependencies and switch to 2021 edition
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-08-04 13:31:42 +02:00
Christoph Heiss 3ae082673c
chore: Add GitHub Actions workflows
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-08-04 13:18:38 +02:00
Christoph Heiss c1bdaa9ec2
chore: Mend clippy warnings
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-08-04 13:18:32 +02:00
Christoph Heiss 684ba7b646
refactor: Remove some unused deserialization code
Signed-off-by: Christoph Heiss <contact@christoph-heiss.at>
2022-08-04 13:05:57 +02:00
Christoph Heiss 2480696c27
deps: Update cursive and cursive_table_view.
Now that `cursive_table_view` was updated to support the newest version of
`cursive`, we can _finally_ get rid of the git version of `cursive_table_view`
and use the crates.io one.
2021-04-23 23:33:36 +02:00
Christoph Heiss 84f57b4493
login: Simplify whole async decrypting process 2020-12-02 17:36:14 +01:00
Christoph Heiss c82ba73eba
Make login completely async and implement progress dialog.
This gives the user some indication what bwtui is doing and that it
isn't frozen.
2020-11-30 14:19:02 +01:00
Christoph Heiss 7e2587a7d0
vault: Document Ctrl+C as shortcut for quitting. 2020-11-25 10:09:12 +01:00
Christoph Heiss b5827fc596
chore: Fix clippy lints 2020-11-25 01:55:52 +01:00
Christoph Heiss b94440f6fb
chore: Re-format everything with rustfmt to 4 spaces indent.
8 spaces was a bit extreme. Also, this now enables us to easily format
the crate using 'cargo fmt'.
2020-11-25 01:55:40 +01:00
Christoph Heiss c78e135003
Update dependencies once again. 2020-11-25 01:01:09 +01:00
Christoph Heiss 4063542e71
Split out the Bitwarden API into a separate sub-crate. 2020-11-24 01:47:34 +01:00
Christoph Heiss bc76050d3a
Update dependencies.
Since cursive_table_view was updated, cursive can also be updated.
2020-04-11 01:35:25 +02:00
Christoph Heiss 1e4c3cea42
Update to reflect current progress. 2019-12-26 20:13:27 +01:00
Christoph Heiss c4b5c7e074
Implement offline support (withou re-sync support).
Now the local vault data is read on startup and the bitwarden API is
only contacted when no data is present.

Password validation now happens via proper error propagation from hmac
validation.

If you need/want to re-sync your vault data, vault.json must be deleted
manually from (probably) ~/.local/share/bwtui/.
2019-12-26 20:08:01 +01:00
Christoph Heiss be062c02b5
Remove access to cursive debug console.
It was useless anyway due to excessive logging from cursive.
2019-12-26 20:07:15 +01:00
Christoph Heiss bffa1b29b6
Add shortcuts J/K to scroll to beginning/end of table, respectively. 2019-12-26 18:18:40 +01:00
Christoph Heiss 78e1c43d68
Update README and crate version. 2019-12-24 15:19:57 +01:00
Christoph Heiss d7b9c41386
Small code and dependencies cleanup. 2019-12-24 15:09:43 +01:00
Christoph Heiss a4e10bd6ea
Add fuzzy-search for vault items. 2019-12-24 15:07:33 +01:00
Christoph Heiss a00a8fa54d
Initial commit 2019-12-22 00:09:15 +01:00