Matt Gibson
9be303cddb
Add authentication to publisher endpoints
...
The plan is to limit access to the publisher through a firewall, but this
further limits access in a belt-and-suspenders fashion.
2026-01-15 04:10:13 -08:00
Matt Gibson
7d8a41f711
create readonly initialization for directory storages
2026-01-14 16:33:20 -08:00
Matt Gibson
8aa7141306
First working build of publisher application
2026-01-14 14:58:17 -08:00
Matt Gibson
2c907f14ab
create a publish queue as part of config initialization
2026-01-13 17:05:09 -08:00
Matt Gibson
2ad61ff10a
Add publish queue and web handler
2026-01-13 14:16:45 -08:00
Matt Gibson
a4fca3dfe6
first stub of publisher job
2026-01-12 12:06:38 -08:00
Matt Gibson
3db09c8b5f
allow only one vrf key
2026-01-05 12:49:50 -08:00
Matt Gibson
929527a5c2
Clean up akd storage interface for application usage
2025-12-18 16:42:27 -08:00
Matt Gibson
7eda815adb
re-export akd_storage vrf configuration
2025-12-18 10:30:43 -08:00
Matt Gibson
bf3a280b9b
improve vrf key error patterns
2025-12-18 10:26:58 -08:00
Matt Gibson
568927f528
add vrf tests
2025-12-16 12:44:21 -08:00
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
72fd4956ba
remove erroneous csproj
...
went in a different direction with storage
2025-12-08 10:05:35 -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
Patrick-Pimentel-Bitwarden
59b6cd0cdb
feat(prelogin): [Auth/PM-27062] Prelogin New Response ( #6583 )
...
* feat(prelogin): [PM-27062] Prelogin New Response - Initial changes to support new data coming back from prelogin.
* test(prelogin): [PM-27062] Prelogin New Response - Added tests.
2025-11-20 15:43:01 -05:00
Alex Morask
c81b0dcd49
[PM-28249] Write PlanType claim as an integer ( #6610 )
...
* Write PlanType claim as an integer
* Accept FamiliesAnnually2025 for FamiliesAnnually plan type
2025-11-20 14:08:20 -06:00
Ike
8b169551f5
Update MjmlWelcomeEmailTemplates Feature Flag Key ( #6611 )
2025-11-20 14:51:38 -05:00
renovate[bot]
a434419313
[deps]: Update sdk-internal to 7080159 ( #6609 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-20 18:28:01 +01:00
Oscar Hinton
6653b9802e
Group sdk dependencies take 2 ( #6607 )
2025-11-20 17:36:37 +01:00
Kyle Spearrin
c0700a6946
[PM-27766] Add policy for blocking account creation from claimed domains. ( #6537 )
...
* Add policy for blocking account creation from claimed domains.
* dotnet format
* check as part of email verification
* add feature flag
* fix tests
* try to fix dates on database integration tests
* PR feedback from claude
* remove claude local settings
* pr feedback
* format
* fix test
* create or alter
* PR feedback
* PR feedback
* Update src/Core/Constants.cs
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com >
* fix merge issues
* fix tests
---------
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com >
2025-11-20 11:25:50 +10:00
Shane Melton
55fb80b2fc
[PM-27662] Add revision date to policy response model ( #6602 )
2025-11-20 09:55:19 +10:00
Nik Gilmore
d81c61637e
[PM-24314] Remove feature flag pm-9111-extension-persist-add-edit-form ( #6561 )
2025-11-19 15:31:34 -08:00
Brant DeBow
3c874646e8
Upgrade ExtendedCache with support for named caches ( #6591 )
...
* Upgrade ExtendedCache with support for named caches
* Addressed Claude PR suggestions - defensive mux creation, defend empty cache name, added tests
* Addressed PR suggestions; Fixed issue where IDistributedCache was missing when using the shared route; Added more unit tests
* Revert to TryAdd, document expectation that AddDistributedCache is called first
2025-11-19 14:42:03 -05:00
renovate[bot]
4c543fa824
[deps]: Update github/codeql-action action to v4 ( #6500 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com >
2025-11-19 20:09:01 +01:00