Matt Gibson
ee22231a3c
comment on key leakage
2025-12-15 09:35:09 -08:00
Matt Gibson
bc82b338a1
Vrf keys are created by the application and protected by external means
2025-12-15 09:04:59 -08:00
Matt Gibson
6323175da9
cargo clippy --fix
2025-12-10 12:57:49 -08:00
Matt Gibson
6e1758afde
Move mssql db to sub directory
2025-12-10 12:47:28 -08:00
Matt Gibson
8b750aee0a
Create config for akd and vrf storages
2025-12-09 16:17:52 -08:00
Matt Gibson
0a818755f3
add serde type tag
2025-12-09 16:15:40 -08:00
Matt Gibson
895e720e58
Add config struct for AKD config
2025-12-09 11:17:47 -08:00
Matt Gibson
5acdfe4949
fixup tiberius non-mac dependencies
2025-11-20 15:55:31 -08:00
Matt Gibson
f2136bb809
Start scaffolding hosting applications
2025-11-20 15:25:44 -08:00
Matt Gibson
ab1eaddb18
Configuration beginnings for storage
2025-11-20 15:25:40 -08:00
Matt Gibson
e5ecb4f3c8
Define a bitwarden akd configuration
...
This configuration distinguishes between different installations using the installation id
2025-11-20 15:25:36 -08:00
Matt Gibson
532b44030b
Clean up unused methods
2025-11-20 15:25:27 -08:00
Matt Gibson
15ab667072
implement command line utility which is a copy of mysql_demo from akd
2025-11-20 15:24:59 -08:00
Matt Gibson
2b4430eef7
sql fixups
...
- prefer non-keyword column name
- i16 corresponds to smallint, not u8
- column name typo in batch read
2025-11-20 15:24:58 -08:00
Matt Gibson
8de07787e8
Fixup column names
2025-11-20 15:24:58 -08:00
Matt Gibson
16da46cc1e
improve migration logging
2025-11-20 15:24:53 -08:00
Matt Gibson
9795d4133a
Update workspace lockfile
2025-11-20 15:24:49 -08:00
Matt Gibson
046e4114a3
Appears to be a working database layer
...
Next up is a directory impl
2025-11-20 15:24:47 -08:00
Matt Gibson
0309aae4d7
Smallest possible test of sql server with a publisher crate
2025-11-20 15:24:46 -08:00
Matt Gibson
bbd1a230a6
First complete implementation of Database trait for sql server
2025-11-20 15:24:37 -08:00
Matt Gibson
7bb8296a2c
Create temp table enum
2025-11-20 15:24:31 -08:00
Matt Gibson
2c971fc77e
fixup sql connection pool
2025-11-20 15:24:24 -08:00
Matt Gibson
f4ec8bd4a0
Improve ms_database errors
2025-11-20 15:24:24 -08:00
Matt Gibson
e559c1b046
Add initial table migrations
...
Note, there is a name change here relative to AKD. They use a `Users` table with username. However, that will be odd in our design, where we expect to store multiple values per user. Therefore, we generalize to `Values` and `raw_label`
2025-11-20 15:24:22 -08:00
Matt Gibson
6f175c158b
re-exports for convenience
2025-11-20 15:24:20 -08:00
Matt Gibson
37cd1a36df
Expect migrations from users of ms_database crate. scaffold akd storage
2025-11-20 15:24:17 -08:00
Matt Gibson
3965b241fa
Use connection strings and implement connection errors
2025-11-20 15:24:15 -08:00
Matt Gibson
e06807df11
Managed connection pool and migration framework for ms sql using tiberius as a backend
2025-11-20 15:24:07 -08:00