Compare commits

...

858 Commits
0.1.0 ... 0.9.2

Author SHA1 Message Date
Leendert de Borst
ef291bffc1 Merge pull request #452 from lanedirt/451-task-runner-cannot-access-database
Task runner cannot access database
2024-12-04 18:55:42 +01:00
Leendert de Borst
94f6199e27 Update AppInfo.cs (#451) 2024-12-04 18:55:05 +01:00
Leendert de Borst
5ababf3bf3 Update docker-compose.yml (#451) 2024-12-04 18:54:23 +01:00
Leendert de Borst
b47e735e8f Merge pull request #450 from lanedirt/449-publish-new-task-runner-image-to-ghcrio
Publish task runner docker container image
2024-12-04 18:39:34 +01:00
Leendert de Borst
de17303085 Publish task runner docker container image (#449) 2024-12-04 18:39:15 +01:00
Leendert de Borst
635136d257 Merge pull request #448 from lanedirt/447-prepare-090-release
Update version to 0.9.0
2024-12-04 18:31:13 +01:00
Leendert de Borst
832e340b1b Update version to 0.9.0 (#447) 2024-12-04 18:30:48 +01:00
Leendert de Borst
4e0b6b5adf Merge pull request #444 from lanedirt/221-add-aliasvaulttaskservice-for-running-scheduled-background-tasks-such-as-log-cleanups
Add TaskRunner for running scheduled background tasks such as log cleanups
2024-12-04 18:28:26 +01:00
Leendert de Borst
18be105350 Merge pull request #446 from lanedirt/442-update-docker-composeyml-when-running-installsh-update
Always download latest docker compose files on install or update
2024-12-04 18:28:16 +01:00
Leendert de Borst
9bea01fbf8 Update install.sh to always download latest docker compose files on install (#442) 2024-12-04 18:18:28 +01:00
Leendert de Borst
a33fd08cb4 Add TaskRunner to docker compose stack (#221) 2024-12-04 17:57:46 +01:00
Leendert de Borst
25f5660f81 Refactor (#221) 2024-12-04 17:57:46 +01:00
Leendert de Borst
0923936f7c Add TaskRunner maintenance time tests (#221) 2024-12-04 17:57:46 +01:00
Leendert de Borst
3c0905d0b0 Add integration tests for TaskRunner (#221) 2024-12-04 17:57:46 +01:00
Leendert de Borst
97fd3beeaa Add E2E test for server settings admin page (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
3195ad86ce Add email cleanup tasks (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
d147639a83 Add task runner implementation (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
9e0716d32e Add using to db connections (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
3a05b1e5c3 Refactor admin to use shared server project (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
9628861186 Add AliasVault.Shared.Server project (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
2b541dc28d Make TaskRunner compile (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
e655dcedb0 Refactor service control in admin, add TaskRunner (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
9b8bbebb44 Add server settings page to admin (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
bbc99ebf16 Add AliasVault.TaskRunner boilerplate (#221) 2024-12-04 17:57:45 +01:00
Leendert de Borst
23690f4e9b Merge pull request #445 from lanedirt/441-move-custom-port-config-from-docker-composeyml-to-env
Move custom port settings to .env file
2024-12-04 17:57:04 +01:00
Leendert de Borst
6286034a9d Move custom ports to .env (#441) 2024-12-04 17:56:44 +01:00
Leendert de Borst
2ea684061e Merge pull request #440 from lanedirt/349-add-statistics-to-admin
Add statistics to admin
2024-12-04 10:53:23 +01:00
Leendert de Borst
973abc8917 Update sqlite connection string to include WAL mode directly (#349) 2024-12-04 10:00:49 +01:00
Leendert de Borst
65304b0f84 Refactor admin dashboard into separate components (#349) 2024-12-03 22:56:22 +01:00
Leendert de Borst
ca4dd89e89 Update AdminPlaywrightTest.cs (#349) 2024-12-02 17:10:15 +01:00
Leendert de Borst
fccf10dc82 Tweak UI of admin account settings (#349) 2024-12-02 17:08:09 +01:00
Leendert de Borst
b845245728 Show amount of emails received in user email claim page (#349) 2024-12-02 16:59:21 +01:00
Leendert de Borst
e46357d603 Add statistics to admin home dashboard page (#349) 2024-12-02 16:54:07 +01:00
Leendert de Borst
6568ed8059 Merge pull request #439 from lanedirt/438-prepare-083-release
Prepare 0.8.3 release
2024-12-02 14:43:15 +01:00
Leendert de Borst
236718c76e Update version to 0.8.3 (#438) 2024-12-02 14:42:54 +01:00
Leendert de Borst
17ef816fa3 Update install docs (#438) 2024-12-02 14:42:45 +01:00
Leendert de Borst
db33a0a1da Merge pull request #437 from lanedirt/436-make-miscrelease-articles-show-up-in-docs
Add gitignore for /docs to include misc/release articles
2024-12-02 14:36:39 +01:00
Leendert de Borst
7a97bbf716 Add gitignore for /docs to include misc/release articles (#436) 2024-12-02 14:36:20 +01:00
Leendert de Borst
0c4ab8c1b6 Merge pull request #435 from lanedirt/434-update-installsh-to-pull-correct-docker-image-version
Update install.sh to pull correct docker image version
2024-12-02 14:32:08 +01:00
Leendert de Borst
6ee19d57bf Merge pull request #433 from lanedirt/dependabot/nuget/main/Swashbuckle.AspNetCore-7.1.0
Bump Swashbuckle.AspNetCore from 7.0.0 to 7.1.0
2024-12-02 13:51:51 +01:00
Leendert de Borst
dcb92c8dad Add update-installer command to install.sh for CI/CD (#434) 2024-12-02 13:41:09 +01:00
Leendert de Borst
968d3cfcf1 Update install.sh to write version to docker-compose to ensure we pull and run the right containers (#434) 2024-12-02 13:32:19 +01:00
Leendert de Borst
8e9c12f6e7 Wait 15 seconds for containers to start during test (#434) 2024-12-02 13:30:15 +01:00
dependabot[bot]
3c8f32e67a Bump Swashbuckle.AspNetCore from 7.0.0 to 7.1.0
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 10:52:44 +00:00
Leendert de Borst
86d7ee3e9b Merge pull request #431 from lanedirt/430-prepare-082-hotfix-release
Update version to 0.8.2
2024-11-27 16:31:44 +01:00
Leendert de Borst
a39ed8c0a7 Update version to 0.8.2 (#430) 2024-11-27 16:31:28 +01:00
Leendert de Borst
e772e722b5 Merge pull request #429 from lanedirt/428-update-email-installation-documentation
Update email installation documentation
2024-11-27 13:22:11 +01:00
Leendert de Borst
b6bf431062 Only test favicon extraction for known stable website (#428) 2024-11-27 12:55:28 +01:00
Leendert de Borst
aa41cceff3 Update email installation documentation (#428) 2024-11-27 12:51:25 +01:00
Leendert de Borst
1baea180aa Merge pull request #427 from lanedirt/426-client-logs-out-unexpectedly-when-kept-open-in-background-tab 2024-11-26 20:32:12 +01:00
Leendert de Borst
0d8143c62e Fix refresh token expired check (#426) 2024-11-26 19:08:41 +01:00
Leendert de Borst
4ae84052e8 Refactor RecentEmails.razor (#426) 2024-11-26 19:03:03 +01:00
Leendert de Borst
c73c41ca06 Refactor RecentEmails component to only load emails when app is visible (#426) 2024-11-26 18:33:35 +01:00
Leendert de Borst
5b58418e57 Fix refresh token grace period check (#426) 2024-11-26 18:24:33 +01:00
Leendert de Borst
7c7f7549c5 Merge pull request #423 from lanedirt/422-add-email-server-documentation
Add email server documentation
2024-11-25 23:26:26 +01:00
Leendert de Borst
38203fd767 Merge pull request #425 from lanedirt/424-make-installsh-be-able-to-update-itself
Update install.sh with self-update support
2024-11-25 23:18:42 +01:00
Leendert de Borst
a7b8484a84 Set email server to disabled by default (#422) 2024-11-25 23:18:27 +01:00
Leendert de Borst
a091a94737 Update docker-compose-build.yml for better resilience (#422) 2024-11-25 23:07:43 +01:00
Leendert de Borst
2c299a82b8 Update install.sh with self-update support (#424) 2024-11-25 23:03:13 +01:00
Leendert de Borst
5ee710750e Merge pull request #421 from lanedirt/420-limit-max-username-length
Add max username length restriction of 40 chars
2024-11-25 22:49:58 +01:00
Leendert de Borst
ed5ea31ca8 Add email server docs (#422) 2024-11-25 22:49:38 +01:00
Leendert de Borst
ffdb427184 Add email server setup command (#422) 2024-11-25 22:49:24 +01:00
Leendert de Borst
4cef3efa1f Refactor all tests to use shorter username (#420) 2024-11-25 21:40:15 +01:00
Leendert de Borst
a5c8908c6b Add max username length restriction of 40 chars (#420) 2024-11-25 19:40:27 +01:00
Leendert de Borst
88c10b5a9c Merge pull request #419 from lanedirt/418-improve-docker-compose-build-test-workflow
Update workflow test to show error if HTTP check fails
2024-11-25 15:50:59 +01:00
Leendert de Borst
48d3d26be5 Merge pull request #416 from lanedirt/414-grep-env-no-such-file-or-directory-on-clean-install
Fix bug in install.sh
2024-11-25 15:41:43 +01:00
Leendert de Borst
5caa583240 Update workflow test to show error if HTTP check fails (#418) 2024-11-25 15:41:21 +01:00
Leendert de Borst
79f4749869 Add extra .env exist check to install.sh (#414) 2024-11-25 15:35:42 +01:00
Leendert de Borst
4de42e4a33 Merge pull request #417 from lanedirt/415-update-version-number-to-081
Prepare 0.8.1 version
2024-11-25 15:31:46 +01:00
Leendert de Borst
af9fba39f3 Update AppInfo.cs (#415) 2024-11-25 15:30:59 +01:00
Leendert de Borst
91b27c1bec Update install.sh (#414) 2024-11-25 15:29:22 +01:00
Leendert de Borst
0fb5327f04 Merge pull request #413 from lanedirt/412-add-update-option-to-install-script
Add update option to install script
2024-11-25 14:41:17 +01:00
Leendert de Borst
57f6b0961c Update docs (#412) 2024-11-25 14:40:38 +01:00
Leendert de Borst
c1d70fe504 Add support for installing specific version (#412) 2024-11-25 14:39:04 +01:00
Leendert de Borst
4c379802fc Update docker compose build workflow (#412) 2024-11-25 14:38:45 +01:00
dependabot[bot]
6a9a98b7bf Bump Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Tokens
Bumps [Microsoft.IdentityModel.JsonWebTokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) and [Microsoft.IdentityModel.Tokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet). These dependencies needed to be updated together.

Updates `Microsoft.IdentityModel.JsonWebTokens` from 8.2.0 to 8.2.1
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.2.0...8.2.1)

Updates `Microsoft.IdentityModel.Tokens` from 8.2.1 to 8.2.1
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.2.1...8.2.1)

---
updated-dependencies:
- dependency-name: Microsoft.IdentityModel.JsonWebTokens
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.IdentityModel.Tokens
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 14:27:22 +01:00
dependabot[bot]
d2705d0b92 Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.1 to 17.12.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.11.1...v17.12.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 14:27:09 +01:00
dependabot[bot]
fcd0397184 Bump Microsoft.Playwright.NUnit and NUnit
Bumps [Microsoft.Playwright.NUnit](https://github.com/microsoft/playwright-dotnet) and [NUnit](https://github.com/nunit/nunit). These dependencies needed to be updated together.

Updates `Microsoft.Playwright.NUnit` from 1.48.0 to 1.49.0
- [Release notes](https://github.com/microsoft/playwright-dotnet/releases)
- [Commits](https://github.com/microsoft/playwright-dotnet/compare/v1.48.0...v1.49.0)

Updates `NUnit` from 4.2.2 to 3.13.2
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/4.2.2...v3.13.2)

---
updated-dependencies:
- dependency-name: Microsoft.Playwright.NUnit
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: NUnit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 14:27:02 +01:00
Leendert de Borst
a8e35d5e1d Update install script with explicit update option (#412) 2024-11-25 14:26:25 +01:00
Leendert de Borst
cf459f748f Merge pull request #411 from lanedirt/407-reduce-unnecessary-warnings-in-logs
Fix various warnings in logs
2024-11-25 13:48:33 +01:00
Leendert de Borst
65a2bebd51 Update SQLite connection config (#407) 2024-11-25 13:34:28 +01:00
Leendert de Borst
22e29c6cf5 Move DataProtection to top of program.cs to prevent decryption errors (#407) 2024-11-25 13:34:13 +01:00
Leendert de Borst
6fd4f7d607 Log Smtp messages to information instead of warning (#407) 2024-11-25 11:30:10 +01:00
Leendert de Borst
dab4762e94 Always force recreate docker containers after install (#407) 2024-11-25 11:29:44 +01:00
Leendert de Borst
bb3d38f50e Consolidate docker build/publish (#407) 2024-11-25 11:29:28 +01:00
Leendert de Borst
c7f6375fbb Return bad request if no refresh token is provided (#407) 2024-11-22 23:01:36 +01:00
Leendert de Borst
197248a6ea Merge pull request #406 from lanedirt/323-customize-error-when-unhandled-error-occurs-in-webapp
Style blazor wasm exception message
2024-11-22 12:15:35 +01:00
Leendert de Borst
5de9a0b8d8 Style blazor wasm exception message (#323) 2024-11-22 10:48:43 +01:00
Leendert de Borst
8a99dbf705 Merge pull request #394 from lanedirt/359-back-button-should-not-be-visible-at-terms-and-conditions-step-during-user-create
Do not show back button on first step of user creation
2024-11-22 10:03:45 +01:00
Leendert de Borst
b6b3b88b1d Merge pull request #395 from lanedirt/358-do-not-show-expired-access-tokens-on-security-page-on-client
Only show non-expired refresh tokens on client
2024-11-22 10:03:39 +01:00
Leendert de Borst
0dc699ea54 Merge pull request #396 from lanedirt/371-tweak-client-body-and-footer-z-index
Fix body and footer overlap issue
2024-11-22 10:03:33 +01:00
Leendert de Borst
a228ccb904 Merge pull request #397 from lanedirt/363-client-logout-action-registers-as-failed-in-auth-log
Fix refresh token revoke bug
2024-11-22 10:03:28 +01:00
Leendert de Borst
398e4016dc Merge pull request #399 from lanedirt/398-only-use-installsh-for-testing-pull-deploy-in-github-actions
Download fresh install.sh to test pull deploy in GitHub Actions
2024-11-22 10:03:22 +01:00
Leendert de Borst
fd1e0c5d15 Merge pull request #404 from lanedirt/402-add-github-pages-documentation-website
Update README with new docs website
2024-11-22 01:21:27 +01:00
Leendert de Borst
e6ea0c51c8 Update README with new docs website (#402) 2024-11-22 01:21:11 +01:00
Leendert de Borst
38eef67207 Merge pull request #403 from lanedirt/402-add-github-pages-documentation-website
Update documentation
2024-11-22 00:41:03 +01:00
Leendert de Borst
7ce253e93d Update docs (#402) 2024-11-22 00:40:41 +01:00
Leendert de Borst
c519b80159 Merge pull request #401 from lanedirt/400-tweak-docker-compose-setup-to-not-use-static-network-name-to-prevent-conflicts
Remove static docker network name to prevent conflicts as its not needed
2024-11-21 22:37:16 +01:00
Leendert de Borst
e128bbf091 Remove static docker network name to prevent conflicts as its not needed (#400) 2024-11-21 22:36:15 +01:00
Leendert de Borst
04315b38ba Create CNAME 2024-11-21 20:41:12 +01:00
Leendert de Borst
0ee1b5e992 Download fresh install.sh to test pull deploy instead of checking out full repo (#398) 2024-11-21 19:53:04 +01:00
Leendert de Borst
b4b2dc3fe7 Fix refresh token revoke bug (#363) 2024-11-21 19:26:16 +01:00
Leendert de Borst
7ac9cdc9e7 Tweak body so it fully overlaps over absolutely positioned footer while scrolling (#371) 2024-11-21 18:14:14 +01:00
Leendert de Borst
9ba8bb183a Only show non-expired refresh tokens on client (#358) 2024-11-21 18:12:42 +01:00
Leendert de Borst
7ef8a12fb2 Do not show back button on first step of user creation (#359) 2024-11-21 17:33:19 +01:00
Leendert de Borst
ea7aba4ff4 Merge pull request #393 from lanedirt/391-download-letsencrypt-docker-compose-yml-file-for-quick-install
Add static docker compose network name
2024-11-20 17:52:37 +01:00
Leendert de Borst
aac9694d5d Add static network name (#391) 2024-11-20 17:52:11 +01:00
Leendert de Borst
06d7666265 Merge pull request #392 from lanedirt/391-download-letsencrypt-docker-compose-yml-file-for-quick-install
Update install.sh
2024-11-20 17:23:56 +01:00
Leendert de Borst
ca17759727 Update install.sh (#391) 2024-11-20 17:23:36 +01:00
Leendert de Borst
48b96b4151 Merge pull request #390 from lanedirt/389-prepare-070-release
Update documentation for 0.7.0 release
2024-11-20 17:01:20 +01:00
Leendert de Borst
e9064643a6 Add busy timeout to SQLite connections to prevent errors (#389) 2024-11-20 16:52:20 +01:00
Leendert de Borst
667592411f Update for 0.7.0 release (#389) 2024-11-20 16:51:48 +01:00
Leendert de Borst
dfdf4981cb Add LetsEncrypt ssl certificate generation to docker setup (#388)
* Add LetsEncrypt scaffolding to docker compose setup (#367)

* Update install.sh (#367)

* Add certificate request logic (#367)

* Update domain validation regex (#367)

* Update install.sh (#367)

* Update install.sh (#367)

* Update nginx.conf for LetsEncrypt validation (#367)

* Update nginx.conf (#367)

* Add certbot volume mapping to nginx (#367)

* Update nginx conf to template to use env vars (#367)

* Update nginx certbot root (#367)

* Update install.sh (#367)

* Update nginx ssl letsencrypt paths (#367)

* Update install.sh (#367)

* Use conditional nginx.conf include instead of vars (#367)

* Update install.sh so it doesn't restart docker stack but expects it to be running already (#367)

* Update permissions (#367)

* Update install.sh (#367)

* Refactor and cleanup (#367)
2024-11-20 16:25:35 +01:00
Leendert de Borst
0f377bdec6 Merge pull request #384 from lanedirt/383-add-try-catch-around-favicon-extractor-to-prevent-hostname-could-not-be-parsed-exceptions
Log failed favicon extraction as information instead of warning
2024-11-20 10:13:30 +01:00
Leendert de Borst
ba17474e62 Merge pull request #385 from lanedirt/370-from-is-always-empty-in-email-popup-in-client
Fix email from value which was empty
2024-11-20 10:13:22 +01:00
Leendert de Borst
c09ad99739 Merge pull request #387 from lanedirt/386-admin-menu-absolute-urls-do-not-work-when-ran-from-subdirectory
Update absolute urls to relative URLs in admin
2024-11-20 10:13:16 +01:00
Leendert de Borst
799efe1772 Update absolute urls to relative URLs in admin (#386) 2024-11-19 21:51:37 +01:00
Leendert de Borst
1d79400df5 Fix email from value which didn't show (#370) 2024-11-19 21:42:50 +01:00
Leendert de Borst
cc4a2e087f Update FaviconController to log failed favicon extraction as information instead of warning (#383) 2024-11-19 21:30:57 +01:00
Leendert de Borst
64a76f3b9f Merge pull request #381 from lanedirt/372-installsh-reset-password-throws-sed-notice-error
Fix bug in reset-password regex check
2024-11-18 20:28:28 +01:00
Leendert de Borst
7c1aaab291 Fix bug in reset-password regex check (#372) 2024-11-18 20:21:55 +01:00
Leendert de Borst
63556d163a Merge pull request #380 from lanedirt/374-publish-docker-images-on-release
Add -y flag to install.sh for uninstall action
2024-11-18 20:13:13 +01:00
Leendert de Borst
c49c0e4ad5 Update install.sh (#374) 2024-11-18 19:51:05 +01:00
Leendert de Borst
3f2121f272 Merge pull request #379 from lanedirt/374-publish-docker-images-on-release
Publish docker images on release
2024-11-18 19:42:55 +01:00
Leendert de Borst
ebdcf778be Update README.md (#374) 2024-11-18 19:00:10 +01:00
Leendert de Borst
fb669df9cf Update docs (#374) 2024-11-18 17:18:28 +01:00
Leendert de Borst
cedf7d0733 Update README.md (#374) 2024-11-18 17:13:17 +01:00
Leendert de Borst
00db83f478 Update github actions to use new install.sh (#374) 2024-11-18 16:39:09 +01:00
Leendert de Borst
03b7f92a44 Fix admin absolute redirect issues (#374) 2024-11-18 16:32:20 +01:00
Leendert de Borst
d542a4273d Fix DataProtection issues (#374) 2024-11-18 16:32:06 +01:00
Leendert de Borst
dcb27ca543 Update install.sh to generate/download external dependencies (#374) 2024-11-18 16:31:11 +01:00
Leendert de Borst
78635b8ba1 Combine all CLI actions to a single file (#374) 2024-11-18 13:06:10 +01:00
Leendert de Borst
e18d31ee9b Fix 404 dark mode text (#374) 2024-11-18 12:56:31 +01:00
Leendert de Borst
0db5fb64a8 Run install and build in verbose mode in workflows (#374) 2024-11-18 11:33:41 +01:00
Leendert de Borst
e36d28eb99 Update README (#374) 2024-11-18 11:33:18 +01:00
Leendert de Borst
dd331f75c9 Fix regex (#374) 2024-11-18 11:15:10 +01:00
dependabot[bot]
aa11697ee2 Bump NUnit.Analyzers from 4.3.0 to 4.4.0
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md)
- [Commits](https://github.com/nunit/nunit.analyzers/compare/4.3.0...4.4.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 11:05:37 +01:00
dependabot[bot]
fdd698dd0a Bump Microsoft.IdentityModel.Tokens from 8.2.0 to 8.2.1
Bumps [Microsoft.IdentityModel.Tokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.2.0...8.2.1)

---
updated-dependencies:
- dependency-name: Microsoft.IdentityModel.Tokens
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 11:05:29 +01:00
Leendert de Borst
c8df588401 Fix admin password check (#374) 2024-11-18 11:05:07 +01:00
dependabot[bot]
a8373338c2 Bump the npm_and_yarn group across 2 directories with 1 update
Bumps the npm_and_yarn group with 1 update in the /src/AliasVault.Admin directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).
Bumps the npm_and_yarn group with 1 update in the /src/AliasVault.Client directory: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).


Updates `cross-spawn` from 7.0.3 to 7.0.5
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.5)

Updates `cross-spawn` from 7.0.3 to 7.0.5
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.5)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 10:47:17 +01:00
Leendert de Borst
15abd1f51b Update workflows (#374) 2024-11-18 10:46:22 +01:00
Leendert de Borst
71407cc86d Publish InstallCli image used for resetting admin password (#374) 2024-11-18 10:46:00 +01:00
Leendert de Borst
85a3fed127 Create docker-compose-pull.yml (#374) 2024-11-18 10:44:05 +01:00
Leendert de Borst
6b8f0d6cdf Add separate install/build.sh files (#374) 2024-11-18 10:43:50 +01:00
Leendert de Borst
43441831d4 Convert repository name to lowercase (#374) 2024-11-18 09:41:39 +01:00
Leendert de Borst
319cff8fe1 Merge pull request #375 from lanedirt/374-publish-docker-images-on-release
Publish docker images on release
2024-11-18 09:38:47 +01:00
Leendert de Borst
5904204465 Add docker image publish workflow (#374) 2024-11-18 09:33:52 +01:00
Leendert de Borst
6c8cc92a67 Merge pull request #365 from lanedirt/364-update-docker-setup-to-run-https-by-default
Update docker setup to run https by default
2024-11-15 18:56:34 +01:00
Leendert de Borst
693860acef Update Dockerfile (#364) 2024-11-15 18:48:50 +01:00
Leendert de Borst
f7626ec15b Update ApiLoggingTests to set correct base url (#364) 2024-11-15 18:40:09 +01:00
Leendert de Borst
03c6bbc81f Update README.md (#364) 2024-11-15 17:27:57 +01:00
Leendert de Borst
bbe7ef1b2b Update install.sh (#364) 2024-11-15 17:25:59 +01:00
Leendert de Borst
027b95da15 Fix dataprotection certificate errors (#364) 2024-11-15 17:20:57 +01:00
Leendert de Borst
e9c33a808f Make apps work when run in local debug mode (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
2545e1204f Update API and admin apps to be able to run under subdirectories (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
970d334b59 Make all apps available through single container and HTTPS port (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
50a18dc461 Add -k flag to ignore self-signed certs, refactor (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
0dcc77eb0d Update docker-compose-build.yml (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
cd84592be1 Fix AliasVault.InstallCli dockerfile names (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
df6de32a4a Update docker setup to run under HTTPS by default (#364) 2024-11-15 16:58:20 +01:00
Leendert de Borst
3d24772caa Merge pull request #366 from lanedirt/362-tweak-dataprotection-certificate-tweaks-so-its-not-dependent-on-local-machine-keystore
Change DataProtection certificate generation so its not dependent on local machine keystore
2024-11-15 16:56:00 +01:00
Leendert de Borst
1a106e59fc Update CertificateGenerator.cs (#362) 2024-11-13 21:20:02 +01:00
Leendert de Borst
290460c095 Merge pull request #361 from lanedirt/360-upgrade-all-projects-to-net-9
Upgrade all projects to .NET 9
2024-11-13 17:55:55 +01:00
Leendert de Borst
17802dc216 Fix dataprotection, refactor (#360) 2024-11-13 17:24:03 +01:00
Leendert de Borst
0de52a396a Add .NET 9 to sonarcloud workflow explicitly (#360) 2024-11-13 17:06:15 +01:00
Leendert de Borst
64705e582d Update E2E github workflow to use new .NET 9 (#360) 2024-11-13 16:50:37 +01:00
Leendert de Borst
b09cdcec1e Fix E2E tests by switching to new KestrelTestServer (#360) 2024-11-13 16:44:44 +01:00
Leendert de Borst
87bb34f3ba Update dotnet version in github workflows (#360) 2024-11-13 14:27:50 +01:00
Leendert de Borst
5b53208a3e Update .gitignore to also ignore sqlite bak files (#360) 2024-11-13 14:25:57 +01:00
Leendert de Borst
7a687bba43 Update dockerfiles to use .NET9 (#360) 2024-11-13 14:16:16 +01:00
Leendert de Borst
aafac49bcb Disable DataProtection temporary (#360) 2024-11-13 12:48:11 +01:00
Leendert de Borst
201af7b88a Upgrade all projects to .NET 9 (#360) 2024-11-13 11:47:05 +01:00
Leendert de Borst
43ddd394c2 Merge pull request #357 from lanedirt/356-prepare-060-release
Update AppInfo.cs with new release version
2024-11-11 18:47:12 +01:00
Leendert de Borst
f248f9cd26 Update AppInfo.cs (#356) 2024-11-11 18:46:48 +01:00
Leendert de Borst
24f6168a7e Merge pull request #355 from lanedirt/350-remove-first-step-from-create-wizard
Remove first step from create wizard
2024-11-11 18:45:11 +01:00
Leendert de Borst
46b0d7b24b Merge pull request #354 from lanedirt/353-add-support-email-option-to-env-to-show-in-client
Add support email to .env to show in client application
2024-11-11 18:30:32 +01:00
Leendert de Borst
37bc557278 Update tests (#350) 2024-11-11 18:30:16 +01:00
Leendert de Borst
29d7b6dfdb Remove WelcomeStep from new user registration flow (#350) 2024-11-11 18:11:18 +01:00
Leendert de Borst
ec84792034 Add support email to .env to show in client application (#353) 2024-11-11 18:05:59 +01:00
Leendert de Borst
250ab24654 Merge pull request #344 from lanedirt/341-improve-documentation-to-explain-architecture
Improve documentation
2024-11-11 14:56:35 +01:00
Leendert de Borst
9b8770bb20 Update README with architecture docs (#341) 2024-11-11 14:50:42 +01:00
Leendert de Borst
192d35d2dd Update security architecture diagram (#341) 2024-11-11 11:43:49 +01:00
Leendert de Borst
9d2f7a15dd Update ENCRYPTION.md (#341) 2024-11-11 11:43:36 +01:00
dependabot[bot]
95ca7ab014 Bump Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Tokens
Bumps [Microsoft.IdentityModel.JsonWebTokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) and [Microsoft.IdentityModel.Tokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet). These dependencies needed to be updated together.

Updates `Microsoft.IdentityModel.JsonWebTokens` from 8.1.2 to 8.2.0
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.1.2...8.2.0)

Updates `Microsoft.IdentityModel.Tokens` from 8.2.0 to 8.2.0
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.2.0...8.2.0)

---
updated-dependencies:
- dependency-name: Microsoft.IdentityModel.JsonWebTokens
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Microsoft.IdentityModel.Tokens
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 11:30:49 +01:00
dependabot[bot]
d29a33a95e Bump NUglify from 1.21.9 to 1.21.10
Bumps [NUglify](https://github.com/trullock/NUglify) from 1.21.9 to 1.21.10.
- [Release notes](https://github.com/trullock/NUglify/releases)
- [Changelog](https://github.com/trullock/NUglify/blob/master/changelog.md)
- [Commits](https://github.com/trullock/NUglify/compare/v1.21.9...v1.21.10)

---
updated-dependencies:
- dependency-name: NUglify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 11:30:41 +01:00
Leendert de Borst
a2486b67d7 Update security architecture diagram (#341) 2024-11-10 22:12:42 +01:00
Leendert de Borst
abcd887e49 Update security architecture diagram (#341) 2024-11-10 14:21:08 +01:00
Leendert de Borst
f400387630 Update security architecture diagram (#341) 2024-11-09 17:52:34 +01:00
Leendert de Borst
3613a0cae1 Merge pull request #348 from lanedirt/347-reverting-vault-to-previous-version-does-not-work-correctly-when-password-has-been-changed
Get latest vault by revision number instead of updated at timestamp
2024-11-09 15:29:51 +01:00
Leendert de Borst
13e16d1a51 Update admin tests with new home to users redirect (#347) 2024-11-08 17:44:46 +01:00
Leendert de Borst
a2eb12d6b9 Refactor (#347) 2024-11-08 17:41:54 +01:00
Leendert de Borst
dbb0a33179 Get latest vault by revision number instead of updated at timestamp (#347) 2024-11-08 17:31:32 +01:00
Leendert de Borst
32bb4502d6 Add security architecture documentation and diagrams (#341) 2024-11-08 17:27:48 +01:00
Leendert de Borst
f12642873d Update ENCRYPTION.md (#341) 2024-11-08 17:27:08 +01:00
Leendert de Borst
e9b9d6c363 Merge pull request #346 from lanedirt/345-deleting-user-with-emails-throws-error
Deleting user that has email (claims) throws error
2024-11-07 19:06:50 +01:00
Leendert de Borst
a92f074099 Preserve email claims when user is deleted (#345) 2024-11-07 18:51:28 +01:00
Leendert de Borst
5fbaed57cc Update ENCRYPTION.md (#341) 2024-11-06 12:16:34 +01:00
Leendert de Borst
9e24442d84 Add encryption information (#341) 2024-11-06 12:12:17 +01:00
dependabot[bot]
7737a586ab Bump Microsoft.AspNetCore.Components.WebAssembly from 8.0.8 to 8.0.10
Bumps [Microsoft.AspNetCore.Components.WebAssembly](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 13:06:57 +01:00
dependabot[bot]
ce97c26b05 Bump Microsoft.IdentityModel.Tokens from 8.1.2 to 8.2.0
Bumps [Microsoft.IdentityModel.Tokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) from 8.1.2 to 8.2.0.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.1.2...8.2.0)

---
updated-dependencies:
- dependency-name: Microsoft.IdentityModel.Tokens
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 12:42:54 +01:00
dependabot[bot]
fa52643d48 Bump Microsoft.AspNetCore.Components.WebAssembly.Authentication
Bumps [Microsoft.AspNetCore.Components.WebAssembly.Authentication](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Authentication
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 12:42:45 +01:00
Leendert de Borst
be3ea8e198 Bump Microsoft.Extensions.Configuration.Json in all projects (#300) 2024-11-04 09:39:08 +01:00
dependabot[bot]
574dcb3048 Bump Microsoft.Extensions.Hosting and Microsoft.Extensions.Configuration.Json
Bumps [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) and [Microsoft.Extensions.Configuration.Json](https://github.com/dotnet/runtime). These dependencies needed to be updated together.

Updates `Microsoft.Extensions.Hosting` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 09:39:08 +01:00
Leendert de Borst
bb20f16b0f Merge pull request #337 from lanedirt/336-include-app-version-and-show-it-in-client-and-admin-project-footer
Add static app version and show in footer
2024-11-03 17:22:19 +01:00
Leendert de Borst
8284241be6 Add static app version and show in footer (#336) 2024-11-03 15:14:41 +01:00
dependabot[bot]
a0fb68a68c Bump Microsoft.AspNetCore.DataProtection.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.DataProtection.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.DataProtection.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-03 13:44:01 +01:00
dependabot[bot]
2e1497795d Bump Microsoft.AspNetCore.Components.Web and Microsoft.AspNetCore.Authorization
Bumps [Microsoft.AspNetCore.Components.Web](https://github.com/dotnet/aspnetcore) and [Microsoft.AspNetCore.Authorization](https://github.com/dotnet/aspnetcore). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.Components.Web` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

Updates `Microsoft.AspNetCore.Authorization` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.Web
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Authorization
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:49:49 +01:00
dependabot[bot]
ddeab13cc3 Bump HtmlAgilityPack from 1.11.67 to 1.11.70
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.67 to 1.11.70.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](https://github.com/zzzprojects/html-agility-pack/commits/v1.11.70)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:49:29 +01:00
dependabot[bot]
8841a51376 Bump Microsoft.AspNetCore.Identity.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Identity.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Identity.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:49:04 +01:00
dependabot[bot]
e8e380bd22 Bump Serilog from 4.0.2 to 4.1.0
Bumps [Serilog](https://github.com/serilog/serilog) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/serilog/serilog/releases)
- [Commits](https://github.com/serilog/serilog/compare/v4.0.2...v4.1.0)

---
updated-dependencies:
- dependency-name: Serilog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:49:00 +01:00
dependabot[bot]
ce5ad91ef5 Bump Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Bumps [Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:48:54 +01:00
dependabot[bot]
b253772152 Bump Microsoft.EntityFrameworkCore.Sqlite from 8.0.8 to 8.0.10
Bumps [Microsoft.EntityFrameworkCore.Sqlite](https://github.com/dotnet/efcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:48:49 +01:00
dependabot[bot]
b0cb9e9b8d Bump Microsoft.EntityFrameworkCore.Design from 8.0.8 to 8.0.10
Bumps [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Design
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:48:43 +01:00
dependabot[bot]
085706eae5 Bump Microsoft.AspNetCore.Components.WebAssembly.DevServer
Bumps [Microsoft.AspNetCore.Components.WebAssembly.DevServer](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.DevServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-02 13:48:37 +01:00
Leendert de Borst
f57dcfa894 Update README.md 2024-11-02 13:18:49 +01:00
dependabot[bot]
1b9ff1754a Bump Serilog.Settings.Configuration from 8.0.2 to 8.0.4
Bumps [Serilog.Settings.Configuration](https://github.com/serilog/serilog-settings-configuration) from 8.0.2 to 8.0.4.
- [Release notes](https://github.com/serilog/serilog-settings-configuration/releases)
- [Changelog](https://github.com/serilog/serilog-settings-configuration/blob/dev/CHANGES.md)
- [Commits](https://github.com/serilog/serilog-settings-configuration/compare/v8.0.2...v8.0.4)

---
updated-dependencies:
- dependency-name: Serilog.Settings.Configuration
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:17:01 +01:00
dependabot[bot]
86a49de886 Bump Microsoft.AspNetCore.Authentication.JwtBearer from 8.0.8 to 8.0.10
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:16:54 +01:00
dependabot[bot]
f6473b263b Bump Microsoft.Extensions.Http from 8.0.0 to 8.0.1
Bumps [Microsoft.Extensions.Http](https://github.com/dotnet/runtime) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Http
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:16:48 +01:00
dependabot[bot]
eae0aaf2a5 Bump Swashbuckle.AspNetCore from 6.8.1 to 6.9.0
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.8.1 to 6.9.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.1...v6.9.0)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:16:42 +01:00
dependabot[bot]
e086ce3684 Bump Microsoft.Playwright.NUnit from 1.47.0 to 1.48.0
Bumps [Microsoft.Playwright.NUnit](https://github.com/microsoft/playwright-dotnet) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/microsoft/playwright-dotnet/releases)
- [Commits](https://github.com/microsoft/playwright-dotnet/compare/v1.47.0...v1.48.0)

---
updated-dependencies:
- dependency-name: Microsoft.Playwright.NUnit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:16:35 +01:00
dependabot[bot]
3401dcf402 Bump Microsoft.AspNetCore.Components.WebAssembly.Server
Bumps [Microsoft.AspNetCore.Components.WebAssembly.Server](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Server
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:16:30 +01:00
dependabot[bot]
30ec77ef56 Bump Microsoft.EntityFrameworkCore from 8.0.8 to 8.0.10
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 19:16:21 +01:00
Leendert de Borst
5e6e05cfd3 Update dependabot.yml 2024-11-01 19:16:06 +01:00
Leendert de Borst
d06187879b Merge pull request #328 from lanedirt/326-add-beta-indication
Add beta indication
2024-10-31 00:05:46 +01:00
Leendert de Borst
d5e6b7a5c7 Update text (#326) 2024-10-30 23:25:06 +01:00
Leendert de Borst
609006d199 Add beta flag to logo (#326) 2024-10-29 20:44:53 +01:00
Leendert de Borst
1eb6f46f3c Merge pull request #327 from lanedirt/177-replace-welcome-screen-with-step-by-step-wizard-interface-for-creating-first-credential
Replace welcome screen with simple tutorial
2024-10-28 17:11:19 +01:00
Leendert de Borst
ad03613316 Tweak admin layout for mobile (#177) 2024-10-28 16:52:32 +01:00
Leendert de Borst
d71194b3b8 Add E2E tests for welcome screen tutorial (#177) 2024-10-28 16:48:00 +01:00
Leendert de Borst
7b43acec09 Refactor (#177) 2024-10-28 16:13:16 +01:00
Leendert de Borst
8e24686578 Update tests (#177) 2024-10-28 15:13:10 +01:00
Leendert de Borst
2d91fdfaed Tweak layout for mobile (#177) 2024-10-28 14:59:54 +01:00
Leendert de Borst
ce93c01039 Show credential placeholder on empty page (#177) 2024-10-28 14:11:07 +01:00
Leendert de Borst
0631daf61b Add TutorialDone settings flag (#177) 2024-10-28 13:36:55 +01:00
Leendert de Borst
50c3c64db6 Delete transitionEffect.js (#177) 2024-10-28 13:36:36 +01:00
Leendert de Borst
5b22a41aa6 Rework welcome screen (#177) 2024-10-28 13:02:06 +01:00
Leendert de Borst
e2be93ec85 Change welcome page to tutorial steps (#177) 2024-10-27 20:45:30 +01:00
Leendert de Borst
bc6c7a10dc Update light mode background color for improved constrast (#177) 2024-10-27 20:28:29 +01:00
Leendert de Borst
bca0d3ee6b Merge pull request #325 from lanedirt/314-improve-ux-for-slow-clients
Show page refresh button if loading takes too long
2024-10-26 18:02:04 +02:00
Leendert de Borst
c860899f8e Show refresh button after 30 sec (#314) 2024-10-25 23:32:20 +02:00
Leendert de Borst
fba8c171b6 Show page refresh button if loading takes too long (#314) 2024-10-25 18:08:40 +02:00
Leendert de Borst
557deee352 Merge pull request #324 from lanedirt/320-add-client-styled-error-messages
Improve error message for unlock page if API cannot be reached
2024-10-24 20:44:31 +02:00
Leendert de Borst
9ec1d83de9 Update Unlock.razor (#320) 2024-10-24 20:02:35 +02:00
Leendert de Borst
6760a9c89a Merge pull request #322 from lanedirt/317-refactor-client-appsettingsjson-to-always-use-config-object
Expose all config settings through config object
2024-10-23 22:01:49 +02:00
Leendert de Borst
86ccccb95d Improve error message for unlock page if API cannot be reached (#320) 2024-10-23 22:01:22 +02:00
Leendert de Borst
8cca485930 Merge pull request #321 from lanedirt/312-login-flow-optimizations
Login flow optimizations
2024-10-23 21:53:13 +02:00
Leendert de Borst
353631bcda Expose all config settings through config object (#317) 2024-10-23 21:48:04 +02:00
Leendert de Borst
2f79eabd1b Add hidden submit button to allow enter to submit the form if it has multiple elements (#312) 2024-10-23 21:44:56 +02:00
Leendert de Borst
0ef1a9b118 Add form wrapper around setup fields to intercept enter (#312) 2024-10-22 23:10:45 +02:00
Leendert de Borst
7a374d9730 Improve webauthn unlock flow (#312) 2024-10-22 22:52:11 +02:00
Leendert de Borst
faa578b5b5 Update unlock.razor webauthn flow (#312) 2024-10-22 21:42:36 +02:00
Leendert de Borst
d59757c8fb Merge pull request #318 from lanedirt/315-fix-account-creation-mobile-interface-for-safari-browser
Fix account creation mobile interface for safari browser
2024-10-22 21:27:33 +02:00
Leendert de Borst
88e5142049 Add scroll to top when switching between steps (#315) 2024-10-22 21:18:26 +02:00
Leendert de Borst
f6c9000bec Fix uninstall script (#315) 2024-10-21 23:37:08 +02:00
Leendert de Borst
d3b3281ca4 Update README.md 2024-10-21 23:10:50 +02:00
Leendert de Borst
55178006c8 Fix setup theme for mobile devices (#315) 2024-10-21 19:50:50 +02:00
Leendert de Borst
92b65bad20 Add margin to loading screens in client (#315) 2024-10-21 12:22:54 +02:00
Leendert de Borst
443721dc75 Update css rebuild task names to make client and admin unique (#315) 2024-10-21 12:19:33 +02:00
Leendert de Borst
997335205f Update launchSettings to bind to all network interfaces to allow mobile phone debugging on same LAN (#315) 2024-10-21 11:56:23 +02:00
Leendert de Borst
2d4c865709 Merge pull request #316 from lanedirt/311-uploading-multiple-attachments-doesnt-work
Uploading multiple attachments doesnt work
2024-10-20 15:47:52 +02:00
Leendert de Borst
5f4290add1 Update credential update logic to save all new attachments (#311) 2024-10-19 12:08:42 +02:00
Leendert de Borst
f553f4e596 Add attachment tests to reproduce issue (#311) 2024-10-19 11:59:13 +02:00
Leendert de Borst
acdeb8bc28 Allow for uploading multiple attachments (#311) 2024-10-19 11:59:03 +02:00
Leendert de Borst
030b90eb76 Update style for mobile responsive setup (#315) 2024-10-19 11:37:59 +02:00
Leendert de Borst
022a32358d Merge pull request #313 from lanedirt/308-optimize-credential-edit-page-for-mobile
Optimize credential AddEdit page for mobile
2024-10-18 21:50:24 +02:00
Leendert de Borst
75f71dcc43 Optimize credential AddEdit page for mobile (#308) 2024-10-18 21:41:59 +02:00
Leendert de Borst
dae7e1d065 Merge pull request #310 from lanedirt/306-improve-ux-for-login--create-account-flow
Improve ux for login and create account flow
2024-10-18 18:04:22 +02:00
Leendert de Borst
d0b680c20c Add E2E test for new user setup account creation flow (#306) 2024-10-18 17:56:40 +02:00
Leendert de Borst
95bc774d2d Refactor (#306) 2024-10-18 17:39:32 +02:00
Leendert de Borst
11c680471f Fix release mode conditional variable name (#306) 2024-10-18 17:36:07 +02:00
Leendert de Borst
c5ccde298f Fix existing tests (#306) 2024-10-18 17:01:09 +02:00
Leendert de Borst
c969cd738f Fix note bugs (#306) 2024-10-18 16:04:34 +02:00
Leendert de Borst
be62fc9127 Replaced png logo with SVG (#306) 2024-10-18 15:33:36 +02:00
Leendert de Borst
da5754d720 Cleanup setup components (#306) 2024-10-18 15:05:52 +02:00
Leendert de Borst
658d03bc02 Improve flow with separate creating step, minor tweaks (#306) 2024-10-18 14:28:50 +02:00
Leendert de Borst
862f013bda Add terms and conditions step (#306) 2024-10-18 12:53:07 +02:00
Leendert de Borst
c0d250a35c Update back and continue button position (#306) 2024-10-18 12:01:44 +02:00
Leendert de Borst
26580f72ca Tweak account create layout for small and large screens (#306) 2024-10-18 11:46:14 +02:00
Leendert de Borst
3ff418945c Tweak start page (#306) 2024-10-17 22:56:15 +02:00
Leendert de Borst
c729a06e25 Add focus on input, tweak password notices (#306) 2024-10-17 22:44:03 +02:00
Leendert de Borst
b62a13ce76 Improve username step validation (#306) 2024-10-16 18:01:34 +02:00
Leendert de Borst
9dca684e4c Add password step and working account creation (#306) 2024-10-15 22:21:16 +02:00
Leendert de Borst
5d7433674c Add username validation logic (#306) 2024-10-15 21:27:32 +02:00
Leendert de Borst
458a336526 Add user create tutorial scaffolding (#306) 2024-10-14 17:05:38 +02:00
Leendert de Borst
9e16e30ad0 Add start screen, replace logo with text and img cleanup (#306) 2024-10-14 13:42:40 +02:00
Leendert de Borst
de0cce7b64 Merge pull request #296 from lanedirt/287-saving-existing-credential-with-one-or-more-attachments-fails
Saving existing credential with one or more attachments fails
2024-10-14 09:58:30 +02:00
dependabot[bot]
7b315dc87a Bump MailKit from 4.7.1.1 to 4.8.0
Bumps [MailKit](https://github.com/jstedfast/MailKit) from 4.7.1.1 to 4.8.0.
- [Changelog](https://github.com/jstedfast/MailKit/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/jstedfast/MailKit/compare/4.7.1.1...4.8.0)

---
updated-dependencies:
- dependency-name: MailKit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-14 09:56:48 +02:00
Leendert de Borst
dcf04f040d Add attachment delete test and fix bug with IsDeleted flag (#287) 2024-10-13 19:04:55 +02:00
Leendert de Borst
6d795c6370 Added attachment test that reproduces issue (#287) 2024-10-13 16:32:06 +02:00
Leendert de Borst
827f677af8 Add attachment upload test scaffolding (#287) 2024-10-12 12:10:56 +02:00
dependabot[bot]
be96d45275 Bump Serilog from 4.0.1 to 4.0.2
Bumps [Serilog](https://github.com/serilog/serilog) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/serilog/serilog/releases)
- [Commits](https://github.com/serilog/serilog/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: Serilog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:29:33 +02:00
dependabot[bot]
7ef6e3ad8f Bump MimeKit from 4.7.1 to 4.8.0
Bumps [MimeKit](https://github.com/jstedfast/MimeKit) from 4.7.1 to 4.8.0.
- [Changelog](https://github.com/jstedfast/MimeKit/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/jstedfast/MimeKit/compare/4.7.1...4.8.0)

---
updated-dependencies:
- dependency-name: MimeKit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:29:26 +02:00
dependabot[bot]
df83bdd329 Bump Swashbuckle.AspNetCore from 6.8.0 to 6.8.1
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.8.0 to 6.8.1.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.8.0...v6.8.1)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:29:19 +02:00
dependabot[bot]
9d1341e02a Bump HtmlAgilityPack from 1.11.66 to 1.11.67
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.66 to 1.11.67.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](https://github.com/zzzprojects/html-agility-pack/commits)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:29:14 +02:00
dependabot[bot]
1f249af022 Bump the npm_and_yarn group across 2 directories with 1 update
Bumps the npm_and_yarn group with 1 update in the /src/AliasVault.Admin directory: [micromatch](https://github.com/micromatch/micromatch).
Bumps the npm_and_yarn group with 1 update in the /src/AliasVault.Client directory: [micromatch](https://github.com/micromatch/micromatch).


Updates `micromatch` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

Updates `micromatch` from 4.0.7 to 4.0.8
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: micromatch
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:29:05 +02:00
dependabot[bot]
5f9f607290 Bump Microsoft.EntityFrameworkCore.Tools, Microsoft.EntityFrameworkCore.Design and Microsoft.EntityFrameworkCore
Bumps [Microsoft.EntityFrameworkCore.Tools](https://github.com/dotnet/efcore), [Microsoft.EntityFrameworkCore.Design](https://github.com/dotnet/efcore) and [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore). These dependencies needed to be updated together.

Updates `Microsoft.EntityFrameworkCore.Tools` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

Updates `Microsoft.EntityFrameworkCore.Design` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

Updates `Microsoft.EntityFrameworkCore` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Tools
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.EntityFrameworkCore.Design
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:28:54 +02:00
dependabot[bot]
16baa7ad74 Bump Microsoft.AspNetCore.DataProtection from 8.0.8 to 8.0.10
Bumps [Microsoft.AspNetCore.DataProtection](https://github.com/dotnet/aspnetcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.DataProtection
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:28:46 +02:00
dependabot[bot]
c4197e6cd8 Bump Microsoft.EntityFrameworkCore.Proxies and Microsoft.EntityFrameworkCore
Bumps [Microsoft.EntityFrameworkCore.Proxies](https://github.com/dotnet/efcore) and [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore). These dependencies needed to be updated together.

Updates `Microsoft.EntityFrameworkCore.Proxies` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

Updates `Microsoft.EntityFrameworkCore` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Proxies
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:28:40 +02:00
dependabot[bot]
8aa2ec925a Bump Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Tokens
Bumps [Microsoft.IdentityModel.JsonWebTokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) and [Microsoft.IdentityModel.Tokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet). These dependencies needed to be updated together.

Updates `Microsoft.IdentityModel.JsonWebTokens` from 8.1.0 to 8.1.2
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.1.0...8.1.2)

Updates `Microsoft.IdentityModel.Tokens` from 8.1.0 to 8.1.2
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.1.0...8.1.2)

---
updated-dependencies:
- dependency-name: Microsoft.IdentityModel.JsonWebTokens
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.IdentityModel.Tokens
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:28:32 +02:00
dependabot[bot]
b3ac7064ef Bump Microsoft.AspNetCore.Mvc.Testing, Microsoft.Extensions.Hosting and Microsoft.Extensions.Configuration.Json
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore), [Microsoft.Extensions.Hosting](https://github.com/dotnet/runtime) and [Microsoft.Extensions.Configuration.Json](https://github.com/dotnet/runtime). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.Mvc.Testing` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.8...v8.0.10)

Updates `Microsoft.Extensions.Hosting` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

Updates `Microsoft.Extensions.Configuration.Json` from 8.0.0 to 8.0.1
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:28:25 +02:00
dependabot[bot]
91f554187e Bump Microsoft.EntityFrameworkCore.SqlServer and Microsoft.EntityFrameworkCore
Bumps [Microsoft.EntityFrameworkCore.SqlServer](https://github.com/dotnet/efcore) and [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore). These dependencies needed to be updated together.

Updates `Microsoft.EntityFrameworkCore.SqlServer` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

Updates `Microsoft.EntityFrameworkCore` from 8.0.8 to 8.0.10
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.SqlServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 16:28:17 +02:00
Leendert de Borst
e161478614 Merge pull request #288 from lanedirt/175-make-all-ui-components-compatible-with-dark-mode
Make all UI components compatible with dark mode
2024-10-11 16:27:05 +02:00
Leendert de Borst
92e2de76ba Refactor (#175) 2024-10-11 16:17:04 +02:00
Leendert de Borst
5644f89db0 Updated admin for dark mode (#175) 2024-10-11 14:57:44 +02:00
Leendert de Borst
8ea8382c7d Fix dark mode init, update loading screen (#175) 2024-10-11 11:41:03 +02:00
Leendert de Borst
869c3c86be Update dark mode body color (#175) 2024-10-10 18:11:48 +02:00
Leendert de Borst
cd865d70c6 Update alerts and sync messages for dark mode (#175) 2024-10-09 22:37:44 +02:00
Leendert de Borst
5bb2e3d5ce Set dark mode during page init (#175) 2024-10-08 22:35:48 +02:00
Leendert de Borst
e80c351ee6 Update client for dark theme compatibility (#175) 2024-10-08 21:50:41 +02:00
Leendert de Borst
359fa1752f Merge pull request #286 from lanedirt/220-refactor-blazor-components-for-reuse
Update ClientPlaywrightTest.cs (#220)
2024-10-07 21:07:48 +02:00
Leendert de Borst
259de77a12 Update ClientPlaywrightTest.cs (#220) 2024-10-07 21:07:27 +02:00
Leendert de Borst
f15ef80839 Merge pull request #284 from lanedirt/220-refactor-blazor-components-for-reuse
Refactor blazor components to reduce duplicated code
2024-10-07 20:58:54 +02:00
Leendert de Borst
62d2249f40 Refactor (#220) 2024-10-07 20:50:20 +02:00
Leendert de Borst
14845e77e0 Update tests (#220) 2024-10-07 20:29:29 +02:00
Leendert de Borst
fa664ea918 Update all admin tables to use new SortableTable component (#220) 2024-10-07 20:03:23 +02:00
Leendert de Borst
bbb168d764 Refactor table to common SortableTable component (#220) 2024-10-07 17:47:07 +02:00
Leendert de Borst
d5ba3a63e4 Refactor misc buttons in client app to shared button components (#220) 2024-10-07 16:29:59 +02:00
Leendert de Borst
afc605afd0 Update LinkButton (#220) 2024-10-07 16:11:42 +02:00
Leendert de Borst
cdbe6c6e8c Refactor admin account settings links/buttons (#220) 2024-10-07 16:03:11 +02:00
Leendert de Borst
b184273456 Refactor page headers in admin to shared component (#220) 2024-10-07 15:18:08 +02:00
Leendert de Borst
fb7de645e5 Adjust namespace (#220) 2024-10-07 14:39:08 +02:00
Leendert de Borst
35f35b8bbe Refactor page headers in client to shared component (#220) 2024-10-07 14:34:53 +02:00
Leendert de Borst
4c5e312f11 Update welcome.razor margins (#220) 2024-10-07 13:11:11 +02:00
Leendert de Borst
708f6d7b9b Merge pull request #283 from lanedirt/280-optimize-mobile-responsive-version
Mobile response tweaks
2024-10-07 12:43:12 +02:00
Leendert de Borst
5b72e181e6 Merge pull request #282 from lanedirt/276-show-specific-warning-if-wasm-is-not-supported-by-client
Add WASM error detection and show application warning if WASM is not supported by client
2024-10-07 12:42:58 +02:00
Leendert de Borst
4441c543cc Refactor if/else (#276) 2024-10-07 12:29:51 +02:00
Leendert de Borst
933f8650ce Mobile response tweaks (#280) 2024-10-07 12:27:28 +02:00
Leendert de Borst
26c910bf26 Add WASM error detection and show application warning (#276) 2024-10-07 11:45:40 +02:00
Leendert de Borst
037919a548 Update README.md 2024-10-06 15:11:03 +02:00
Leendert de Borst
771527c891 Update README.md 2024-10-06 15:09:13 +02:00
Leendert de Borst
13c8709c19 Merge pull request #278 from lanedirt/275-make-2fa-input-field-number-input
Make 2fa input field a number
2024-10-05 19:53:28 +02:00
Leendert de Borst
043538054e Make 2FA input field a number (#275) 2024-10-05 19:45:46 +02:00
Leendert de Borst
d366dc3b0c Fix note regex bug (#275) 2024-10-05 19:16:45 +02:00
Leendert de Borst
35f1332138 Merge pull request #273 from lanedirt/271-add-newline-support-to-notes-field
Update note widget to support newlines and anchor tags
2024-10-05 15:20:31 +02:00
Leendert de Borst
ac040d90a8 Update note widget to support newlines and anchor tags (#271) 2024-10-04 20:02:06 +02:00
Leendert de Borst
0e50276308 Merge pull request #274 from lanedirt/269-add-support-for-persisting-encryption-key
Revert JsInteropService to have init in properties
2024-10-04 20:01:01 +02:00
Leendert de Borst
1c0041326b Revert JsInteropService to have init in properties (#269) 2024-10-04 20:00:29 +02:00
Leendert de Borst
8d13b1b0e3 Merge pull request #272 from lanedirt/269-add-support-for-persisting-encryption-key
Make webauthn implementation secure
2024-10-04 18:23:25 +02:00
Leendert de Borst
a267d94b3e Fix flaky tests (#269) 2024-10-04 18:11:24 +02:00
Leendert de Borst
4ccbba5b4b Refactor (#269) 2024-10-04 17:23:25 +02:00
Leendert de Borst
daf25fcc12 Updated instructions (#269) 2024-10-04 14:33:41 +02:00
Leendert de Borst
fc8d365c49 Improve webauthn error reporting, add support for Yubikey (#269) 2024-10-04 14:11:48 +02:00
Leendert de Borst
e7e66a6285 Rewrite webauthn implementation to use PRF (#269) 2024-10-04 12:31:37 +02:00
Leendert de Borst
ad26450d8b Refactor webauthn call structure (#269) 2024-10-03 22:17:32 +02:00
Leendert de Borst
fcf0fb8605 Merge pull request #270 from lanedirt/269-add-support-for-persisting-encryption-key
Add support for persisting encryption key
2024-10-03 00:53:41 +02:00
Leendert de Borst
da2efa7e8a Add rough working webauthn version (#269) 2024-10-03 00:53:06 +02:00
Leendert de Borst
4018d38148 Add webauthn scaffolding (#269) 2024-10-02 20:23:21 +02:00
Leendert de Borst
6affa67561 Update Login.razor (#265) 2024-09-30 11:49:27 +02:00
dependabot[bot]
0a543cec42 Bump Microsoft.IdentityModel.JsonWebTokens and Microsoft.IdentityModel.Tokens
Bumps [Microsoft.IdentityModel.JsonWebTokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet) and [Microsoft.IdentityModel.Tokens](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet). These dependencies needed to be updated together.

Updates `Microsoft.IdentityModel.JsonWebTokens` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.0.1...8.1.0)

Updates `Microsoft.IdentityModel.Tokens` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases)
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/8.0.1...8.1.0)

---
updated-dependencies:
- dependency-name: Microsoft.IdentityModel.JsonWebTokens
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Microsoft.IdentityModel.Tokens
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 07:49:16 +02:00
Leendert de Borst
179faac0a0 Update README.md 2024-09-24 23:10:39 +02:00
Leendert de Borst
4cfacc5012 Merge pull request #259 from lanedirt/233-general-refactoring-and-cleanup
General refactoring, update folder structure, code cleanup
2024-09-24 23:06:11 +02:00
Leendert de Borst
a407a23101 Implement ILogger for all client side console logging calls (#233) 2024-09-24 23:05:25 +02:00
Leendert de Borst
df33d4abd4 Replace console.writeline with ILogger implementation for dbservice (#233) 2024-09-24 18:38:34 +02:00
dependabot[bot]
28a5939f62 Bump Swashbuckle.AspNetCore from 6.7.3 to 6.8.0
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.7.3 to 6.8.0.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.7.3...v6.8.0)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 08:16:45 +02:00
Leendert de Borst
467b25104e Update dotnet-e2e-client-tests.yml (#233) 2024-09-23 18:50:10 +02:00
Leendert de Borst
8ee3cd0396 Merge main into current branch (#233) 2024-09-23 18:37:54 +02:00
Leendert de Borst
d471a61fbf Restructure tests into their own shards to speed up parallel execution (#233) 2024-09-23 18:35:48 +02:00
dependabot[bot]
df0413038e Bump HtmlAgilityPack from 1.11.65 to 1.11.66
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.65 to 1.11.66.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](https://github.com/zzzprojects/html-agility-pack/compare/v1.11.65...v1.11.66)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 18:07:04 +02:00
Leendert de Borst
9180d600a6 Separate e2e tests to run in separate actions to speed up execution (#233) 2024-09-23 18:06:43 +02:00
Leendert de Borst
8bea3d9336 Refactor (#233) 2024-09-22 22:08:59 +02:00
Leendert de Borst
1f88d5678b Refactor E2E registration part (#233) 2024-09-22 21:35:46 +02:00
Leendert de Borst
061e72210f Update null! usage to required or default empty value (#233) 2024-09-21 22:19:01 +02:00
Leendert de Borst
ef8fa091b9 Update LoginBase.cs (#233) 2024-09-20 18:35:40 +02:00
Leendert de Borst
21e8171355 Refactor (#233) 2024-09-20 18:07:26 +02:00
Leendert de Borst
5509be5281 Update Dockerfile (#233) 2024-09-20 17:03:10 +02:00
Leendert de Borst
6c7645ea3d Enable treat warning as error for release (#233) 2024-09-20 17:02:51 +02:00
Leendert de Borst
4bd3b5cb29 Refactor project folder structure (#233) 2024-09-20 16:19:06 +02:00
Leendert de Borst
2e08de3546 Move shared projects (#233) 2024-09-20 15:17:38 +02:00
Leendert de Borst
956338f61f Refactor generator projects (#233) 2024-09-20 14:56:14 +02:00
Leendert de Borst
9f87861f88 Add default service URL check to update (#233) 2024-09-20 11:44:27 +02:00
Leendert de Borst
db6357a845 Tweak lock/unlock flow (#233) 2024-09-19 22:21:23 +02:00
Leendert de Borst
adc82278b2 Merge pull request #258 from lanedirt/257-move-user-menu-items-to-mobile-menu-for-mobile-screens 2024-09-19 08:49:48 +02:00
Leendert de Borst
22945f6066 Tweak top menu, add dblock functionality (#257) 2024-09-19 00:14:00 +02:00
Leendert de Borst
9646552e46 Combine user menu to mobile menu (#267) 2024-09-18 23:27:26 +02:00
Leendert de Borst
2ffc6c1f52 Update timeout from 15sec to 20sec to reduce errors in GitHub Actions runs (#254) 2024-09-18 00:12:26 +02:00
Leendert de Borst
9338384649 Set remember me checkbox to enabled by default (#254) 2024-09-18 00:12:26 +02:00
Leendert de Borst
b6cfc03b01 Add revision retention rule to keep last 10 revisions (#254) 2024-09-18 00:12:26 +02:00
Leendert de Borst
997bd8ce44 Add revision number to admin and default migration (#254) 2024-09-18 00:12:26 +02:00
Leendert de Borst
e8b0544735 Merge pull request #252 from lanedirt/186-implement-vault-synchronize-support
Implement vault synchronize/merge support
2024-09-17 22:57:43 +02:00
Leendert de Borst
f1ff5c1d54 Update AttachmentUploader.razor (#186) 2024-09-17 22:56:54 +02:00
Leendert de Borst
90471c362f Refactor (#186) 2024-09-17 22:23:50 +02:00
Leendert de Borst
201f521d60 Add soft delete and cleanup mechanism for merge (#186) 2024-09-17 22:13:12 +02:00
Leendert de Borst
cb25be8962 Add support for overriding Argon2Id settings in client for improved E2E test speed (#186) 2024-09-17 16:57:02 +02:00
Leendert de Borst
a1291b1951 Add E2E test for merge failed situation (#186) 2024-09-17 15:46:21 +02:00
Leendert de Borst
eed66e3c48 Fix db upgrade test (#186) 2024-09-17 14:47:07 +02:00
Leendert de Borst
9544aab2ce Update E2E timeout (#186) 2024-09-17 10:21:21 +02:00
Leendert de Borst
809507d9c3 Mutate UpdatedAt during credential save for all inner objects (#186) 2024-09-17 02:16:53 +02:00
Leendert de Borst
b3e88f9d99 Fix E2E test bug caused by unlock page redirect check (#186) 2024-09-17 02:13:45 +02:00
Leendert de Borst
eda6ad0e44 Add todos (#186) 2024-09-17 01:47:00 +02:00
Leendert de Borst
86eacb0ad8 Add second merge test (#186) 2024-09-17 00:57:37 +02:00
Leendert de Borst
06830baf3d Refactor merge strategy: require client merge before save (#186) 2024-09-17 00:05:15 +02:00
Leendert de Borst
e82faeba40 Add working merge functionality (#186) 2024-09-16 21:09:21 +02:00
Leendert de Borst
f2cf7b123d Add vault merge API endpoint and client side scaffolding (#186) 2024-09-16 20:26:20 +02:00
Leendert de Borst
e499fa9ace Add merge required detection to webapi vault load (#186) 2024-09-16 18:12:11 +02:00
Leendert de Borst
d6e73251d8 Check remember me by default on login (#186) 2024-09-16 16:28:20 +02:00
Leendert de Borst
7ee2984459 Add db sync test (#186) 2024-09-16 16:16:08 +02:00
Leendert de Borst
5b89f163de Add revision number vault retention policy and tests (#186) 2024-09-16 14:11:17 +02:00
Leendert de Borst
291b441d3f Add revision number to vault table (#186) 2024-09-16 13:04:46 +02:00
Leendert de Borst
89751633f1 Add sync support to client database (#186) 2024-09-16 13:04:25 +02:00
Leendert de Borst
50464886f3 Fix delay in navigating to admin log pages (#250) 2024-09-15 16:44:47 +02:00
Leendert de Borst
9d0fc082c0 Refactor (#192) 2024-09-14 21:22:23 +02:00
Leendert de Borst
c85bf5cebd Optimize refresh token logic, add IP address and integrate remember me option (#244) 2024-09-14 21:22:23 +02:00
Leendert de Borst
4f49f343c9 Update release.yml 2024-09-14 21:13:36 +02:00
Leendert de Borst
226b5bfaff Update admin mobile menu content (#244) 2024-09-13 21:09:29 +02:00
dependabot[bot]
73013306d6 Bump Microsoft.Playwright.NUnit from 1.46.0 to 1.47.0
Bumps [Microsoft.Playwright.NUnit](https://github.com/microsoft/playwright-dotnet) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/microsoft/playwright-dotnet/releases)
- [Commits](https://github.com/microsoft/playwright-dotnet/compare/v1.46.0...v1.47.0)

---
updated-dependencies:
- dependency-name: Microsoft.Playwright.NUnit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 16:49:59 +02:00
Leendert de Borst
0b7c641e32 Fix mobile menu open/close (#244) 2024-09-13 16:49:41 +02:00
Leendert de Borst
b7ab70e3de Add PWA basic structure (#202) 2024-09-12 23:05:32 +02:00
Leendert de Borst
f09c27eefa Refactor encryption.cs (#46) 2024-09-11 22:56:36 +02:00
Leendert de Borst
0f4482487b Refactor vault retention manager logic (#46) 2024-09-11 22:56:36 +02:00
Leendert de Borst
edc537316f Change default argon2id settings, persist settings to vault table (#46) 2024-09-11 22:56:36 +02:00
Leendert de Borst
4667ff64e1 Merge pull request #241 from lanedirt/240-improve-playwright-stability
Update Playwright stability
2024-09-10 23:57:57 +02:00
Leendert de Borst
d3d6dc56b8 Remove semaphore as timer with cancellation token prevents race conditions (#240) 2024-09-10 23:48:06 +02:00
Leendert de Borst
b5525f137a Update instructions (#240) 2024-09-10 23:47:21 +02:00
Leendert de Borst
5c619d9553 Fix race condition in E2E tests caused by worker status razor component (#240) 2024-09-10 23:35:10 +02:00
Leendert de Borst
693d419bd9 Update github action workflows (#240) 2024-09-10 22:12:24 +02:00
Leendert de Borst
9bccaba360 Add docs for running github actions locally to aid in debugging (#240) 2024-09-10 20:52:24 +02:00
Leendert de Borst
c4e82205b6 Update Playwright stability (#240) 2024-09-07 01:00:04 +02:00
Leendert de Borst
ef9c9e690f Set parallelism to max 1 for all tests (#125) 2024-09-07 00:14:12 +02:00
Leendert de Borst
a4cc75a3aa Set admin test parallelism to 2 (#125) 2024-09-07 00:14:12 +02:00
Leendert de Borst
633cef3450 Add tweaks to tests for improved stability (#125) 2024-09-07 00:14:12 +02:00
Leendert de Borst
c7af544e25 Refactor logout in tests (#125) 2024-09-07 00:14:12 +02:00
Leendert de Borst
43ae4625dd Improve text and tests (#239) 2024-09-07 00:14:12 +02:00
Leendert de Borst
a53deeeebf Add forgot password screen to client (#125) 2024-09-07 00:14:12 +02:00
Leendert de Borst
f84f063155 Add additional vault metadata (#168) 2024-09-06 14:59:03 +02:00
Leendert de Borst
7f411db4dd Merge pull request #238 from lanedirt/232-add-loading-animation-to-logout-screen
Add loading icon to logout to improve UX
2024-09-06 14:56:33 +02:00
Leendert de Borst
f5ae307fba Add loading icon to logout to improve UX (#232) 2024-09-06 14:56:06 +02:00
Leendert de Borst
f0989aa2d7 Merge pull request #234 from lanedirt/dependabot/nuget/main/Microsoft.NET.Test.Sdk-17.11.1
Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.11.1
2024-09-06 14:01:53 +02:00
dependabot[bot]
d8ea3fe73c Bump Microsoft.NET.Test.Sdk from 17.11.0 to 17.11.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.11.0 to 17.11.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.11.0...v17.11.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 01:34:00 +00:00
Leendert de Borst
a1c1e86059 Merge pull request #231 from lanedirt/230-auth-log-shows-wrong-ip-address-for-success-entries
Fix bug in auth log IP address
2024-09-02 23:38:43 +02:00
Leendert de Borst
c86a1f84db Fix bug in auth log IP address (#230) 2024-09-02 23:27:42 +02:00
Leendert de Borst
92b5df1cc8 Merge pull request #229 from lanedirt/200-implement-client-password-change-feature
Implement client password change feature
2024-09-02 23:20:37 +02:00
Leendert de Borst
3e7826607f Update DbUpgradeTest after unlock page change (#200) 2024-09-02 23:08:36 +02:00
Leendert de Borst
06f09cdbf1 Add local encryption key validation to unlock page (#200) 2024-09-02 22:51:36 +02:00
Leendert de Borst
81ec09a2ed Fix todos (#200) 2024-09-02 22:24:19 +02:00
Leendert de Borst
7977cd7394 Add admin restore user vault to previous version (#200) 2024-09-02 21:29:18 +02:00
Leendert de Borst
71ad07fad0 Add password change E2E test (#200) 2024-09-02 21:04:33 +02:00
Leendert de Borst
77de70ba82 Update tests (#200) 2024-09-02 20:41:40 +02:00
Leendert de Borst
b97b2163d5 Remove SRP columns from AliasVaultUsers table (#200) 2024-09-02 19:35:57 +02:00
Leendert de Borst
b2aed24d8a Refactored change password to change pass and upload new vault in one atomic webapi operation (#200) 2024-09-02 19:21:18 +02:00
Leendert de Borst
6e6f24417a Move SRP salt and verifier to vaults table (#200) 2024-09-02 17:55:29 +02:00
Leendert de Borst
725efcfa91 Merge pull request #226 from lanedirt/dependabot/nuget/main/NUnit-4.2.2
Bump NUnit from 3.14.0 to 4.2.2
2024-09-02 17:45:34 +02:00
Leendert de Borst
71c326bc55 Add password change functionality (#200) 2024-09-02 14:47:11 +02:00
Leendert de Borst
4b1feca11d Set misc versions back to their correct versions after merge conflict (#226) 2024-09-02 10:48:24 +02:00
Leendert de Borst
02f9571b8b Update NUnit version to 4.2.2. for all test projects (#226) 2024-09-02 10:44:25 +02:00
Leendert de Borst
9e3b08c50d Merge pull request #227 from lanedirt/dependabot/nuget/main/Microsoft.AspNetCore.Components.WebAssembly.DevServer-8.0.8
Bump Microsoft.AspNetCore.Components.WebAssembly.DevServer from 8.0.7 to 8.0.8
2024-09-02 10:34:35 +02:00
Leendert de Borst
84ac36b1e2 Merge pull request #225 from lanedirt/dependabot/nuget/main/Microsoft.AspNetCore.Mvc.Testing-8.0.8
Bump Microsoft.AspNetCore.Mvc.Testing from 8.0.7 to 8.0.8
2024-09-02 10:34:26 +02:00
Leendert de Borst
690547bbf2 Merge pull request #224 from lanedirt/dependabot/nuget/main/Microsoft.Playwright.NUnit-1.46.0
Bump Microsoft.Playwright.NUnit from 1.45.1 to 1.46.0
2024-09-02 10:34:21 +02:00
Leendert de Borst
8d00ee496f Merge pull request #223 from lanedirt/dependabot/nuget/main/Microsoft.EntityFrameworkCore-8.0.8
Bump Microsoft.EntityFrameworkCore from 8.0.7 to 8.0.8
2024-09-02 10:34:14 +02:00
dependabot[bot]
aea8cbf405 Bump Microsoft.AspNetCore.Components.WebAssembly.DevServer
Bumps [Microsoft.AspNetCore.Components.WebAssembly.DevServer](https://github.com/dotnet/aspnetcore) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.DevServer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 01:44:38 +00:00
dependabot[bot]
0d3a2032a2 Bump NUnit from 3.14.0 to 4.2.2
Bumps [NUnit](https://github.com/nunit/nunit) from 3.14.0 to 4.2.2.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.14.0...4.2.2)

---
updated-dependencies:
- dependency-name: NUnit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 01:44:08 +00:00
dependabot[bot]
d619976b10 Bump Microsoft.AspNetCore.Mvc.Testing from 8.0.7 to 8.0.8
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 01:43:25 +00:00
dependabot[bot]
72034391fb Bump Microsoft.Playwright.NUnit from 1.45.1 to 1.46.0
Bumps [Microsoft.Playwright.NUnit](https://github.com/microsoft/playwright-dotnet) from 1.45.1 to 1.46.0.
- [Release notes](https://github.com/microsoft/playwright-dotnet/releases)
- [Commits](https://github.com/microsoft/playwright-dotnet/compare/v1.45.1...v1.46.0)

---
updated-dependencies:
- dependency-name: Microsoft.Playwright.NUnit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 01:42:45 +00:00
dependabot[bot]
5cda059a91 Bump Microsoft.EntityFrameworkCore from 8.0.7 to 8.0.8
Bumps [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 01:42:04 +00:00
Leendert de Borst
3109135a17 Merge pull request #222 from lanedirt/180-add-log-truncate-option-to-admin-project 2024-09-01 19:58:09 +02:00
Leendert de Borst
eca61933bf Add log truncate buttons to admin (#180) 2024-09-01 17:31:53 +02:00
Leendert de Borst
df72068e5c Merge pull request #213 from lanedirt/dependabot/nuget/main/Microsoft.NET.Test.Sdk-17.11.0
Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.11.0
2024-09-01 15:54:20 +02:00
Leendert de Borst
f093958833 Update Microsoft.NET.Test.Sdk to latest version for all test projects (#213) 2024-09-01 15:47:13 +02:00
Leendert de Borst
d98ac5e61d Merge pull request #219 from lanedirt/dependabot/nuget/main/multi-6114d871cd
Bump Microsoft.AspNetCore.Components.WebAssembly and Microsoft.AspNetCore.Components.Web
2024-09-01 15:46:17 +02:00
Leendert de Borst
7a730ac944 Merge pull request #208 from lanedirt/dependabot/nuget/main/NUnit.Analyzers-4.3.0
Bump NUnit.Analyzers from 3.9.0 to 4.3.0
2024-09-01 15:46:09 +02:00
Leendert de Borst
a99e370b1c Merge pull request #218 from lanedirt/217-ignore-empty-fields-during-encryptiondecryption
Prevent error when attempting to encrypt/decrypt empty string (#217)
2024-09-01 15:42:01 +02:00
dependabot[bot]
94ad6e9ea0 Bump Microsoft.AspNetCore.Components.WebAssembly and Microsoft.AspNetCore.Components.Web
Bumps [Microsoft.AspNetCore.Components.WebAssembly](https://github.com/dotnet/aspnetcore) and [Microsoft.AspNetCore.Components.Web](https://github.com/dotnet/aspnetcore). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.Components.WebAssembly` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

Updates `Microsoft.AspNetCore.Components.Web` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Components.Web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:33:12 +00:00
Leendert de Borst
eaec5447f5 Update NUnitAnalyzers in test projects (#208) 2024-09-01 15:33:01 +02:00
Leendert de Borst
c3aee4df8f Merge pull request #211 from lanedirt/dependabot/nuget/main/Swashbuckle.AspNetCore-6.7.3
Bump Swashbuckle.AspNetCore from 6.7.1 to 6.7.3
2024-09-01 15:30:55 +02:00
Leendert de Borst
27b0820906 Merge pull request #210 from lanedirt/dependabot/nuget/main/coverlet.collector-6.0.2
Bump coverlet.collector from 6.0.0 to 6.0.2
2024-09-01 15:30:47 +02:00
Leendert de Borst
1330e78169 Merge pull request #215 from lanedirt/dependabot/nuget/main/multi-7a460b1692
Bump Microsoft.EntityFrameworkCore.Sqlite and Microsoft.EntityFrameworkCore
2024-09-01 15:29:46 +02:00
Leendert de Borst
739c54d821 Merge pull request #214 from lanedirt/dependabot/nuget/main/multi-d0f7e4fcac
Bump Microsoft.AspNetCore.Components.WebAssembly.Authentication, Microsoft.AspNetCore.Authorization and Microsoft.AspNetCore.Components.Web
2024-09-01 15:29:38 +02:00
Leendert de Borst
0e8e5bf2ad Merge pull request #212 from lanedirt/dependabot/nuget/main/Microsoft.AspNetCore.Components.WebAssembly.Server-8.0.8
Bump Microsoft.AspNetCore.Components.WebAssembly.Server from 8.0.7 to 8.0.8
2024-09-01 15:29:25 +02:00
Leendert de Borst
f235e72f01 Merge pull request #207 from lanedirt/dependabot/nuget/main/HtmlAgilityPack-1.11.65
Bump HtmlAgilityPack from 1.11.61 to 1.11.65
2024-09-01 15:28:55 +02:00
Leendert de Borst
9b250bf83f Prevent error when attempting to encrypt/decrypt empty string (#217) 2024-09-01 15:20:49 +02:00
dependabot[bot]
138ffcb7a6 Bump Microsoft.EntityFrameworkCore.Sqlite and Microsoft.EntityFrameworkCore
Bumps [Microsoft.EntityFrameworkCore.Sqlite](https://github.com/dotnet/efcore) and [Microsoft.EntityFrameworkCore](https://github.com/dotnet/efcore). These dependencies needed to be updated together.

Updates `Microsoft.EntityFrameworkCore.Sqlite` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8)

Updates `Microsoft.EntityFrameworkCore` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.Sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.EntityFrameworkCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:04:53 +00:00
dependabot[bot]
7da152a412 Bump Microsoft.AspNetCore.Components.WebAssembly.Authentication, Microsoft.AspNetCore.Authorization and Microsoft.AspNetCore.Components.Web
Bumps [Microsoft.AspNetCore.Components.WebAssembly.Authentication](https://github.com/dotnet/aspnetcore), [Microsoft.AspNetCore.Authorization](https://github.com/dotnet/aspnetcore) and [Microsoft.AspNetCore.Components.Web](https://github.com/dotnet/aspnetcore). These dependencies needed to be updated together.

Updates `Microsoft.AspNetCore.Components.WebAssembly.Authentication` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

Updates `Microsoft.AspNetCore.Authorization` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

Updates `Microsoft.AspNetCore.Components.Web` from 8.0.7 to 8.0.8
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Authentication
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Authorization
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.AspNetCore.Components.Web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:04:32 +00:00
dependabot[bot]
ec4e2d2c80 Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.11.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.11.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:04:07 +00:00
dependabot[bot]
984d8512e9 Bump Microsoft.AspNetCore.Components.WebAssembly.Server
Bumps [Microsoft.AspNetCore.Components.WebAssembly.Server](https://github.com/dotnet/aspnetcore) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Components.WebAssembly.Server
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:03:23 +00:00
dependabot[bot]
e2e0b81564 Bump Swashbuckle.AspNetCore from 6.7.1 to 6.7.3
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore) from 6.7.1 to 6.7.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases)
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.7.1...v6.7.3)

---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:03:11 +00:00
dependabot[bot]
770ee60402 Bump coverlet.collector from 6.0.0 to 6.0.2
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.0...v6.0.2)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:02:45 +00:00
dependabot[bot]
2aa7d1ce60 Bump NUnit.Analyzers from 3.9.0 to 4.3.0
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 3.9.0 to 4.3.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md)
- [Commits](https://github.com/nunit/nunit.analyzers/compare/3.9.0...4.3.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:01:34 +00:00
dependabot[bot]
578dd9da87 Bump HtmlAgilityPack from 1.11.61 to 1.11.65
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.61 to 1.11.65.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](https://github.com/zzzprojects/html-agility-pack/compare/v1.11.61...v1.11.65)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 13:00:51 +00:00
Leendert de Borst
b129a75255 Merge pull request #206 from lanedirt/203-optimize-github-actions-with-retry-to-prevent-false-negatives
Optimize GitHub actions for stability (#203)
2024-09-01 14:58:45 +02:00
Leendert de Borst
7ec2594d7f Create dependabot.yml (#203) 2024-09-01 14:38:51 +02:00
Leendert de Borst
e1f729f2ed Add retry to GitHub actions, refactor (#203) 2024-09-01 14:38:43 +02:00
Leendert de Borst
e53d1931c5 Merge pull request #204 from lanedirt/185-check-gzipbrotli-compression-for-client-app
Add gzip compression for client app
2024-09-01 14:04:17 +02:00
Leendert de Borst
4373e6fa62 Separate cryptography project to server and client to reduce client WASM size (#185) 2024-09-01 13:52:53 +02:00
Leendert de Borst
5ecdf926b6 Add gzip compression to client nginx (#185) 2024-09-01 13:52:10 +02:00
Leendert de Borst
e47b109f9d Merge pull request #198 from lanedirt/188-add-email-anchor-tags-translation-to-open-in-new-tabs-instead-of-iframe
Fix email anchor tag target=blank conversion
2024-09-01 12:58:10 +02:00
Leendert de Borst
be244b2c68 Refactor (#188) 2024-09-01 12:46:26 +02:00
Leendert de Borst
155a3ccd0b Merge pull request #201 from lanedirt/199-add-auth-log-entry-for-registration-which-also-includes-sign-in-action
Add user registration log entry and include auth log E2E tests
2024-08-31 21:07:10 +02:00
Leendert de Borst
5a16495864 Add user registration log entry and include auth log E2E tests (#199) 2024-08-31 20:50:57 +02:00
Leendert de Borst
b0c74d3ce2 Merge branch 'main' into 188-add-email-anchor-tags-translation-to-open-in-new-tabs-instead-of-iframe 2024-08-31 19:18:59 +02:00
Leendert de Borst
46360e2f4a Merge pull request #197 from lanedirt/171-add-email-delete-option-in-client
Add email delete option in client
2024-08-31 19:18:18 +02:00
Leendert de Borst
f2378f8e7f Merge pull request #195 from lanedirt/184-first-time-loading-animation-does-not-wait-for-app-to-load-correctly
Fix client app loading screen delay
2024-08-31 19:12:58 +02:00
Leendert de Borst
ca6aa40850 Update EmailModal.razor (#171) 2024-08-31 19:09:07 +02:00
Leendert de Borst
b015e4a9d6 Move anchor tag conversion from api to client (#188) 2024-08-31 19:07:53 +02:00
Leendert de Borst
8dc4bcb06f Update E2E test for email delete button (#171) 2024-08-31 17:51:45 +02:00
Leendert de Borst
466c181ad1 Add email delete option to email modal (#184) 2024-08-31 17:26:12 +02:00
Leendert de Borst
cd4dc918cb Update index.template.html loading screen delay (#184) 2024-08-31 16:24:03 +02:00
Leendert de Borst
18cea13ddd Merge pull request #194 from lanedirt/80-add-vault-auth-attempt-logging-bugfix
Update admin menu links
2024-08-31 15:44:12 +02:00
Leendert de Borst
ab5795101f Update admin menu links (#80) 2024-08-31 15:43:55 +02:00
Leendert de Borst
600d7bcbda Merge pull request #193 from lanedirt/80-add-vault-auth-attempt-logging-bugfix
Update admin logs path as /logs folder doesn't work correctly due to …
2024-08-31 15:30:59 +02:00
Leendert de Borst
25b908e311 Update admin logs path as /logs folder doesn't work correctly due to .gitignore (#80) 2024-08-31 15:30:06 +02:00
Leendert de Borst
0269d584aa Merge pull request #191 from lanedirt/80-add-vault-auth-attempt-logging-and-auto-lockout-to-combat-brute-force 2024-08-30 22:38:57 +02:00
Leendert de Borst
072e63e98f Refactor and cleanup (#80) 2024-08-30 22:04:28 +02:00
Leendert de Borst
95949508ba Add E2E tests for account lockout for password, 2fa and recovery (#80) 2024-08-30 21:11:40 +02:00
Leendert de Borst
1564df342a Add admin e2e tests for password and 2fa lockout (#80) 2024-08-30 19:57:05 +02:00
Leendert de Borst
1b2a6029bb Update tests (#80) 2024-08-30 17:47:14 +02:00
Leendert de Borst
c131372e37 Update E2E test config (#80) 2024-08-30 17:38:59 +02:00
Leendert de Borst
b830d90ba4 Update Lockout.razor (#80) 2024-08-30 17:21:14 +02:00
Leendert de Borst
e6feafcb87 Add recent auth logs to client (#80) 2024-08-30 17:19:28 +02:00
Leendert de Borst
52e55e44f2 Add database service builder abstraction (#80) 2024-08-30 16:35:56 +02:00
Leendert de Borst
1945b15e2e Add active sessions component to client (#80) 2024-08-30 16:28:22 +02:00
Leendert de Borst
4f8ab5da28 Add new user sessions endpoint to webapi (#80) 2024-08-30 13:54:31 +02:00
Leendert de Borst
188b1cba94 Update AuthLoggingService.cs (#80) 2024-08-30 13:19:47 +02:00
Leendert de Borst
5da1021088 Add user refresh tokens table to admin user view and revoke option (#80) 2024-08-27 23:25:02 +02:00
Leendert de Borst
21ae755018 Add auth logging table and log methods to admin and api (#80) 2024-08-27 23:05:14 +02:00
Leendert de Borst
ca3e35e066 Merge pull request #182 from lanedirt/70-add-totp-authenticator-support-to-client
Add TOTP authenticator support to client
2024-08-26 16:30:02 +02:00
Leendert de Borst
7d6a5fa947 Update Security.razor (#70)
Update Login.razor (#70)
Code style refactor (#70)
Update JSON models to have required properties (#70)
2024-08-26 16:23:55 +02:00
Leendert de Borst
a9e41fa6b4 Refactor 2fa methods from AuthController to its own controller (#70) 2024-08-26 15:21:50 +02:00
Leendert de Borst
f6f33c2482 Add E2E test for 2-FA recovery codes (#70) 2024-08-26 14:31:43 +02:00
Leendert de Borst
9ef078bd57 Add recovery code support to client 2FA login flow (#70) 2024-08-26 12:36:15 +02:00
Leendert de Borst
329281cd53 Refactor two-factor auth setup in client (#70) 2024-08-24 18:24:24 +02:00
Leendert de Borst
1db9fa5a37 Add persistent 2FA warning to admin app if 2FA is not set (#70) 2024-08-23 19:29:03 +02:00
Leendert de Borst
8ba039ff25 Add admin option to disable 2FA for user (#70) 2024-08-23 19:12:25 +02:00
Leendert de Borst
0df0b2c3ff Add unittests for TotpGenerator logic (#70) 2024-08-23 18:25:51 +02:00
Leendert de Borst
e058990e31 Add E2E test for client two-factor auth setup (#70) 2024-08-23 18:20:54 +02:00
Leendert de Borst
f7865e5d9c Add working basic 2FA login flow to client (#70) 2024-08-23 17:44:28 +02:00
Leendert de Borst
7aeb34ec5f Update install.sh (#70) 2024-08-23 11:08:11 +02:00
Leendert de Borst
1f9400e811 Merge pull request #179 from lanedirt/130-make-dataprotection-work-in-both-local-development-and-when-running-through-docker
Make .NET dataprotection work in both local development and when running through docker
2024-08-21 15:03:37 -07:00
Leendert de Borst
a3e46f28a3 Refactor DataProtection setup to common extension class (#130) 2024-08-21 23:54:18 +02:00
Leendert de Borst
01f026a3d3 Add new required env vars to E2E test factories (#130) 2024-08-21 23:41:29 +02:00
Leendert de Borst
8824db222b Optimize settings to reduce irrelevant warnings in logs (#130) 2024-08-21 23:00:17 +02:00
Leendert de Borst
dce170cee1 Add certificate generation for DataProtection API for both local dev and Docker containers (#130) 2024-08-21 21:42:20 +02:00
Leendert de Borst
ef7a11e27a Update README.md (#130) 2024-08-20 18:06:15 +02:00
Leendert de Borst
75b22cfddf Merge pull request #176 from lanedirt/174-make-emailusername-on-login-case-insensitive
Change email to username for main user authentication
2024-08-19 14:41:41 -07:00
Leendert de Borst
65342a2a8d Change email to username for main user authentication (#174) 2024-08-19 23:33:50 +02:00
Leendert de Borst
18978b94be Merge pull request #173 from lanedirt/164-add-oobe-beginning-screen-if-user-does-not-have-any-credentials-yet
Out-of-box experience UX tweaks
2024-08-16 06:08:30 -07:00
Leendert de Borst
c989573565 Update Vault.razor (#164) 2024-08-16 14:57:21 +02:00
Leendert de Borst
67ce7da21a Refactor (#164) 2024-08-16 14:48:40 +02:00
Leendert de Borst
fb2972695a Update E2E tests (#164) 2024-08-16 14:35:18 +02:00
Leendert de Borst
2f47f81af8 Fix bug in email credential lookup query (#164) 2024-08-16 13:38:24 +02:00
Leendert de Borst
6d6ee8bf3f Add enter on form submit for AddEdit page, refactor service URL placeholder logic (#164) 2024-08-16 13:34:58 +02:00
Leendert de Borst
881eb58a35 Add focus tweaks to Credentials AddEdit page (#164) 2024-08-16 13:27:07 +02:00
Leendert de Borst
80bc7cd223 Add welcome page for new users for OOBE (#164) 2024-08-16 12:25:52 +02:00
Leendert de Borst
87f494fea8 Layout tweaks (#164) 2024-08-16 12:25:28 +02:00
Leendert de Borst
a24e533e4c Tweak settings page layout (#164) 2024-08-16 12:24:52 +02:00
Leendert de Borst
ebb8b27f85 Update DbStatusIndicator.razor (#164) 2024-08-16 12:24:40 +02:00
Leendert de Borst
41c210e75a Add minimum loading screen delay to blazor bootstrap to improve UX (#164) 2024-08-15 21:52:21 +02:00
Leendert de Borst
2a50a455d8 Merge pull request #170 from lanedirt/165-add-styled-wasm-loading-animation
Updated blazor loading animation to AliasVault style
2024-08-13 11:05:31 -07:00
Leendert de Borst
6896c4cd1d Updated blazor loading animation to AliasVault style (#165) 2024-08-13 19:05:15 +02:00
Leendert de Borst
9560572a40 Merge pull request #169 from lanedirt/144-update-client-side-validation-for-all-form-steps
Update client side validation for all form steps
2024-08-12 11:49:15 -07:00
Leendert de Borst
4dffb9c3c0 Change StartsWith overload (#144) 2024-08-12 20:39:12 +02:00
Leendert de Borst
b8cb3c4d78 Add username generate button, fix form validation bugs, tweak UI (#144) 2024-08-12 19:07:39 +02:00
Leendert de Borst
6f54b05d5a Update email style (#144) 2024-08-12 16:15:27 +02:00
Leendert de Borst
d051d69aea Merge pull request #166 from lanedirt/160-rework-credential-view-page-to-show-most-relevant-data-first
Add email page to browse through all received emails
2024-08-12 04:39:21 -07:00
Leendert de Borst
02f0c43cbd Code style refactor (#160) 2024-08-12 13:31:20 +02:00
Leendert de Borst
14cce42091 Add email page to browser through all received emails for all claimed email addresses(#160) 2024-08-12 13:20:20 +02:00
Leendert de Borst
a1c26cec04 Merge pull request #163 from lanedirt/158-add-global-search-bar
Add global search bar
2024-08-09 08:55:22 -07:00
Leendert de Borst
42fc1c018c Add E2E test for global search bar (#158) 2024-08-09 17:47:42 +02:00
Leendert de Borst
f3e740bab3 Add global search bar widget (#158) 2024-08-09 13:51:02 +02:00
Leendert de Borst
bbdf47d6f4 Merge pull request #162 from lanedirt/161-keyboard-shortcuts-stop-working-when-something-else-has-been-typed-before 2024-08-07 22:15:09 -07:00
Leendert de Borst
5faf93d6be Fix CredentialTest, replace wait text after breadcrumb change (#161) 2024-08-07 23:55:47 +02:00
Leendert de Borst
fa1573ee13 Update keyboardShortcuts.js, fix bug (#161) 2024-08-07 23:27:44 +02:00
Leendert de Borst
50f7866a0b Improve GlobalNotificationDisplay system (#161) 2024-08-07 23:25:25 +02:00
Leendert de Borst
7b1a1e893e Merge pull request #159 from lanedirt/142-design-new-client-datamodel-structure-for-credentialsaliases-with-simplified-user-flow
Add quick create new identity popup
2024-08-07 13:39:59 -07:00
Leendert de Borst
40afea3908 Fix parallel E2E tests race condition (#142) 2024-08-07 22:33:58 +02:00
Leendert de Borst
e1ae260fc5 Code style refactor (#142) 2024-08-07 22:28:46 +02:00
Leendert de Borst
c33399b91d Add E2E test for quick create widget (#142) 2024-08-07 22:24:34 +02:00
Leendert de Borst
f46202223a Fix tests (#142) 2024-08-07 22:01:37 +02:00
Leendert de Borst
0867573f2f Load specific JS via isolated modules, refactor CredentialService (#142) 2024-08-07 20:39:39 +02:00
Leendert de Borst
2becb3aa8f Refactor (#142) 2024-08-06 22:04:12 +02:00
Leendert de Borst
dc2f4dd040 Add quick create new identity popup (#142) 2024-08-06 20:29:48 +02:00
Leendert de Borst
2cf3c142da Merge pull request #157 from lanedirt/156-add-e2e-test-for-generating-identity-via-client-gui
Add E2E test for identity generation in client (#156)
2024-08-05 13:53:21 -07:00
Leendert de Borst
a8d84fd38a Update CredentialTest.cs (#156) 2024-08-05 22:43:03 +02:00
Leendert de Borst
4a207763cc Add E2E test for identity generation in client (#156) 2024-08-05 21:18:21 +02:00
Leendert de Borst
b1ef5c33db Merge pull request #155 from lanedirt/108-add-identity-generator-scaffolding-utility-project
Add identity generator utility project for EN and NL identities
2024-08-05 11:35:56 -07:00
Leendert de Borst
578532efdf Code style refactor (#108) 2024-08-05 20:21:48 +02:00
Leendert de Borst
95fb8baaaa Add nonbacktracking option to regexes (#108) 2024-08-05 20:20:28 +02:00
Leendert de Borst
73e432b2dc Refactor identity generation logic (#108) 2024-08-05 17:24:51 +02:00
Leendert de Borst
f43c3171b0 Add local dictionary based identity generation (#108) 2024-08-05 16:34:22 +02:00
Leendert de Borst
364ade9181 Merge pull request #154 from lanedirt/146-add-e2e-test-with-two-users-trying-to-claim-the-same-email
Add e2e test with two users trying to claim the same email
2024-08-05 04:30:19 -07:00
Leendert de Borst
8883c87dfb Fix email conflict bug with multiple tests in same class (#146) 2024-08-05 13:25:15 +02:00
Leendert de Borst
8e35b39197 Update README.md (#146) 2024-08-05 13:14:33 +02:00
Leendert de Borst
79fd941b4e Add E2E test for checking duplicate email claim error (#146) 2024-08-05 13:14:25 +02:00
Leendert de Borst
b317407bfe Merge pull request #153 from lanedirt/145-add-client-settings-page-with-preference-for-default-domain-and-auto-email-refresh
Add client settings page with preference for default domain and auto email refresh
2024-08-05 04:04:50 -07:00
Leendert de Borst
885630b5db Refactor (#145) 2024-08-05 12:57:25 +02:00
Leendert de Borst
cc64f5c877 Add E2E test for client general settings page (#145) 2024-08-05 12:04:54 +02:00
Leendert de Borst
7d358e0c00 Implement general settings on credential page (#145) 2024-08-05 11:38:47 +02:00
Leendert de Borst
eacfee78cc Refactor SettingsService structure so it initializes when the DbService itself is ready (#145) 2024-08-05 11:05:51 +02:00
Leendert de Borst
d4a773fc2c Add settings table and service to client project (#145) 2024-08-05 09:57:33 +02:00
Leendert de Borst
540124cabf Merge pull request #152 from lanedirt/148-improve-email-popup-window-mechanism
Improve email popup window mechanism
2024-08-02 08:11:20 -07:00
Leendert de Borst
6db2b33576 Add IDisposable (#148) 2024-08-02 17:11:08 +02:00
Leendert de Borst
a132bfea65 Refactor EmailModal.razor (#148) 2024-08-02 16:56:46 +02:00
Leendert de Borst
d9f929ec63 Add encryption to email attachments (#148) 2024-08-02 16:41:23 +02:00
Leendert de Borst
f6f00bec3b Make ClickOutsideHandler component work (#148) 2024-08-02 16:19:08 +02:00
Leendert de Borst
798f8623d4 Email UI tweaks WIP (#148) 2024-08-02 11:30:44 +02:00
Leendert de Borst
27174c05ab Merge pull request #149 from lanedirt/137-improve-credential-email-generation-ui
Admin dashboard tweaks
2024-08-01 11:49:45 -07:00
Leendert de Borst
b8b95babe0 Admin dashboard tweaks (#137) 2024-08-01 20:41:45 +02:00
Leendert de Borst
741b514441 Merge pull request #147 from lanedirt/137-improve-credential-email-generation-ui 2024-07-31 14:31:53 -07:00
Leendert de Borst
f8493f2ff6 Update email field UX (#137) 2024-07-31 22:24:06 +02:00
Leendert de Borst
6f15026495 Add auto retry to E2E test for GitHub Actions as its prone to fail sometimes (#137) 2024-07-31 22:16:03 +02:00
Leendert de Borst
b9acaef46b Update RecentEmails.razor (#137) 2024-07-31 22:12:24 +02:00
Leendert de Borst
c0d8b9941d Client UI tweaks to email and password fields (#137) 2024-07-31 22:04:53 +02:00
Leendert de Borst
e44b52d357 Merge pull request #140 from lanedirt/139-smtpserver-process-is-consuming-100-cpu
Fix while loop high CPU usage bug
2024-07-30 14:04:44 -07:00
Leendert de Borst
1b79662113 Fix while loop high CPU usage bug (#139) 2024-07-30 22:55:55 +02:00
Leendert de Borst
eb2eadf14d Merge pull request #138 from lanedirt/117-add-email-ui-to-client-wasm-application-for-local-and-external-email
Add email encryption, add UI to client wasm application for local and external email
2024-07-30 13:21:57 -07:00
Leendert de Borst
175760cae6 Update DatabaseMessageStore.cs (#117) 2024-07-30 22:10:35 +02:00
Leendert de Borst
486dc67f94 Improve smtp server logic (#117) 2024-07-30 22:01:09 +02:00
Leendert de Borst
1609562499 Add test for full encryption/decryption flow (#117) 2024-07-30 18:36:08 +02:00
Leendert de Borst
31429fb5f5 Code style refactor (#117) 2024-07-29 23:32:25 +02:00
Leendert de Borst
ad7e9ea5ba Fix E2E tests for client project (#117) 2024-07-29 23:02:04 +02:00
Leendert de Borst
4c672a0ebe Added working client side decryption of emails (#117) 2024-07-29 22:51:56 +02:00
Leendert de Borst
05a2e3942c Add email view modal for external API (#117) 2024-07-29 17:59:38 +02:00
Leendert de Borst
fabb087874 Add user claims list to admin page (#117) 2024-07-29 16:50:58 +02:00
Leendert de Borst
c266fedd89 Add encryption logic to SmtpServer and integration tests (#117) 2024-07-29 16:39:06 +02:00
Leendert de Borst
e64893c26c Add JSInterop RSA methods, refactor JSInterop on client (#117) 2024-07-29 14:06:11 +02:00
Leendert de Borst
2016117d47 Add PKI tables (#117) 2024-07-29 11:18:38 +02:00
Leendert de Borst
7fd2b9d678 Merge pull request #134 from lanedirt/133-add-cache-busting-to-admin-app
Add cache busting to admin app
2024-07-29 00:25:35 -07:00
Leendert de Borst
1d5c5162e2 Make method static (#133) 2024-07-29 09:25:26 +02:00
Leendert de Borst
6407e1920f Update E2E test with VersionedContentService (#134) 2024-07-28 17:04:27 +02:00
Leendert de Borst
3bdc0f1171 Add cache busting to admin app (#133) 2024-07-28 16:53:40 +02:00
Leendert de Borst
a0f976f075 Merge pull request #132 from lanedirt/126-add-user-vault-statistics-to-admin-app
Add user vault statistics to admin app
2024-07-28 07:37:14 -07:00
Leendert de Borst
35104ce429 Do not run admin and client tests in parallel as it causes issues with the in-memory SQLite db (#126) 2024-07-28 16:19:34 +02:00
Leendert de Borst
ce43c1b2c0 Add filter by servicename (#126) 2024-07-28 15:47:53 +02:00
Leendert de Borst
00cc482342 Add user management to admin (#126) 2024-07-28 15:29:51 +02:00
Leendert de Borst
9e8521fa10 Fix dbcontext refresh in workerstatus blazor (#126) 2024-07-28 12:22:30 +02:00
Leendert de Borst
cdea2106b3 Update WorkerStatus blazor to auto refresh (#126) 2024-07-28 12:11:16 +02:00
Leendert de Borst
7cf03da0ee Merge pull request #131 from lanedirt/113-add-blazor-server-admin-project-for-user-and-smtp-management
Fix bug in install.sh (#113)
2024-07-26 14:36:58 -07:00
Leendert de Borst
cb8f677cdf Fix bug in install.sh (#113) 2024-07-26 23:36:35 +02:00
Leendert de Borst
771d82e35f Merge pull request #123 from lanedirt/113-add-blazor-server-admin-project-for-user-and-smtp-management
Add blazor server admin project for user and smtp management
2024-07-26 14:25:22 -07:00
Leendert de Borst
670dea6924 Improve tests (#113) 2024-07-26 23:14:26 +02:00
Leendert de Borst
d8cfdc2123 Updated log location for all services (#113) 2024-07-26 22:22:19 +02:00
Leendert de Borst
ad8ceff2a8 Add E2E test for API project and logging (#113) 2024-07-26 19:59:26 +02:00
Leendert de Borst
1e93c0786f Add E2E tests for admin project (#113) 2024-07-26 17:34:17 +02:00
Leendert de Borst
152ad6c973 Fix typo (#113) 2024-07-26 14:18:43 +02:00
Leendert de Borst
f51dd0b0cb Add StatusWorker control to admin project (#113) 2024-07-26 14:14:44 +02:00
Leendert de Borst
b06c00283d Update install.sh (#113) 2024-07-26 11:36:14 +02:00
Leendert de Borst
85fbb283c3 Add uninstall.sh script (#113) 2024-07-26 11:24:56 +02:00
Leendert de Borst
4cbedc7034 Code style refactor (#113) 2024-07-26 11:24:39 +02:00
Leendert de Borst
1e9dd71a7a Refactor StatusWorker library (#113) 2024-07-26 02:56:19 +02:00
Leendert de Borst
8d9f5ba302 Stable SmtpServerWorker with statusworker monitoring (#113) 2024-07-26 01:02:21 +02:00
Leendert de Borst
5e18ea163f Fix code style issues (#113) 2024-07-26 00:09:54 +02:00
Leendert de Borst
2f7a5acf42 Update packages, add dynamic service start/stop logic WIP (#113) 2024-07-26 00:07:51 +02:00
Leendert de Borst
99cc429779 Fix logs page CSS (#113) 2024-07-25 19:51:38 +02:00
Leendert de Borst
f0335b485e Add searchable logs page to admin app (#113) 2024-07-24 23:10:33 +02:00
Leendert de Borst
fc8f935092 Update DatabaseSink logic (#113) 2024-07-24 22:11:08 +02:00
Leendert de Borst
d5cf51b5da Add improved logging for SmtpService (#113) 2024-07-24 18:31:23 +02:00
Leendert de Borst
1ae5143fb7 Update install.sh dependencies (#113) 2024-07-23 21:09:11 +02:00
Leendert de Borst
ac284ba71a Update install.sh script (#113) 2024-07-23 21:06:37 +02:00
Leendert de Borst
bf68e380bc Fix admin bugs (#113) 2024-07-22 23:57:37 +02:00
Leendert de Borst
d87800f370 Fix docker build for admin project (#113) 2024-07-22 23:35:43 +02:00
Leendert de Borst
d65db96447 Fix analyzer issues, update docker compose (#113) 2024-07-22 23:04:08 +02:00
Leendert de Borst
b2e344c523 Refactor codestyle issues (#113) 2024-07-22 22:36:16 +02:00
Leendert de Borst
2b9d7d2818 Fix warnings (#113) 2024-07-22 21:34:36 +02:00
Leendert de Borst
d79c2d34a5 Delete old admin project, rename admin2 to admin (#113) 2024-07-22 17:32:12 +02:00
Leendert de Borst
586aafe1f1 Cleanup of old pages, reset 2FA when updating admin password through CLI (#113) 2024-07-22 17:24:56 +02:00
Leendert de Borst
6cb017af1c Add admin db project password seeding logic, extended init.sh (#113) 2024-07-22 17:14:21 +02:00
Leendert de Borst
25462e38bd Fix auth redirect (#123) 2024-07-22 13:16:25 +02:00
Leendert de Borst
4ba6c365a5 Add redirect to login page when already logged in (#113) 2024-07-22 12:52:58 +02:00
Leendert de Borst
aa5d229687 Refactor admin project folder structure (#113) 2024-07-22 11:47:39 +02:00
Leendert de Borst
022370f799 Update manage account page style (#113) 2024-07-22 11:38:58 +02:00
Leendert de Borst
050470453a Admin project refactor (#113) 2024-07-22 11:03:58 +02:00
Leendert de Borst
5a2353fb11 Style login/2FA pages with tailwind CSS (#113) 2024-07-22 00:24:39 +02:00
Leendert de Borst
c73769750c Add pagetitle component to admin, refactoring (#113) 2024-07-21 21:00:53 +02:00
Leendert de Borst
8cda9c06a2 Replace bootstrap with tailwind for admin (#113) 2024-07-21 20:38:57 +02:00
Leendert de Borst
6d16ff234a Update admin scaffolding with full Blazor interactive server routes (#113) 2024-07-21 19:40:08 +02:00
Leendert de Borst
220fbe2be2 Update account login URLs (#113) 2024-07-21 16:36:43 +02:00
Leendert de Borst
64d924d8a4 Add new admin project from scratch with improved identity scaffolding (#113) 2024-07-21 15:14:19 +02:00
Leendert de Borst
da2615096e Update admin project folder structure (#113) 2024-07-21 14:48:27 +02:00
Leendert de Borst
87f2997ce8 Code style refactor (#113) 2024-07-21 00:17:20 +02:00
Leendert de Borst
467943ec49 Make admin and aliasvault user table definitions work together (#113) 2024-07-20 23:20:27 +02:00
Leendert de Borst
902147cbf6 Add admin project, add separate admin and user identity tables (#113) 2024-07-20 12:59:03 +02:00
Leendert de Borst
b165969598 Merge pull request #122 from lanedirt/111-add-e2eunit-test-for-email-smtp-service
Fix SMTP Dockerfile permissions
2024-07-19 12:50:42 -07:00
Leendert de Borst
39ab7558f9 Remove user statement from SMTP Dockerfile as it conflicts with file permissions (#111) 2024-07-19 21:44:17 +02:00
Leendert de Borst
600c4d32ab Merge pull request #120 from lanedirt/111-add-e2eunit-test-for-email-smtp-service
Add SmtpService health check to Github Action after docker build (#111)
2024-07-19 12:01:56 -07:00
Leendert de Borst
00b145bcf9 Fix nc test if/else (#111) 2024-07-19 20:53:14 +02:00
Leendert de Borst
4c15d64ece Change curl to nc to check tcp port (#111) 2024-07-19 20:46:35 +02:00
Leendert de Borst
a639a2581a Update sed command without macOS fix (#111) 2024-07-19 20:37:01 +02:00
Leendert de Borst
51cd53ee9e Change sed command (#111) 2024-07-19 20:32:48 +02:00
Leendert de Borst
7ba94b9315 Change SMTP port from 25 to 2525 for GH Actions only (#111) 2024-07-19 20:23:20 +02:00
Leendert de Borst
28275bb6d9 Update docker-compose-build.yml (#111) 2024-07-19 20:15:26 +02:00
Leendert de Borst
953e45f62e Add SmtpService test to Github Action after docker build (#111) 2024-07-19 17:39:39 +02:00
Leendert de Borst
709514ff3c Merge pull request #119 from lanedirt/111-add-e2eunit-test-for-email-smtp-service
Update docker-compose.yml to include database volume for SmtpService
2024-07-19 08:37:08 -07:00
Leendert de Borst
12940d46d3 Update docker-compose.yml to include database volume for SmtpService (#111) 2024-07-19 17:35:06 +02:00
Leendert de Borst
8f4b6a5d1b Merge pull request #116 from lanedirt/111-add-e2eunit-test-for-email-smtp-service
Add integration test for email smtp service
2024-07-19 08:03:24 -07:00
Leendert de Borst
d46e582c91 Add Assert.Multiple (#111) 2024-07-19 16:50:32 +02:00
Leendert de Borst
7bbf986c09 Change integration test ports so it works with GitHub Actions (#111) 2024-07-19 16:44:28 +02:00
Leendert de Borst
2e6d5c87bc Add SMTP service integration tests (#111) 2024-07-19 16:31:39 +02:00
Leendert de Borst
0e4d0b0f84 Make basic SMTP service integration test work (#111) 2024-07-19 15:06:44 +02:00
Leendert de Borst
533362210b Add IntegrationTests project (#111) 2024-07-19 14:42:43 +02:00
Leendert de Borst
014064376c Add migrate on SmtpServer startup (#111) 2024-07-19 11:08:42 +02:00
Leendert de Borst
b26ddb809c Merge pull request #115 from lanedirt/105-add-email-storage-to-server-database
Make SmtpServer save emails to database
2024-07-19 01:59:04 -07:00
Leendert de Borst
e9a95fcc53 Refactor DatabaseMessageStore.cs structure (#105) 2024-07-19 10:50:20 +02:00
Leendert de Borst
b3ddf94089 Add SMTP service settings to environment variables so it can be exposed via Docker (#105) 2024-07-18 21:36:26 +02:00
Leendert de Borst
2213ab94da Add email table migration, update SmtpServer to save emails to database (#105) 2024-07-18 21:06:18 +02:00
Leendert de Borst
62d95d73e1 Merge pull request #114 from lanedirt/104-add-email-server-scaffolding-to-docker-stack
Add AliasVault.SmtpService scaffolding
2024-07-17 09:27:33 -07:00
Leendert de Borst
22a1fc089e Add TLS port to smtp docker compose (#104) 2024-07-16 23:31:04 +02:00
Leendert de Borst
9f95157c18 Add smtp service to docker compose (#104) 2024-07-16 23:30:25 +02:00
Leendert de Borst
dec69e959d Add AliasVault.SmtpService project, refactor solution structure (#104) 2024-07-16 20:47:00 +02:00
Leendert de Borst
81a52dcc0e Merge pull request #103 from lanedirt/85-update-readme-instructions-with-e2e-encryption-explanation
Update readme instructions
2024-07-12 07:16:00 -07:00
Leendert de Borst
dd3818499c Update README.md 2024-07-12 16:08:06 +02:00
Leendert de Borst
b141196384 Update README.md 2024-07-12 15:35:19 +02:00
Leendert de Borst
2dfe8c64e5 Update README.md (#85) 2024-07-12 15:31:18 +02:00
Leendert de Borst
033a513c92 Merge pull request #99 from lanedirt/98-improve-oobe-user-experience
Rename email prefix to email field and refactor logic (#98)
2024-07-12 04:33:03 -07:00
Leendert de Borst
0bbb504511 Update DbPersistTest.cs (#98) 2024-07-12 13:11:45 +02:00
Leendert de Borst
88fe86c19a Update DbPersistTest.cs (#98) 2024-07-12 12:56:31 +02:00
Leendert de Borst
3ccf239d84 Update DbPersistTest.cs (#98) 2024-07-12 12:50:20 +02:00
Leendert de Borst
c6ef654c87 Layout update (#98) 2024-07-12 12:45:42 +02:00
Leendert de Borst
4ef0373d31 Add global loading indicator to save actions, refactoring (#98) 2024-07-12 11:45:30 +02:00
Leendert de Borst
71f91b8050 Update csproj to conditionally include appsettings.Development.json (#98) 2024-07-12 10:11:02 +02:00
Leendert de Borst
6d8315ac4e Remove appsettings.Development from git (#98) 2024-07-12 09:52:45 +02:00
Leendert de Borst
08e550f46f Add appsettings.json for E2E test local config override (#98) 2024-07-12 09:48:19 +02:00
Leendert de Borst
dfa67a00e3 Rename email prefix to email field and refactor logic (#98) 2024-07-11 22:55:55 +02:00
Leendert de Borst
cdd58773de Merge pull request #97 from lanedirt/95-add-favicon-extract-timeout
Add favicon extract timeout
2024-07-09 13:08:37 -07:00
Leendert de Borst
808ecb865b Merge branch 'main' into 95-add-favicon-extract-timeout 2024-07-09 13:08:24 -07:00
Leendert de Borst
277ff6c012 Move timeout to webapi (#95) 2024-07-09 22:07:44 +02:00
Leendert de Borst
836f7a311e Add timeout to favicon extraction (#95) (#96) 2024-07-09 21:54:49 +02:00
Leendert de Borst
a3b232543f Add timeout to favicon extraction (#95) 2024-07-09 21:54:27 +02:00
Leendert de Borst
6077f8f377 Merge pull request #94 from lanedirt/93-username-field-value-not-shown-in-view-page
Fix username field value
2024-07-09 12:35:48 -07:00
Leendert de Borst
62711f603b Fix username field value (#93) 2024-07-09 21:35:29 +02:00
Leendert de Borst
a59fa22fa6 Merge pull request #91 from lanedirt/74-add-versioning-support-to-local-sqlite-implementation-with-local-upgrade-paths
Add versioning support to local sqlite implementation with local upgrade paths
2024-07-09 12:19:10 -07:00
Leendert de Borst
cc10bcdfb8 Add asserts to test (#74) 2024-07-09 21:11:49 +02:00
Leendert de Borst
481c283c36 Update PlaywrightTest.cs (#74) 2024-07-09 00:50:57 +02:00
Leendert de Borst
947988c2ce Add empty test migration to make the E2E vault upgrade test work (#74) 2024-07-09 00:45:55 +02:00
Leendert de Borst
202df3d9c3 Update DbUpgradeTest.cs (#74) 2024-07-09 00:29:16 +02:00
Leendert de Borst
8f3ad3d171 Add E2E test scaffolding with seed data (#74) 2024-07-09 00:21:15 +02:00
Leendert de Borst
aa771ae1b2 Fix sync redirect (#74) 2024-07-08 21:43:19 +02:00
Leendert de Borst
158a526aee Fix auth revoke token call (#74) 2024-07-08 16:45:05 +02:00
Leendert de Borst
8c4e078490 Fix tests to after adding new new sync page (#74) 2024-07-08 16:40:34 +02:00
Leendert de Borst
98dea2c4bf Improve client DB sync status indicators (#74) 2024-07-08 16:31:24 +02:00
Leendert de Borst
db62eeec22 Add client DB migration screen (#74) 2024-07-08 12:55:12 +02:00
Leendert de Borst
af1e813c48 Rename initial migration to include explicit version number (#74) 2024-07-08 11:54:09 +02:00
Leendert de Borst
d57ac9e743 Update E2E sleep threshold to 100ms to prevent ERR_CONNECTION_REFUSED (#74) 2024-07-08 11:53:47 +02:00
Leendert de Borst
f5e02fb784 Add register warning test (#74) 2024-07-08 11:26:01 +02:00
Leendert de Borst
96a7fbaf3b Add vault decrypt error message (#74) 2024-07-08 11:25:50 +02:00
Leendert de Borst
c749853870 Merge pull request #90 from lanedirt/83-refactor-wasm-project-for-naming-conventions-and-fix-remaining-todos 2024-07-03 14:39:38 -07:00
Leendert de Borst
8c93fceb3e Make E2E test more robust (#83) 2024-07-03 22:41:43 +02:00
Leendert de Borst
fb0ef1c59a Generic refactoring, delete unused files, folder restructuring (#83) 2024-07-03 20:08:18 +02:00
Leendert de Borst
847d97a0e9 Merge pull request #87 from lanedirt/81-add-support-for-attachments-file-upload 2024-07-02 23:39:18 -07:00
Leendert de Borst
8d9c80ef61 Fix multiple attachment add bug (#81) 2024-07-03 00:27:16 +02:00
Leendert de Borst
c22ba0c2cf Add DbPersist E2E test (#81) 2024-07-02 23:59:00 +02:00
Leendert de Borst
5e4654a968 Update DbService.cs (#81) 2024-07-02 23:23:23 +02:00
Leendert de Borst
bbf08d16d4 Update AttachmentViewer.cs (#81) 2024-07-02 23:21:30 +02:00
Leendert de Borst
19c6296a86 Fix tests (#81) 2024-07-02 23:20:03 +02:00
Leendert de Borst
b8ffd39f99 Revert encryption key debug statement (#81) 2024-07-02 23:15:38 +02:00
Leendert de Borst
fe29cb7a2c Merge branch 'main' into 81-add-support-for-attachments-file-upload 2024-07-02 14:13:05 -07:00
Leendert de Borst
4137cc4736 Add attachment uploader/viewer component (#81) 2024-07-02 23:11:34 +02:00
Leendert de Borst
3d23731f0e Merge pull request #86 from lanedirt/84-add-exportimport-database-to-unencrypted-csv
Add CSV import/export and DB loader (#84)
2024-07-02 14:09:45 -07:00
Leendert de Borst
bcbda92601 Update tests (#84) 2024-07-02 21:58:39 +02:00
Leendert de Borst
f0fca573fd Updated vault settings page layout, refactor tests (#84) 2024-07-02 21:22:39 +02:00
Leendert de Borst
4abc674970 Add CSV import/export and DB loader (#84) 2024-07-02 20:49:53 +02:00
Leendert de Borst
43ed35a1be Merge pull request #79 from lanedirt/58-migrate-existing-alias-crud-pages-to-new-local-sqlite-implementation
Refactor CRUD pages to local SQLite model
2024-07-01 15:50:16 -07:00
Leendert de Borst
689ab0b388 Update CredentialService.cs (#58) 2024-07-02 00:46:35 +02:00
Leendert de Borst
a884895fae Restored favicon extraction logic (#58) 2024-07-02 00:05:40 +02:00
Leendert de Borst
a644df1e3c Add notes and birthdate field, add date field validation (#58) 2024-07-01 17:18:42 +02:00
Leendert de Borst
48abe09415 Rename login to credentials, fixed warnings and bugs (#58) 2024-07-01 15:43:32 +02:00
Leendert de Borst
f1bc79a9a4 Refactor (#58) 2024-07-01 13:45:07 +02:00
Leendert de Borst
ce61fc36e1 Refactor SpamOK webapi model to eliminate duplicated code (#58) 2024-07-01 13:02:29 +02:00
Leendert de Borst
cbce527aa1 Delete AliasController.cs old api endpoints (#58) 2024-07-01 12:49:11 +02:00
Leendert de Borst
53ea7c2477 Remove client tables from server db (#58) 2024-07-01 12:46:50 +02:00
Leendert de Borst
aae0846639 Refactor CRUD pages to local SQLite model (#58) 2024-06-30 17:58:01 +02:00
Leendert de Borst
c2648cf2cb Merge pull request #76 from lanedirt/63-abstract-auth-loginunlock-to-share-the-same-implementation-to-reduce-duplicate-code
Abstract Login and Unlock duplicated logic (#63)
2024-06-29 14:23:21 -07:00
Leendert de Borst
68c19957e0 Add webapi call finish content to test pages for improved stability (#63) 2024-06-29 23:12:51 +02:00
Leendert de Borst
6c79503d1f Fix unittests (#63) 2024-06-29 23:00:41 +02:00
Leendert de Borst
c5fc5c0e81 Add dedicated test pages to webapi and wasm for E2E tests (#63) 2024-06-29 22:57:19 +02:00
Leendert de Borst
4170e754ea Add JWT auth tokens E2E tests (#63) 2024-06-29 13:07:06 +02:00
Leendert de Borst
5d44a3aeff Fix missing redirect in login handler (#63) 2024-06-29 11:23:27 +02:00
Leendert de Borst
8243213028 Abstract Login and Unlock duplicated logic (#63) 2024-06-28 23:33:33 +02:00
Leendert de Borst
efc422ac44 Merge pull request #75 from lanedirt/69-implement-vault-changebackup-history-logic-on-server
Implement vault changebackup history logic on server
2024-06-28 14:32:01 -07:00
Leendert de Borst
497430f729 Refactor (#69) 2024-06-28 23:20:20 +02:00
Leendert de Borst
659dc7b55d Refactor DbService client logic (#69) 2024-06-28 20:04:26 +02:00
Leendert de Borst
581fd945c2 Update VaultRetention logic and add tests (#69) 2024-06-28 20:04:06 +02:00
Leendert de Borst
8205fa9d6e Add vault retention logic (#69) 2024-06-28 12:29:45 +02:00
Leendert de Borst
cc4a6db976 Merge pull request #71 from lanedirt/55-add-client-side-database-sync-indicator-to-ui
Add client side database sync indicator to UI
2024-06-28 02:28:24 -07:00
Leendert de Borst
efb7ae009d Remove unused vars (#55) 2024-06-28 10:56:12 +02:00
Leendert de Borst
f29606ea94 Update UI style (#55) 2024-06-28 10:47:38 +02:00
Leendert de Borst
4a586cf117 Add DbStatus indicator to UI (#55) 2024-06-28 10:05:50 +02:00
Leendert de Borst
64688cd2b5 Merge pull request #68 from lanedirt/67-improve-e2e-test-stability
Change port assignment logic (#67)
2024-06-26 15:24:16 -07:00
Leendert de Borst
ea9c6e9aa7 Update Program.cs (#67) 2024-06-27 00:07:33 +02:00
Leendert de Borst
889dc81404 Add host project for in-memory testing of WASM app (#67) 2024-06-26 18:53:47 +02:00
Leendert de Borst
df85846fbe Change port assignment logic (#67) 2024-06-26 08:55:26 +02:00
Leendert de Borst
5a9632f80e Merge pull request #66 from lanedirt/60-unlock-screen-can-be-bypassed-by-clicking-on-logo
Add unlock page redirect test (#60)
2024-06-25 15:02:30 -07:00
Leendert de Borst
9105215dc8 Add unlock page redirect test (#60) 2024-06-25 23:55:39 +02:00
Leendert de Borst
4aa57f95b5 Merge pull request #65 from lanedirt/60-unlock-screen-can-be-bypassed-by-clicking-on-logo
Add encryption key check to generic PageBase (#60)
2024-06-25 14:40:19 -07:00
Leendert de Borst
1112922731 Add assert to UnlockTest (#60) 2024-06-25 23:33:41 +02:00
Leendert de Borst
2bee131ff4 Add E2E test for unlock mechanism (#60) 2024-06-25 23:26:54 +02:00
Leendert de Borst
75933efbdd Refactor isEncryptionKeySet logic to prevent delayed navigation loops (#60) 2024-06-25 23:03:06 +02:00
Leendert de Borst
93623a2f05 Update AliasClientDbService.cs (#60) 2024-06-25 22:35:11 +02:00
Leendert de Borst
4b12518ee4 Fix auth state redirect loop (#60) 2024-06-25 21:56:46 +02:00
Leendert de Borst
2a834eeb38 Add encryption key check to generic PageBase (#60) 2024-06-25 21:40:57 +02:00
Leendert de Borst
25872f08de Merge pull request #64 from lanedirt/59-save-encryption-key-to-session-on-registration-next-to-login
Add missing store calls (#59)
2024-06-24 11:05:29 -07:00
Leendert de Borst
9fc0f4d7da Merge pull request #62 from lanedirt/61-move-aliasclientdb-project-to-correct-folder
Move AliasClientDb project to correct folder (#61)
2024-06-24 10:39:35 -07:00
Leendert de Borst
4e2bf10115 Add missing store calls (#59) 2024-06-24 19:37:48 +02:00
Leendert de Borst
957a9474ec Move AliasClientDb project to correct folder (#61) 2024-06-24 19:32:38 +02:00
Leendert de Borst
bd0d4ad2a4 Merge pull request #56 from lanedirt/44-change-datamodel-to-be-more-dynamic-and-support-client-side-encryption
44 change datamodel to be more dynamic and support client side encryption
2024-06-24 10:09:20 -07:00
Leendert de Borst
88fa8a0c17 Update Dockerfile (#44) 2024-06-24 19:04:54 +02:00
Leendert de Borst
943f16789f Update docker compose (#44) 2024-06-24 18:34:01 +02:00
Leendert de Borst
bb91637db5 Refactoring (#44) 2024-06-24 17:38:58 +02:00
Leendert de Borst
5aef4c58e2 Add working version of client-side SQLite sync via webapi (#44) 2024-06-24 17:15:19 +02:00
Leendert de Borst
554ea91bda Add SQLite in-memory load/save mechanism (#44) 2024-06-24 14:35:45 +02:00
Leendert de Borst
d5a858d78d Refactor EF database projects, added basic client-side SQLite in-memory implementation (#44) 2024-06-24 11:30:37 +02:00
Leendert de Borst
ff265c3a86 Remove AliasVault Blazor server project (#44) 2024-06-24 09:10:20 +02:00
Leendert de Borst
f2fced86b2 Merge pull request #53 from lanedirt/52-fix-ide-warning-configuration-in-rider-regardless-of-user-settings
Move dotnet code style settings to .globalconfig (#52)
2024-06-23 12:44:26 -07:00
Leendert de Borst
83f62e17b2 Update Dockerfile (#52) 2024-06-23 21:35:42 +02:00
Leendert de Borst
0f80217e74 Replace buildtask project with RoslynCodeTaskFactory implementation (#52) 2024-06-23 21:33:56 +02:00
Leendert de Borst
7290ee870c Update buildtasks so it works on both Windows and Mac/Linux (#52) 2024-06-23 20:56:39 +02:00
Leendert de Borst
27c0c9194e Add custom build task for cache busting (#52) 2024-06-23 20:13:56 +02:00
Leendert de Borst
ae652297fa Update Login.razor (#52) 2024-06-23 19:49:11 +02:00
Leendert de Borst
bcdb9efee8 Move dotnet code style settings to .globalconfig (#52) 2024-06-23 19:41:30 +02:00
Leendert de Borst
f224507f91 Merge pull request #51 from lanedirt/49-fix-docker-build-ef-migrations
Update docker-compose.build.yml (#49)
2024-06-23 10:28:38 -07:00
Leendert de Borst
dc9ba64b21 Refactor dockerfiles to remove explicit EF bundle (#49) 2024-06-23 19:22:03 +02:00
Leendert de Borst
c99394416e Update docker-compose-build.yml typo (#49) 2024-06-23 18:31:05 +02:00
Leendert de Borst
ba2abde97d Update RootController.cs (#49) 2024-06-23 18:27:20 +02:00
Leendert de Borst
66b33a8686 Add healthcheck webapi endpoint (#49) 2024-06-23 18:24:33 +02:00
Leendert de Borst
1ebdce5216 Update docker-compose.build.yml (#49) 2024-06-23 18:03:42 +02:00
Leendert de Borst
c2d1ea9895 Merge pull request #50 from lanedirt/49-fix-docker-build-ef-migrations
49 fix docker build ef migrations
2024-06-23 09:00:50 -07:00
Leendert de Borst
75a9278d56 Update .gitignore (#49) 2024-06-23 17:55:53 +02:00
Leendert de Borst
b508354ac6 Remove .env from git (#49) 2024-06-23 17:53:50 +02:00
Leendert de Borst
e1478c055f Merge pull request #48 from lanedirt/43-implement-master-password-for-login-and-basic-encryption
Implement master password for login and basic encryption
2024-06-23 08:28:37 -07:00
Leendert de Borst
c07f0c33bb Update AuthController.cs (#43) 2024-06-23 17:22:17 +02:00
Leendert de Borst
4e2b10eeab Add try/catch to E2E test init (#43) 2024-06-23 17:12:35 +02:00
Leendert de Borst
05e9285752 Code style refactor (#43) 2024-06-23 16:35:45 +02:00
Leendert de Borst
a76a21a935 Update TestDefaults.cs due to Argon2id speed in WASM (#43) 2024-06-21 19:28:20 +02:00
Leendert de Borst
0fd23eab59 Fix code style issues (#43) 2024-06-21 19:27:54 +02:00
Leendert de Borst
1c1d1e1d74 Fix JWT key retrieval (#43) 2024-06-21 17:38:51 +02:00
Leendert de Borst
9412f862eb Make Argon2id dynamic using SRP salt (#43) 2024-06-21 15:52:08 +02:00
Leendert de Borst
9f7ba2eb20 Implement SPR for login flow (#43) 2024-06-21 15:37:51 +02:00
Leendert de Borst
101d1d485a Implement SPR for basic signup flow (#43) 2024-06-21 11:48:27 +02:00
Leendert de Borst
e316836ee5 Make basic SRP flow work (#43) 2024-06-21 10:44:09 +02:00
Leendert de Borst
c6e3c41759 Add SRP auth scaffolding (#43) 2024-06-21 00:52:19 +02:00
Leendert de Borst
bca7b2bc82 Merge pull request #41 from lanedirt/29-add-cache-busting-to-wasm-app-static-resources
Fix cache buster for release mode (#29)
2024-06-19 16:08:03 -07:00
Leendert de Borst
d51ae8d913 Fix cache buster for release mode (#29) 2024-06-20 00:56:23 +02:00
Leendert de Borst
c5d2b1da37 Merge pull request #40 from lanedirt/39-fix-init-script-colors-for-all-terminals
Update init.sh (#39)
2024-06-19 15:27:11 -07:00
Leendert de Borst
5d85b3a275 Update init.sh (#39) 2024-06-20 00:26:58 +02:00
Leendert de Borst
3ba8e54e56 Merge pull request #38 from lanedirt/33-refactor-jwt-keys-in-webapi-from-appsettingsjson-to-environment-variables
33 refactor jwt keys in webapi from appsettingsjson to environment variables
2024-06-19 15:13:13 -07:00
Leendert de Borst
7ffc1f1ee5 Fix E2E tests (#33) 2024-06-20 00:07:20 +02:00
Leendert de Borst
8d4024860b Add cache busting to index.html (#33) 2024-06-20 00:03:53 +02:00
Leendert de Borst
383145814a Add init.sh script for initial setup (#33) 2024-06-19 23:16:18 +02:00
Leendert de Borst
210f4b3c9e Add .env for JWT keys, minor refactoring (#33) 2024-06-19 21:51:54 +02:00
Leendert de Borst
276ceb3dce Merge pull request #36 from lanedirt/35-fix-code-style-issues
Fix code style issues
2024-06-18 15:07:18 -07:00
Leendert de Borst
2985c8333e Fix code style issues (#35) 2024-06-19 00:00:29 +02:00
Leendert de Borst
7bb8aee532 Add sonarcloud badges (#35) 2024-06-18 23:56:25 +02:00
Leendert de Borst
7de3b05985 Fix code style issues (#35) 2024-06-18 23:56:16 +02:00
Leendert de Borst
daca01a428 Merge pull request #34 from lanedirt/32-fix-linting-issues
Fix linting issues (#32)
2024-06-18 14:30:52 -07:00
Leendert de Borst
9fb19d28d6 Update sonarcloud-code-analysis (#32) 2024-06-18 23:21:20 +02:00
Leendert de Borst
540177c762 Fix linting issues (#32) 2024-06-18 23:18:16 +02:00
Leendert de Borst
228b037a6d Merge pull request #31 from lanedirt/30-add-sonarcloud-integration-for-code-analysis
Add sonarcloud github action
2024-06-18 14:04:29 -07:00
Leendert de Borst
0e0366564d Update CryptographyTests.cs (#30) 2024-06-18 22:56:42 +02:00
Leendert de Borst
cca91d6076 Update sonarcloud code analysis (#30) 2024-06-18 22:37:36 +02:00
Leendert de Borst
6c9e770af7 Update sonarcloud-code-analysis.yml (#30) 2024-06-18 22:01:38 +02:00
Leendert de Borst
44bcb7f16d Merge branch '30-add-sonarcloud-integration-for-code-analysis' of https://github.com/lanedirt/AliasVault into 30-add-sonarcloud-integration-for-code-analysis
* '30-add-sonarcloud-integration-for-code-analysis' of https://github.com/lanedirt/AliasVault:
  Add sonarcloud github action
2024-06-18 21:53:27 +02:00
Leendert de Borst
d69b3defe5 Add coverlet.msbuild (#30) 2024-06-18 21:53:26 +02:00
Leendert de Borst
02af26cb39 Add sonarcloud github action (#30) 2024-06-18 21:53:11 +02:00
Leendert de Borst
3cc3c67a4d Add sonarcloud github action 2024-06-18 21:41:28 +02:00
Leendert de Borst
107d2d8602 Merge pull request #28 from lanedirt/27-fix-wasm-topbar-menu-open-toggle-css-styles
WASM app tweaks for UI (#27)
2024-06-18 12:03:47 -07:00
Leendert de Borst
b8301d8f98 Merge pull request #26 from lanedirt/25-add-versioning-to-webapi-project
Add versioning to webapi project
2024-06-18 11:45:52 -07:00
Leendert de Borst
124491e5db WASM app tweaks for UI (#27) 2024-06-18 20:45:26 +02:00
Leendert de Borst
dbea1c2c4d Add api version prefix to WASM app URLs (#25) 2024-06-18 20:43:07 +02:00
Leendert de Borst
949a7a856a Add versioning to webapi (#25) 2024-06-18 20:41:21 +02:00
Leendert de Borst
b923669b66 Merge pull request #24 from lanedirt/23-add-form-validation-to-login-and-signup-pages
Add form validation to login/register pages
2024-06-17 13:11:32 -07:00
Leendert de Borst
da25aa43ea Add form validation to login/register pages (#23) 2024-06-17 22:08:49 +02:00
840 changed files with 66864 additions and 40466 deletions

View File

@@ -10,10 +10,7 @@ insert_final_newline = true
# C# files
[*.cs]
indent_style = space
indent_size = 4
csharp_indent_labels = one_less_than_current
csharp_using_directive_placement = outside_namespace:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent
csharp_style_namespace_declarations = block_scoped:silent
@@ -28,12 +25,6 @@ csharp_style_expression_bodied_indexers = true:silent
csharp_style_expression_bodied_accessors = true:silent
csharp_style_expression_bodied_lambdas = true:silent
csharp_style_expression_bodied_local_functions = false:silent
dotnet_diagnostic.SA1011.severity = none
dotnet_diagnostic.SA1101.severity = none
dotnet_diagnostic.SA1200.severity = none
dotnet_diagnostic.SA1309.severity = none
dotnet_diagnostic.SA1310.severity = warning
dotnet_diagnostic.SX1309.severity = none
# Razor files
[*.razor]
@@ -69,56 +60,3 @@ indent_size = 4
[*.xml]
indent_style = space
indent_size = 4
[*.{cs,vb}]
#### Naming styles ####
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_operator_placement_when_wrapping = beginning_of_line
tab_width = 4
end_of_line = crlf
dotnet_style_coalesce_expression = true:suggestion
dotnet_style_null_propagation = true:suggestion

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
HOSTNAME=
JWT_KEY=
DATA_PROTECTION_CERT_PASS=
ADMIN_PASSWORD_HASH=
ADMIN_PASSWORD_GENERATED=2024-01-01T00:00:00Z
PRIVATE_EMAIL_DOMAINS=
SMTP_TLS_ENABLED=false
LETSENCRYPT_ENABLED=false

53
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,53 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
# Enable version updates for NuGet
- package-ecosystem: "nuget"
directory: "/"
target-branch: "main"
open-pull-requests-limit: 10
labels:
- "dependencies"
# Check for updates once a week
schedule:
day: "monday"
time: "09:00"
interval: "weekly"
# Ignore certain dependencies (optional)
# ignore:
# - dependency-name: "SomePackage"
# versions: ["4.x", "5.x"]
# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
day: "monday"
time: "09:00"
interval: "weekly"
# Enable version updates for Docker
- package-ecosystem: "docker"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
day: "monday"
time: "09:00"
interval: "weekly"
# Enable version updates for Composer
- package-ecosystem: "composer"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
# Check for updates once a week
schedule:
day: "monday"
time: "09:00"
interval: "weekly"

6
.github/release.yml vendored
View File

@@ -9,9 +9,9 @@ changelog:
labels:
- dependencies
- bug
- title: 🧩 Dependencies Updates
labels:
- dependencies
- title: 🐞 Bug Fixes
labels:
- bug
- title: 🧩 Dependencies Updates
labels:
- dependencies

View File

@@ -9,37 +9,95 @@ on:
jobs:
test-docker:
runs-on: ubuntu-latest
services:
docker:
image: docker:26.0.0
options: --privileged
steps:
- uses: actions/checkout@v2
- name: Set up Docker Compose
- name: Create .env file with custom SMTP port as port 25 is not allowed in GitHub Actions
run: |
# Build the images and start the services
docker compose -f docker-compose.yml up -d
- name: Wait for services to be up
echo "SMTP_PORT=2525" > .env
- name: Set permissions and run install.sh
run: |
# Wait for a few seconds
sleep 5
- name: Test if localhost:80 (WASM app) responds
run: |
# Test if the service on localhost:80 responds
http_code=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:80)
if [ "$http_code" -ne 200 ]; then
echo "Service did not respond with 200 OK"
chmod +x install.sh
./install.sh build --verbose
- name: Test if services are responding
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: |
sleep 15
# Array of endpoints to test
declare -A endpoints=(
["WASM"]="https://localhost:443"
["WebApi"]="https://localhost:443/api"
["Admin"]="https://localhost:443/admin/user/login"
)
failed=false
# Test HTTP endpoints
for name in "${!endpoints[@]}"; do
url="${endpoints[$name]}"
echo "Testing $name at $url"
# Store both response body and HTTP code
response=$(curl -k -s -w "\nHTTP_CODE=%{http_code}" "$url")
http_code=$(echo "$response" | grep "HTTP_CODE=" | cut -d= -f2)
body=$(echo "$response" | sed '$d') # Remove the last line (HTTP_CODE)
if [ "$http_code" -ne 200 ]; then
echo "❌ $name failed with HTTP $http_code at $url"
echo "Response body:"
echo "$body"
failed=true
else
echo "✅ $name responded with HTTP 200"
fi
done
# Test SMTP
echo "Testing SmtpService at localhost:2525"
if ! nc -zv localhost 2525 2>&1 | grep -q 'succeeded'; then
echo "❌ SmtpService failed to respond on port 2525"
failed=true
else
echo "✅ SmtpService responded successfully"
fi
# Exit with error if any service failed
if [ "$failed" = true ]; then
# Get container logs
echo "Container Logs admin:"
docker compose logs admin
echo "Container Logs api:"
docker compose logs api
echo "Container Logs client:"
docker compose logs client
echo "Container Logs smtp:"
docker compose logs smtp
echo "Container Logs reverse-proxy:"
docker compose logs reverse-proxy
# Restart containers for next test in case of failure
docker compose restart
exit 1
else
echo "Service responded with 200 OK"
fi
- name: Test if localhost:81 (WebApi) responds
- name: Test install.sh reset-password output
run: |
# Test if the service on localhost:81 responds
http_code=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:81)
if [ "$http_code" -ne 200 ] && [ "$http_code" -ne 404 ]; then
echo "Service did not respond with expected 200 OK or 404 Not Found"
exit 1
else
echo "Service responded with $http_code"
fi
output=$(./install.sh reset-password)
if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9+/=]{8,}.*'; then
echo "Password reset output format is incorrect"
echo "Expected: 'New admin password: <at least 8 base64 chars>'"
echo "Actual: $output"
exit 1
fi

View File

@@ -0,0 +1,112 @@
# This workflow will test if pulling the latest Docker Compose containers from the registry works.
name: Docker Compose Pull
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-docker:
runs-on: ubuntu-latest
services:
docker:
image: docker:26.0.0
options: --privileged
steps:
- name: Get repository and branch information
id: repo-info
run: |
echo "REPO_FULL_NAME=${GITHUB_REPOSITORY}" >> $GITHUB_ENV
echo "BRANCH_NAME=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
- name: Download install script from current branch
run: |
INSTALL_SCRIPT_URL="https://raw.githubusercontent.com/$REPO_FULL_NAME/$BRANCH_NAME/install.sh"
echo "Downloading install script from: $INSTALL_SCRIPT_URL"
curl -f -o install.sh "$INSTALL_SCRIPT_URL"
- name: Create .env file with custom SMTP port as port 25 is not allowed in GitHub Actions
run: |
echo "SMTP_PORT=2525" > .env
- name: Set permissions and run install.sh
run: |
chmod +x install.sh
./install.sh install --verbose
- name: Set up Docker Compose
run: docker compose -f docker-compose.yml up -d
- name: Wait for services to be up
run: |
# Wait for a few seconds
sleep 10
- name: Test if localhost:443 (WASM app) responds
uses: nick-fields/retry@v3
with:
timeout_minutes: 2
max_attempts: 3
command: |
http_code=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost:443)
if [ "$http_code" -ne 200 ]; then
echo "Service did not respond with 200 OK. Check if client app and/or nginx is configured correctly."
exit 1
else
echo "Service responded with 200 OK"
fi
- name: Test if localhost:443/api (WebApi) responds
uses: nick-fields/retry@v3
with:
timeout_minutes: 2
max_attempts: 3
command: |
http_code=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost:443/api)
if [ "$http_code" -ne 200 ]; then
echo "Service did not respond with expected 200 OK. Check if WebApi and/or nginx is configured correctly."
exit 1
else
echo "Service responded with $http_code"
fi
- name: Test if localhost:443/admin (Admin) responds
uses: nick-fields/retry@v3
with:
timeout_minutes: 2
max_attempts: 3
command: |
http_code=$(curl -k -s -o /dev/null -w "%{http_code}" https://localhost:443/admin/user/login)
if [ "$http_code" -ne 200 ]; then
echo "Service did not respond with expected 200 OK. Check if admin app and/or nginx is configured correctly."
exit 1
else
echo "Service responded with $http_code"
fi
- name: Test if localhost:2525 (SmtpService) responds
uses: nick-fields/retry@v3
with:
timeout_minutes: 2
max_attempts: 3
command: |
if ! nc -zv localhost 2525 2>&1 | grep -q 'succeeded'; then
echo "SmtpService did not respond on port 2525. Check if the SmtpService service is running."
exit 1
else
echo "SmtpService responded on port 2525"
fi
- name: Test install.sh reset-password output
run: |
output=$(./install.sh reset-password)
if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9+/=]{8,}.*'; then
echo "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 base64 chars>'"
echo "Actual output: $output"
exit 1
else
echo "Password reset output format is correct"
fi

View File

@@ -0,0 +1,43 @@
# This workflow will test if running the E2E Admin tests via Playwright CLI works.
name: .NET E2E Admin Tests (Playwright)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
admin-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install dependencies
run: dotnet workload install wasm-tools
- name: Build
run: dotnet build
- name: Ensure browsers are installed
run: pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net9.0/playwright.ps1 install --with-deps
- name: Run AdminTests with retry
uses: nick-fields/retry@v3
with:
timeout_minutes: 60
max_attempts: 3
command: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "Category=AdminTests"
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: admin-test-results
path: TestResults-Admin.xml

View File

@@ -0,0 +1,40 @@
# This workflow will test if running the E2E Client tests via Playwright CLI works.
name: .NET E2E Client Tests (Playwright with Sharding)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
client-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4, 5]
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install dependencies
run: dotnet workload install wasm-tools
- name: Build
run: dotnet build
- name: Ensure browsers are installed
run: pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net9.0/playwright.ps1 install --with-deps
- name: Run ClientTests with retry (Shard ${{ matrix.shard }})
uses: nick-fields/retry@v3
with:
timeout_minutes: 60
max_attempts: 3
command: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "FullyQualifiedName~.E2ETests.Tests.Client.Shard${{ matrix.shard }}."

View File

@@ -0,0 +1,43 @@
# This workflow will test if running the E2E Misc tests via Playwright CLI works.
name: .NET E2E Misc Tests (Playwright)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
misc-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install dependencies
run: dotnet workload install wasm-tools
- name: Build
run: dotnet build
- name: Ensure browsers are installed
run: pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net9.0/playwright.ps1 install --with-deps
- name: Run remaining tests with retry
uses: nick-fields/retry@v3
with:
timeout_minutes: 60
max_attempts: 3
command: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal --filter "Category!=AdminTests&Category!=ClientTests"
- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
with:
name: misc-test-results
path: TestResults-Misc.xml

View File

@@ -1,7 +1,5 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Playwright integration tests
# This workflow will test if running the integration tests works.
name: .NET Integration Tests
on:
push:
@@ -15,13 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
- name: Install dependencies
run: dotnet workload install wasm-tools
- name: Build
run: dotnet build
- name: Ensure browsers are installed
run: pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net8.0/playwright.ps1 install --with-deps
- name: Run your tests
run: dotnet test src/Tests/AliasVault.E2ETests --no-build --verbosity normal
- name: Run integration tests
run: dotnet test src/Tests/AliasVault.IntegrationTests --no-build --verbosity normal

View File

@@ -1,7 +1,5 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET build and run tests
# This workflow will test if running the unit tests works.
name: .NET Unit Tests
on:
push:
@@ -10,19 +8,24 @@ on:
branches: [ "main" ]
jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
- name: Install dependencies
run: dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
- name: Run unittests
run: dotnet test src/Tests/AliasVault.UnitTests --no-build --verbosity normal

View File

@@ -0,0 +1,95 @@
# This workflow will publish new Docker images to the GitHub Container Registry when a new release is published.
name: Publish Docker Images
on:
release:
types: [published]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Convert repository name to lowercase
run: |
echo "REPO_LOWER=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}
- name: Build and push API image
uses: docker/build-push-action@v5
with:
context: .
file: src/AliasVault.Api/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-api:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-api:${{ github.ref_name }}
- name: Build and push Client image
uses: docker/build-push-action@v5
with:
context: .
file: src/AliasVault.Client/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-client:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-client:${{ github.ref_name }}
- name: Build and push Admin image
uses: docker/build-push-action@v5
with:
context: .
file: src/AliasVault.Admin/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-admin:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-admin:${{ github.ref_name }}
- name: Build and push SMTP image
uses: docker/build-push-action@v5
with:
context: .
file: src/Services/AliasVault.SmtpService/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-smtp:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-smtp:${{ github.ref_name }}
- name: Build and push TaskRunner image
uses: docker/build-push-action@v5
with:
context: .
file: src/Services/AliasVault.TaskRunner/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-task-runner:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-task-runner:${{ github.ref_name }}
- name: Build and push Reverse Proxy image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-reverse-proxy:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-reverse-proxy:${{ github.ref_name }}
- name: Build and push InstallCli image
uses: docker/build-push-action@v5
with:
context: .
file: src/Utilities/AliasVault.InstallCli/Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-installcli:latest,${{ env.REGISTRY }}/${{ env.REPO_LOWER }}-installcli:${{ github.ref_name }}

View File

@@ -0,0 +1,63 @@
# This workflow will perform a SonarCloud code analysis on every push to the main branch or when a pull request is opened, synchronized, or reopened.
name: SonarCloud code analysis
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: Build and analyze
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '9.0.x'
- name: Install WASM workload
run: dotnet workload install wasm-tools
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu' # Alternative distribution options are available.
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~\sonar\cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache SonarCloud scanner
id: cache-sonar-scanner
uses: actions/cache@v3
with:
path: .\.sonar\scanner
key: ${{ runner.os }}-sonar-scanner
restore-keys: ${{ runner.os }}-sonar-scanner
- name: Install SonarCloud scanner
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
shell: powershell
run: |
New-Item -Path .\.sonar\scanner -ItemType Directory
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"lanedirt_AliasVault" /o:"lanedirt" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml" /d:sonar.coverage.exclusions="**Tests*.cs"
dotnet build
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutput=coverage /p:CoverletOutputFormat=opencover --filter 'FullyQualifiedName!~AliasVault.E2ETests'
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

37
.gitignore vendored
View File

@@ -268,6 +268,7 @@ ServiceFabricBackup/
# SQLite files
*.sqlite
*.sqlite.*
*.sqlite-shm
*.sqlite-wal
@@ -370,3 +371,39 @@ FodyWeavers.xsd
.idea
*.licenseheader
# Codebuddy Rider plugin
.codebuddy
# -------------------
# AliasVault specifics
# -------------------
# index.html is generated by the build process from index.template.html and therefore should be ignored
src/AliasVault.Client/wwwroot/index.html
# appsettings.Development.json is generated by the build process from appsettings.Development.template.json and therefore should be ignored
src/AliasVault.Client/wwwroot/appsettings.Development.json
# appsettings.Development.json is added manually if needed, it should not be committed.
src/Tests/AliasVault.E2ETests/appsettings.Development.json
# .env is generated by install.sh and therefore should be ignored
.env
# install.sh backup files are generated by install.sh self-update and therefore should be ignored
install.sh.backup
# Draw.io diagram temp files
*.drawio.*
# Certificates
certificates/**/*.crt
certificates/**/*.key
certificates/**/*.pfx
certificates/**/*.pem
certificates/letsencrypt/**
# Docs
docs/_site
docs/vendor
docs/.bundle

57
.globalconfig Normal file
View File

@@ -0,0 +1,57 @@
dotnet_diagnostic.SA1011.severity = none
dotnet_diagnostic.SA1101.severity = none
dotnet_diagnostic.SA1309.severity = none
dotnet_diagnostic.SA1310.severity = warning
dotnet_diagnostic.SX1309.severity = none
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_style_operator_placement_when_wrapping = beginning_of_line
dotnet_style_coalesce_expression = false:suggestion
dotnet_style_null_propagation = false:suggestion
# IDE0046: Convert to conditional expression
dotnet_diagnostic.IDE0046.severity = silent

19
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "C#: AliasVault.WebApp [http]",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/src/AliasVault.WebApp/AliasVault.WebApp.csproj",
"launchConfigurationId": "TargetFramework=;http"
},
{
"name": "C#: AliasVault.Api [http]",
"type": "dotnet",
"request": "launch",
"projectPath": "${workspaceFolder}/src/AliasVault.Api/AliasVault.Api.csproj",
"launchConfigurationId": "TargetFramework=;http"
}
]
}

View File

@@ -68,3 +68,34 @@ dotnet tool install --global Microsoft.Playwright.CLI
# Note: make sure the E2E test project has been built at least once so the bin dir exists.
pwsh src/Tests/AliasVault.E2ETests/bin/Debug/net8.0/playwright.ps1 install
```
### 7. Create AliasVault.Client appsettings.Development.json
The WASM client app supports a development specific appsettings.json file. This appsettings file is optional but can override various options to make debugging easier.
1. Copy `wwwroot/appsettings.json` to `wwwroot/appsettings.Development.json`
Here is an example file with the various options explained:
```
{
"ApiUrl": "http://localhost:5092",
"PrivateEmailDomains": ["example.tld"],
"SupportEmail": "support@example.tld",
"UseDebugEncryptionKey": "true",
"CryptographyOverrideType" : "Argon2Id",
"CryptographyOverrideSettings" : "{\"DegreeOfParallelism\":1,\"MemorySize\":1024,\"Iterations\":1}"
}
```
- UseDebugEncryptionKey
- This setting will use a static encryption key so that if you login as a user you can refresh the page without needing to unlock the database again. This speeds up development when changing things in the WebApp WASM project. Note: the project needs to be run in "Development" mode for this setting to be used.
- CryptographyOverrideType
- This setting allows overriding the default encryption type (Argon2id) with a different encryption type. This is useful for testing different encryption types without having to change code.
- CryptographyOverrideSettings
- This setting allows overriding the default encryption settings (Argon2id) with different settings. This is useful for testing different encryption settings without having to change code. The default Argon2id settings
are defined in the project as `Utilities/Cryptography/Cryptography.Client/Defaults.cs`. These default settings
are focused on security but NOT performance. Normally for key derivation purposes the slower/heavier the algorithm
the better protection against attackers. For production builds this is what we want, however in case of automated testing or debugging extra performance can be gained by tweaking (lowering) these settings.

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM nginx:alpine
# Install OpenSSL
RUN apk add --no-cache openssl
# Copy configuration and entrypoint script
COPY nginx.conf /etc/nginx/nginx.conf
COPY entrypoint.sh /docker-entrypoint.sh
# Create SSL directory
RUN mkdir -p /etc/nginx/ssl && chmod 755 /etc/nginx/ssl \
&& chmod +x /docker-entrypoint.sh
EXPOSE 80 443
ENTRYPOINT ["/docker-entrypoint.sh"]

111
README.md
View File

@@ -1,47 +1,110 @@
<div align="center">
<h1>AliasVault</h1>
[<img src="https://img.shields.io/github/v/release/lanedirt/AliasVault?include_prereleases&logo=github">](https://github.com/lanedirt/OGameX/releases)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/docker-compose-build.yml?label=docker-compose%20build">](https://github.com/lanedirt/AliasVault/actions/workflows/docker-compose-build.yml)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/dotnet-build-run-tests.yml?label=unit tests">](https://github.com/lanedirt/AliasVault/actions/workflows/dotnet-build-run-tests.yml)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/dotnet-integration-tests.yml?label=e2e tests">](https://github.com/lanedirt/AliasVault/actions/workflows/dotnet-integration-tests.yml)
<h1><img src="https://github.com/user-attachments/assets/933c8b45-a190-4df6-913e-b7c64ad9938b" width="40" /> AliasVault</h1>
<p align="center">
<a href="https://app.aliasvault.net">Live demo 🔥</a> • <a href="https://aliasvault.net?utm_source=gh-readme">Website 🌐</a> • <a href="https://docs.aliasvault.net?utm_source=gh-readme">Documentation 📚</a> • <a href="#installation">Installation ⚙️</a>
</p>
<h3 align="center">
Open-source password and alias manager
</h3>
[<img src="https://img.shields.io/github/v/release/lanedirt/AliasVault?include_prereleases&logo=github">](https://github.com/lanedirt/AliasVault/releases)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/docker-compose-build.yml?label=docker-compose%20build">](https://github.com/lanedirt/AliasVault/actions/workflows/docker-compose-build.yml)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/dotnet-unit-tests.yml?label=unit tests">](https://github.com/lanedirt/AliasVault/actions/workflows/dotnet-build-run-tests.yml)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/dotnet-integration-tests.yml?label=integration tests">](https://github.com/lanedirt/AliasVault/actions/workflows/dotnet-build-run-tests.yml)
[<img src="https://img.shields.io/github/actions/workflow/status/lanedirt/AliasVault/dotnet-e2e-client-tests.yml?label=e2e tests">](https://github.com/lanedirt/AliasVault/actions/workflows/dotnet-e2e-client-tests.yml)
[<img src="https://img.shields.io/sonar/coverage/lanedirt_AliasVault?server=https%3A%2F%2Fsonarcloud.io&label=test code coverage">](https://sonarcloud.io/summary/new_code?id=lanedirt_AliasVault)
[<img src="https://img.shields.io/sonar/quality_gate/lanedirt_AliasVault?server=https%3A%2F%2Fsonarcloud.io&label=sonarcloud&logo=sonarcloud">](https://sonarcloud.io/summary/new_code?id=lanedirt_AliasVault)
</div>
<div align="center">
[<img alt="Discord" src="https://img.shields.io/discord/1309300619026235422?logo=discord&logoColor=%237289da&label=join%20discord%20chat&color=%237289da">](https://discord.gg/DsaXMTEtpF)
</div>
> Disclaimer: This repository is currently in an alpha state and is NOT ready for production use. Critical features, such as encryption, are not yet fully implemented. AliasVault is a work in progress and as of this moment serves as a research playground. Users are welcome to explore and use this project, but please be aware that there are no guarantees regarding its security or stability. Use at your own risk!
AliasVault is an open-source password and alias manager built with C# ASP.NET technology. AliasVault can be self-hosted on your own server with Docker, providing a secure and private solution for managing your online identities and passwords.
AliasVault is an open-source password manager that can generate virtual identities complete with virtual email addresses. AliasVault can be self-hosted on your own server with Docker, providing a secure and private solution for managing your online identities and passwords.
### What makes AliasVault unique:
- **Zero-knowledge architecture**: All data is end-to-end encrypted on the client and stored in encrypted state on the server. Your master password never leaves your device and the server never has access to your data.
- **Built-in email server**: AliasVault includes its own email server that allows you to generate virtual email addresses for each alias. Emails sent to these addresses are instantly visible in the AliasVault app.
- **Alias generation**: Generate aliases and assign them to a website, allowing you to use different email addresses and usernames for each website. Keeping your online identities separate and secure, making it harder for bad actors to link your accounts.
- **Open-source**: The source code is available on GitHub and can be self-hosted on your own server.
## Features
- Password Management: Securely store and manage your passwords.
- Virtual Identities: Generate virtual identities with virtual (working) email addresses.
- Data Protection: Ensures that all sensitive data is encrypted and securely stored.
- User Authentication: Secure login and user management functionalities.
> Note: AliasVault is currently in active development and some features may not yet have been (fully) implemented. If you run into any issues, please create an issue on GitHub.
## Live demo
A live demo of the app is available at the official website at [app.aliasvault.net](https://app.aliasvault.net) (up-to-date with `main` branch). You can create a free account to try it out yourself.
<img width="700" alt="Screenshot of AliasVault" src="docs/assets/img/screenshot.png">
## Installation
1. Clone this repository.
To install AliasVault, the easiest method is to use the provided install script. This will download the pre-built Docker images and start the containers.
### 1. Install using install script
This method uses pre-built Docker images and works on minimal hardware specifications:
- Linux VM with root access (Ubuntu or RHEL based distros recommended)
- 1 vCPU
- 512MB RAM
- 16GB disk space
- Docker installed
```bash
git clone [URL]
# Download install script
curl -o install.sh https://raw.githubusercontent.com/lanedirt/AliasVault/main/install.sh
# Make install script executable and run it. This will create the .env file, pull the Docker images, and start the AliasVault containers.
chmod +x install.sh
./install.sh install
```
2. Run the app via Docker:
### 2. Post-Installation
```bash
docker compose up -d --build --force-recreate
```
The install script will output the URL where the app is available. By default this is:
- Client: https://localhost
- Admin portal: https://localhost/admin
The app will be available at http://localhost:80
> Note: If you want to change the default AliasVault ports you can do so in the `.env` file.
## Detailed documentation
For more detailed information about the installation process and other topics, please see the official documentation website:
- [Documentation website (docs.aliasvault.net) 📚](https://docs.aliasvault.net)
Here you can also find step-by-step instructions on how to install AliasVault to e.g. Azure, AWS and other popular cloud providers.
## Security Architecture
<a href="https://docs.aliasvault.net/architecture"><img alt="AliasVault Security Architecture Diagram" src="docs/assets/diagrams/security-architecture/aliasvault-security-architecture-thumb.jpg" width="343"></a>
AliasVault takes security seriously and implements various measures to protect your data:
- All sensitive user data is encrypted end-to-end using industry-standard encryption algorithms. This includes the complete vault contents and all received emails.
- Your master password never leaves your device.
- Zero-knowledge architecture ensures the server never has access to your unencrypted data
For detailed information about our encryption implementation and security architecture, see the following documents:
- [SECURITY.md](SECURITY.md)
- [Security Architecture Diagram](https://docs.aliasvault.net/architecture)
## Credits
The following libraries and frameworks are used in this project:
## Tech stack / credits
The following technologies, frameworks and libraries are used in this project:
- [C#](https://docs.microsoft.com/en-us/dotnet/csharp/) - A simple, modern, object-oriented, and type-safe programming language.
- [ASP.NET Core](https://dotnet.microsoft.com/apps/aspnet) - An open-source framework for building modern, cloud-based, internet-connected applications.
- [Blazor](https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor) - A framework for building interactive web UIs using C# instead of JavaScript.
- [Entity Framework Core](https://docs.microsoft.com/en-us/ef/core/) - A lightweight, extensible, open-source and cross-platform version of the popular Entity Framework data access technology.
- [Blazor WASM](https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor) - A framework for building interactive web UIs using C# instead of JavaScript. It's a single-page app framework that runs in the browser via WebAssembly.
- [Playwright](https://playwright.dev/) - A Node.js library to automate Chromium, Firefox and WebKit with a single API. Used for end-to-end testing.
- [Docker](https://www.docker.com/) - A platform for building, sharing, and running containerized applications.
- [SQLite](https://www.sqlite.org/index.html) - A C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.
- [Tailwind CSS](https://tailwindcss.com/) - A utility-first CSS framework for rapidly building custom designs.
- [Flowbite](https://flowbite.com/) - A free and open-source UI component library.
- [Flowbite](https://flowbite.com/) - A free and open-source UI component library based on Tailwind CSS.
- [Konscious.Security.Cryptography](https://github.com/kmaragon/Konscious.Security.Cryptography) - A .NET library that implements Argon2id, a memory-hard password hashing algorithm.
- [SRP.net](https://github.com/secure-remote-password/srp.net) - SRP6a Secure Remote Password protocol for secure password authentication.
- [SmtpServer](https://github.com/cosullivan/SmtpServer) - A SMTP server library for .NET that is used for the virtual email address feature.
- [MimeKit](https://github.com/jstedfast/MimeKit) - A .NET MIME creation and parser library used for the virtual email address feature.

95
SECURITY.md Normal file
View File

@@ -0,0 +1,95 @@
# SECURITY.md
This document describes the encryption algorithms used by AliasVault in order to keep its user data secure.
## Overview
AliasVault features a [zero-knowledge architecture](https://en.wikipedia.org/wiki/Zero-knowledge_service) and uses a combination of encryption algorithms to protect the data of its users.
The basic premise is that the master password chosen by the user upon registration forms the basis for all encryption
and decryption operations. This master password is never transmitted over the network and only resides on the client.
All data is encrypted at rest and in transit. This ensures that even if the AliasVault servers are compromised,
the user's data remains secure.
## Encryption algorithms
The following encryption algorithms are used by AliasVault:
- [Argon2id](#argon2id)
- [SRP](#srp)
- [AES-GCM](#aes-gcm)
- [RSA-OAEP](#rsa-oaep)
Below is a detailed explanation of each encryption algorithm.
For more information about how these algorithms are specifically used in AliasVault, see the [Architecture Documentation](https://docs.aliasvault.net/architecture) section on the documentation site.
### Argon2id
To derive a key from the master password, AliasVault uses the Argon2id key derivation function. Argon2id is a memory-hard
key derivation function which allows for controlling the execution time, memory required and degree of parallelism.
This makes it resilient against brute-force attacks and makes it one of the best choices for deriving keys from passwords.
AliasVault uses Argon2id with the following default parameters:
- Degree of parallelism: 1
- Memory size: 19456 KB
- Iterations: 2
More information about Argon2id can be found on the [Argon2](https://en.wikipedia.org/wiki/Argon2) Wikipedia page.
### SRP
The Secure Remote Password (SRP) protocol is used for authenticating a user with the AliasVault server during login.
The SRP protocol is a password-authenticated key exchange protocol (PAKE). This means that the client and server can
authenticate each other using a password, without sending the password itself over the network.
With the use of SRP the master password never leaves the client. The client sends a verifier to the server,
which is a value derived from the master password. The server uses this verifier to authenticate the client without
having ever seen the actual master password.
For more information see the [SRP protocol](https://en.wikipedia.org/wiki/Secure_Remote_Password_protocol) information on Wikipedia.
### AES-256-GCM
All user's vault data is fully encrypted on the client using the AES-256-GCM encryption algorithm, which stands for
*Advanced Encryption Standard with 256-bit key in Galois/Counter Mode*. The key for encryption is derived from the
master password by using the Argon2Id algorithm. AliasVault implements AES-GCM with the following specifications:
- Key Size: 256 bits
- Uses the Web Crypto API's SubtleCrypto interface for secure cryptographic operations
- Generates a random 12-byte (96-bit) IV (initialization vector) for each encryption operation
- Performs all encryption/decryption operations entirely in the browser
#### The encryption process works as follows:
- A unique IV is generated for each encryption operation
- The users vault data is encrypted using AES-GCM with the derived key and IV
- The IV is prepended to the ciphertext
More information about AES-GCM can be found on the [AES-GCM](https://en.wikipedia.org/wiki/Galois/Counter_Mode) Wikipedia page.
### RSA-OAEP
To secure email communications, AliasVault uses RSA-OAEP (RSA with Optimal Asymmetric Encryption Padding). This asymmetric
encryption system allows AliasVault to store emails on the server in encrypted state which can only be read by the
intended recipient. AliasVault implements RSA-OAEP with the following specifications:
- Algorithm: RSA-OAEP with SHA-256 hash
- Key Size: 2048-bit modulus
- Key Format: JWK (JSON Web Key)
- Padding: OAEP (Optimal Asymmetric Encryption Padding)
#### Email Security Flow
1. Key Generation: When a user creates a vault, a RSA key pair is generated:
- A private key that remains in the encrypted user's vault and is never transmitted
- A public key that is sent to the server
2. Email Reception Process: When an email arrives at the AliasVault email server:
- The server generates a random 256-bit symmetric encryption key to encrypt the email contents
- The symmetric encryption key is encrypted using the recipient's asymmetric public key
- The encrypted email contents together with the encrypted symmetric encryption key are stored in the server's database
- The original email content is never stored or logged
3. Email Retrieval Process:
- When a user accesses their emails, the encrypted content is retrieved from the server
- The client-side application decrypts the symmetric encryption key using the user's private key that is stored in their vault
- The decrypted symmetric encryption key is used to decrypt the email contents
- Decryption occurs entirely in the browser, maintaining end-to-end encryption
This implementation ensures that:
- Emails are encrypted and secure at rest in the server database
- Only the intended recipient that holds the private key can decrypt and read their emails
- Even if the server is compromised, email contents remain encrypted and unreadable
More information about RSA-OAEP can be found on the [RSA-OAEP](https://en.wikipedia.org/wiki/Optimal_asymmetric_encryption_padding) Wikipedia page.

View File

@@ -3,48 +3,80 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.34928.147
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault", "src\AliasVault\AliasVault.csproj", "{BD2050C0-DC26-4777-9514-546525307370}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasDb", "src\AliasDb\AliasDb.csproj", "{64F47C9A-FE69-4793-B469-28BAADEC6706}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasGenerators", "src\AliasGenerators\AliasGenerators.csproj", "{78E84B4E-57D1-491A-8F4E-9879AE49DE0F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utilities", "Utilities", "{01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FaviconExtractor", "src\Utilities\FaviconExtractor\FaviconExtractor.csproj", "{ED328644-A152-403D-86EB-81201AA07744}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.FaviconExtractor", "src\Utilities\AliasVault.FaviconExtractor\AliasVault.FaviconExtractor.csproj", "{ED328644-A152-403D-86EB-81201AA07744}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.UnitTests", "src\Tests\AliasVault.UnitTests\AliasVault.UnitTests.csproj", "{8E6A418A-B305-465D-857D-49953605C18E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cryptography", "src\Utilities\Cryptography\Cryptography.csproj", "{427EA8E2-EA76-467E-A6BC-201EFE40C0D0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.Api", "src\AliasVault.Api\AliasVault.Api.csproj", "{B797C533-260E-4DA2-83B1-0EE4BCFE08DB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.WebApp", "src\AliasVault.WebApp\AliasVault.WebApp.csproj", "{25248E01-5A4B-4F95-A63C-BEA01499A1C2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.Client", "src\AliasVault.Client\AliasVault.Client.csproj", "{25248E01-5A4B-4F95-A63C-BEA01499A1C2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.Shared", "src\AliasVault.Shared\AliasVault.Shared.csproj", "{15EFE0D0-F41B-47D7-86B7-8F840335CB82}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.Shared", "src\Shared\AliasVault.Shared\AliasVault.Shared.csproj", "{15EFE0D0-F41B-47D7-86B7-8F840335CB82}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{29DE523D-EEF2-41E9-AC12-F20D8D02BEBB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.E2ETests", "src\Tests\AliasVault.E2ETests\AliasVault.E2ETests.csproj", "{AF013D08-1BF6-4E23-87D2-37F614BE7952}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Database", "Database", "{5F7417F6-4388-49CC-9511-ED63C4A6488A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasServerDb", "src\Databases\AliasServerDb\AliasServerDb.csproj", "{1277105D-50CD-4CE0-9C2C-549F46867E54}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasClientDb", "src\Databases\AliasClientDb\AliasClientDb.csproj", "{FE10F294-817F-477E-A24F-8597A15AF0B5}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.E2ETests.Client.Server", "src\Tests\Server\AliasVault.E2ETests.Client.Server\AliasVault.E2ETests.Client.Server.csproj", "{DD1F496F-CF10-47D1-A57F-5FA256479332}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Server", "Server", "{607945F3-9896-4544-99EC-F3496CF4D36B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AliasVault.CsvImportExport", "src\Utilities\AliasVault.CsvImportExport\AliasVault.CsvImportExport.csproj", "{A9C9A606-C87E-4298-AB32-09B1884D7487}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{8A477241-B96C-4174-968D-D40CB77F1ECD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.SmtpService", "src\Services\AliasVault.SmtpService\AliasVault.SmtpService.csproj", "{B095A174-E528-4D38-BEC1-D1D38B3B30C0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.IntegrationTests", "src\Tests\AliasVault.IntegrationTests\AliasVault.IntegrationTests.csproj", "{1C7C8DE9-5F2A-43DB-A25E-33319E80A509}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Admin", "src\AliasVault.Admin\AliasVault.Admin.csproj", "{F2CAE93E-94A7-4365-8E84-8D48CE8DD53F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.InstallCli", "src\Utilities\AliasVault.InstallCli\AliasVault.InstallCli.csproj", "{857BCD0E-753F-437A-AF75-B995B4D9A5FE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Logging", "src\Utilities\AliasVault.Logging\AliasVault.Logging.csproj", "{FF0B0E64-1AE2-415C-A404-0EB78010821A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.RazorComponents", "src\Shared\AliasVault.RazorComponents\AliasVault.RazorComponents.csproj", "{59642CEF-D90A-4A6B-AD3F-9C6300D1E3FC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.WorkerStatus", "src\Utilities\AliasVault.WorkerStatus\AliasVault.WorkerStatus.csproj", "{951C3DF8-DF22-4B2B-839F-FBA26DDD8ABD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.TotpGenerator", "src\Utilities\AliasVault.TotpGenerator\AliasVault.TotpGenerator.csproj", "{E8D9C551-67D2-4651-8EDF-4262DF7375CE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Auth", "src\Utilities\AliasVault.Auth\AliasVault.Auth.csproj", "{DA175274-0FF7-4436-9266-742F96C2D1ED}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Cryptography", "Cryptography", "{BB7E701E-B1C6-453E-800A-E12CE256318D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Cryptography.Server", "src\Utilities\Cryptography\AliasVault.Cryptography.Server\AliasVault.Cryptography.Server.csproj", "{341EC443-0B6B-4E8C-AF46-D6156573CEA5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Cryptography.Client", "src\Utilities\Cryptography\AliasVault.Cryptography.Client\AliasVault.Cryptography.Client.csproj", "{542C7B7D-C2B4-4AE3-9B2C-C62FCF4DFF8E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Generators", "Generators", "{03D55CA4-20B3-4FEA-9ADD-3C7B5B10E0FE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Generators.Password", "src\Generators\AliasVault.Generators.Password\AliasVault.Generators.Password.csproj", "{47F47A1B-49E0-406A-81C8-31FF2E4C339B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Generators.Identity", "src\Generators\AliasVault.Generators.Identity\AliasVault.Generators.Identity.csproj", "{80E74FBC-4EC8-45FB-B210-473337C484B5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{DD359F0A-0180-4F8F-9E48-46213386BA4D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Shared.Core", "src\Shared\AliasVault.Shared.Core\AliasVault.Shared.Core.csproj", "{40CA41BF-9E67-4D0A-A3F8-38B94992E4CA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.TaskRunner", "src\Services\AliasVault.TaskRunner\AliasVault.TaskRunner.csproj", "{D631A936-DD1C-40CC-B735-BD0A5D4F46A1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AliasVault.Shared.Server", "src\Shared\AliasVault.Shared.Server\AliasVault.Shared.Server.csproj", "{34FADEB6-4B56-463B-B359-F844B43D76D9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BD2050C0-DC26-4777-9514-546525307370}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD2050C0-DC26-4777-9514-546525307370}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD2050C0-DC26-4777-9514-546525307370}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD2050C0-DC26-4777-9514-546525307370}.Release|Any CPU.Build.0 = Release|Any CPU
{64F47C9A-FE69-4793-B469-28BAADEC6706}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{64F47C9A-FE69-4793-B469-28BAADEC6706}.Debug|Any CPU.Build.0 = Debug|Any CPU
{64F47C9A-FE69-4793-B469-28BAADEC6706}.Release|Any CPU.ActiveCfg = Release|Any CPU
{64F47C9A-FE69-4793-B469-28BAADEC6706}.Release|Any CPU.Build.0 = Release|Any CPU
{78E84B4E-57D1-491A-8F4E-9879AE49DE0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78E84B4E-57D1-491A-8F4E-9879AE49DE0F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78E84B4E-57D1-491A-8F4E-9879AE49DE0F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78E84B4E-57D1-491A-8F4E-9879AE49DE0F}.Release|Any CPU.Build.0 = Release|Any CPU
{ED328644-A152-403D-86EB-81201AA07744}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ED328644-A152-403D-86EB-81201AA07744}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ED328644-A152-403D-86EB-81201AA07744}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -53,10 +85,6 @@ Global
{8E6A418A-B305-465D-857D-49953605C18E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E6A418A-B305-465D-857D-49953605C18E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E6A418A-B305-465D-857D-49953605C18E}.Release|Any CPU.Build.0 = Release|Any CPU
{427EA8E2-EA76-467E-A6BC-201EFE40C0D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{427EA8E2-EA76-467E-A6BC-201EFE40C0D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{427EA8E2-EA76-467E-A6BC-201EFE40C0D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{427EA8E2-EA76-467E-A6BC-201EFE40C0D0}.Release|Any CPU.Build.0 = Release|Any CPU
{B797C533-260E-4DA2-83B1-0EE4BCFE08DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B797C533-260E-4DA2-83B1-0EE4BCFE08DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B797C533-260E-4DA2-83B1-0EE4BCFE08DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -73,6 +101,86 @@ Global
{AF013D08-1BF6-4E23-87D2-37F614BE7952}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF013D08-1BF6-4E23-87D2-37F614BE7952}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF013D08-1BF6-4E23-87D2-37F614BE7952}.Release|Any CPU.Build.0 = Release|Any CPU
{1277105D-50CD-4CE0-9C2C-549F46867E54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1277105D-50CD-4CE0-9C2C-549F46867E54}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1277105D-50CD-4CE0-9C2C-549F46867E54}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1277105D-50CD-4CE0-9C2C-549F46867E54}.Release|Any CPU.Build.0 = Release|Any CPU
{FE10F294-817F-477E-A24F-8597A15AF0B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FE10F294-817F-477E-A24F-8597A15AF0B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FE10F294-817F-477E-A24F-8597A15AF0B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FE10F294-817F-477E-A24F-8597A15AF0B5}.Release|Any CPU.Build.0 = Release|Any CPU
{DD1F496F-CF10-47D1-A57F-5FA256479332}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD1F496F-CF10-47D1-A57F-5FA256479332}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD1F496F-CF10-47D1-A57F-5FA256479332}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD1F496F-CF10-47D1-A57F-5FA256479332}.Release|Any CPU.Build.0 = Release|Any CPU
{A9C9A606-C87E-4298-AB32-09B1884D7487}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A9C9A606-C87E-4298-AB32-09B1884D7487}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A9C9A606-C87E-4298-AB32-09B1884D7487}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A9C9A606-C87E-4298-AB32-09B1884D7487}.Release|Any CPU.Build.0 = Release|Any CPU
{B095A174-E528-4D38-BEC1-D1D38B3B30C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B095A174-E528-4D38-BEC1-D1D38B3B30C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B095A174-E528-4D38-BEC1-D1D38B3B30C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B095A174-E528-4D38-BEC1-D1D38B3B30C0}.Release|Any CPU.Build.0 = Release|Any CPU
{1C7C8DE9-5F2A-43DB-A25E-33319E80A509}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1C7C8DE9-5F2A-43DB-A25E-33319E80A509}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1C7C8DE9-5F2A-43DB-A25E-33319E80A509}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1C7C8DE9-5F2A-43DB-A25E-33319E80A509}.Release|Any CPU.Build.0 = Release|Any CPU
{F2CAE93E-94A7-4365-8E84-8D48CE8DD53F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F2CAE93E-94A7-4365-8E84-8D48CE8DD53F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F2CAE93E-94A7-4365-8E84-8D48CE8DD53F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F2CAE93E-94A7-4365-8E84-8D48CE8DD53F}.Release|Any CPU.Build.0 = Release|Any CPU
{857BCD0E-753F-437A-AF75-B995B4D9A5FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{857BCD0E-753F-437A-AF75-B995B4D9A5FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{857BCD0E-753F-437A-AF75-B995B4D9A5FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{857BCD0E-753F-437A-AF75-B995B4D9A5FE}.Release|Any CPU.Build.0 = Release|Any CPU
{FF0B0E64-1AE2-415C-A404-0EB78010821A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FF0B0E64-1AE2-415C-A404-0EB78010821A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FF0B0E64-1AE2-415C-A404-0EB78010821A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FF0B0E64-1AE2-415C-A404-0EB78010821A}.Release|Any CPU.Build.0 = Release|Any CPU
{59642CEF-D90A-4A6B-AD3F-9C6300D1E3FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{59642CEF-D90A-4A6B-AD3F-9C6300D1E3FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{59642CEF-D90A-4A6B-AD3F-9C6300D1E3FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{59642CEF-D90A-4A6B-AD3F-9C6300D1E3FC}.Release|Any CPU.Build.0 = Release|Any CPU
{951C3DF8-DF22-4B2B-839F-FBA26DDD8ABD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{951C3DF8-DF22-4B2B-839F-FBA26DDD8ABD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{951C3DF8-DF22-4B2B-839F-FBA26DDD8ABD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{951C3DF8-DF22-4B2B-839F-FBA26DDD8ABD}.Release|Any CPU.Build.0 = Release|Any CPU
{E8D9C551-67D2-4651-8EDF-4262DF7375CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E8D9C551-67D2-4651-8EDF-4262DF7375CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E8D9C551-67D2-4651-8EDF-4262DF7375CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E8D9C551-67D2-4651-8EDF-4262DF7375CE}.Release|Any CPU.Build.0 = Release|Any CPU
{DA175274-0FF7-4436-9266-742F96C2D1ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DA175274-0FF7-4436-9266-742F96C2D1ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DA175274-0FF7-4436-9266-742F96C2D1ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DA175274-0FF7-4436-9266-742F96C2D1ED}.Release|Any CPU.Build.0 = Release|Any CPU
{341EC443-0B6B-4E8C-AF46-D6156573CEA5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{341EC443-0B6B-4E8C-AF46-D6156573CEA5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{341EC443-0B6B-4E8C-AF46-D6156573CEA5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{341EC443-0B6B-4E8C-AF46-D6156573CEA5}.Release|Any CPU.Build.0 = Release|Any CPU
{542C7B7D-C2B4-4AE3-9B2C-C62FCF4DFF8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{542C7B7D-C2B4-4AE3-9B2C-C62FCF4DFF8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{542C7B7D-C2B4-4AE3-9B2C-C62FCF4DFF8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{542C7B7D-C2B4-4AE3-9B2C-C62FCF4DFF8E}.Release|Any CPU.Build.0 = Release|Any CPU
{47F47A1B-49E0-406A-81C8-31FF2E4C339B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{47F47A1B-49E0-406A-81C8-31FF2E4C339B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{47F47A1B-49E0-406A-81C8-31FF2E4C339B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{47F47A1B-49E0-406A-81C8-31FF2E4C339B}.Release|Any CPU.Build.0 = Release|Any CPU
{80E74FBC-4EC8-45FB-B210-473337C484B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{80E74FBC-4EC8-45FB-B210-473337C484B5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{80E74FBC-4EC8-45FB-B210-473337C484B5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{80E74FBC-4EC8-45FB-B210-473337C484B5}.Release|Any CPU.Build.0 = Release|Any CPU
{40CA41BF-9E67-4D0A-A3F8-38B94992E4CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40CA41BF-9E67-4D0A-A3F8-38B94992E4CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40CA41BF-9E67-4D0A-A3F8-38B94992E4CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40CA41BF-9E67-4D0A-A3F8-38B94992E4CA}.Release|Any CPU.Build.0 = Release|Any CPU
{D631A936-DD1C-40CC-B735-BD0A5D4F46A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D631A936-DD1C-40CC-B735-BD0A5D4F46A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D631A936-DD1C-40CC-B735-BD0A5D4F46A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D631A936-DD1C-40CC-B735-BD0A5D4F46A1}.Release|Any CPU.Build.0 = Release|Any CPU
{34FADEB6-4B56-463B-B359-F844B43D76D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{34FADEB6-4B56-463B-B359-F844B43D76D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{34FADEB6-4B56-463B-B359-F844B43D76D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{34FADEB6-4B56-463B-B359-F844B43D76D9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -80,7 +188,31 @@ Global
GlobalSection(NestedProjects) = preSolution
{ED328644-A152-403D-86EB-81201AA07744} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{8E6A418A-B305-465D-857D-49953605C18E} = {29DE523D-EEF2-41E9-AC12-F20D8D02BEBB}
{427EA8E2-EA76-467E-A6BC-201EFE40C0D0} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{AF013D08-1BF6-4E23-87D2-37F614BE7952} = {29DE523D-EEF2-41E9-AC12-F20D8D02BEBB}
{1277105D-50CD-4CE0-9C2C-549F46867E54} = {5F7417F6-4388-49CC-9511-ED63C4A6488A}
{FE10F294-817F-477E-A24F-8597A15AF0B5} = {5F7417F6-4388-49CC-9511-ED63C4A6488A}
{DD1F496F-CF10-47D1-A57F-5FA256479332} = {607945F3-9896-4544-99EC-F3496CF4D36B}
{607945F3-9896-4544-99EC-F3496CF4D36B} = {29DE523D-EEF2-41E9-AC12-F20D8D02BEBB}
{A9C9A606-C87E-4298-AB32-09B1884D7487} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{B095A174-E528-4D38-BEC1-D1D38B3B30C0} = {8A477241-B96C-4174-968D-D40CB77F1ECD}
{1C7C8DE9-5F2A-43DB-A25E-33319E80A509} = {29DE523D-EEF2-41E9-AC12-F20D8D02BEBB}
{857BCD0E-753F-437A-AF75-B995B4D9A5FE} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{FF0B0E64-1AE2-415C-A404-0EB78010821A} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{951C3DF8-DF22-4B2B-839F-FBA26DDD8ABD} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{E8D9C551-67D2-4651-8EDF-4262DF7375CE} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{DA175274-0FF7-4436-9266-742F96C2D1ED} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{BB7E701E-B1C6-453E-800A-E12CE256318D} = {01AB9389-2F89-4F8E-A688-BF4BF1FC42C8}
{341EC443-0B6B-4E8C-AF46-D6156573CEA5} = {BB7E701E-B1C6-453E-800A-E12CE256318D}
{542C7B7D-C2B4-4AE3-9B2C-C62FCF4DFF8E} = {BB7E701E-B1C6-453E-800A-E12CE256318D}
{47F47A1B-49E0-406A-81C8-31FF2E4C339B} = {03D55CA4-20B3-4FEA-9ADD-3C7B5B10E0FE}
{80E74FBC-4EC8-45FB-B210-473337C484B5} = {03D55CA4-20B3-4FEA-9ADD-3C7B5B10E0FE}
{59642CEF-D90A-4A6B-AD3F-9C6300D1E3FC} = {DD359F0A-0180-4F8F-9E48-46213386BA4D}
{15EFE0D0-F41B-47D7-86B7-8F840335CB82} = {DD359F0A-0180-4F8F-9E48-46213386BA4D}
{40CA41BF-9E67-4D0A-A3F8-38B94992E4CA} = {DD359F0A-0180-4F8F-9E48-46213386BA4D}
{D631A936-DD1C-40CC-B735-BD0A5D4F46A1} = {8A477241-B96C-4174-968D-D40CB77F1ECD}
{34FADEB6-4B56-463B-B359-F844B43D76D9} = {DD359F0A-0180-4F8F-9E48-46213386BA4D}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FEE82475-C009-4762-8113-A6563D9DC49E}
EndGlobalSection
EndGlobal

6
certificates/README.md Normal file
View File

@@ -0,0 +1,6 @@
# Certificates directory structure
This directory contains certificates for AliasVault.
- `app`: Certificates that AliasVault uses to protect application data at rest (e.g. .NET DataProtection keys)
- `ssl`: SSL/TLS certificates for AliasVault hosted services

View File

@@ -0,0 +1,7 @@
# SSL certificates directory structure
This directory contains SSL/TLS certificates for various AliasVault services:
- `admin`: Certificate for the Admin UI.
- `api`: Certificate for the API service.
- `client`: Certificate for the Client UI.

36
docker-compose.build.yml Normal file
View File

@@ -0,0 +1,36 @@
services:
reverse-proxy:
image: aliasvault-reverse-proxy
build:
context: .
dockerfile: Dockerfile
client:
image: aliasvault-client
build:
context: .
dockerfile: src/AliasVault.Client/Dockerfile
api:
image: aliasvault-api
build:
context: .
dockerfile: src/AliasVault.Api/Dockerfile
admin:
image: aliasvault-admin
build:
context: .
dockerfile: src/AliasVault.Admin/Dockerfile
smtp:
image: aliasvault-smtp
build:
context: .
dockerfile: src/Services/AliasVault.SmtpService/Dockerfile
task-runner:
image: aliasvault-task-runner
build:
context: .
dockerfile: src/Services/AliasVault.TaskRunner/Dockerfile

View File

@@ -0,0 +1,7 @@
services:
certbot:
image: certbot/certbot
volumes:
- ./certificates/letsencrypt:/etc/letsencrypt:rw
- ./certificates/letsencrypt/www:/var/www/certbot:rw
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"

View File

@@ -1,33 +1,73 @@
services:
wasm:
image: aliasvault
build:
context: .
dockerfile: src/AliasVault.WebApp/Dockerfile
reverse-proxy:
image: ghcr.io/lanedirt/aliasvault-reverse-proxy:latest
ports:
- "80:8080"
restart: always
environment:
- API_URL=http://localhost:81
server:
image: aliasvault-server
build:
context: .
dockerfile: src/AliasVault/Dockerfile
ports:
- "82:8082"
- "${HTTP_PORT:-80}:80"
- "${HTTPS_PORT:-443}:443"
volumes:
- ./database:/database
- ./certificates/ssl:/etc/nginx/ssl:rw
- ./certificates/letsencrypt:/etc/nginx/ssl-letsencrypt:rw
- ./certificates/letsencrypt/www:/var/www/certbot:rw
depends_on:
- admin
- client
- api
- smtp
restart: always
env_file:
- .env
client:
image: ghcr.io/lanedirt/aliasvault-client:latest
volumes:
- ./logs/msbuild:/src/msbuild-logs:rw
expose:
- "3000"
restart: always
env_file:
- .env
api:
image: aliasvault-api
build:
context: .
dockerfile: src/AliasVault.Api/Dockerfile
ports:
- "81:8081"
image: ghcr.io/lanedirt/aliasvault-api:latest
expose:
- "3001"
volumes:
- ./database:/database
- ./database:/database:rw
- ./certificates/app:/certificates/app:rw
- ./logs:/logs:rw
restart: always
env_file:
- .env
admin:
image: ghcr.io/lanedirt/aliasvault-admin:latest
expose:
- "3002"
volumes:
- ./database:/database:rw
- ./certificates/app:/certificates/app:rw
- ./logs:/logs:rw
restart: always
env_file:
- .env
smtp:
image: ghcr.io/lanedirt/aliasvault-smtp:latest
ports:
- "${SMTP_PORT:-25}:25"
- "${SMTP_TLS_PORT:-587}:587"
volumes:
- ./database:/database:rw
- ./logs:/logs:rw
restart: always
env_file:
- .env
task-runner:
image: ghcr.io/lanedirt/aliasvault-task-runner:latest
volumes:
- ./database:/database:rw
- ./logs:/logs:rw
restart: always
env_file:
- .env

1
docs/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
!release

1
docs/CNAME Normal file
View File

@@ -0,0 +1 @@
docs.aliasvault.net

8
docs/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM jekyll/jekyll:4.2.2
WORKDIR /srv/jekyll
COPY . .
RUN chown -R jekyll:jekyll /srv/jekyll
# Install the theme and dependencies
RUN bundle install

8
docs/Gemfile Normal file
View File

@@ -0,0 +1,8 @@
source 'https://rubygems.org'
# gem "jekyll", "~> 4.3.2"
gem "just-the-docs"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins

286
docs/Gemfile.lock Normal file
View File

@@ -0,0 +1,286 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.2.2)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.8)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
colorator (1.1.0)
commonmarker (0.23.11)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
csv (3.3.0)
dnsruby (1.72.3)
base64 (~> 0.2.0)
simpleidn (~> 0.2.1)
drb (2.2.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.10.0)
faraday (2.12.1)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
ffi (1.17.0-x86_64-linux-musl)
forwardable-extended (2.6.0)
gemoji (4.1.0)
github-pages (232)
github-pages-health-check (= 1.18.2)
jekyll (= 3.10.0)
jekyll-avatar (= 0.8.0)
jekyll-coffeescript (= 1.2.2)
jekyll-commonmark-ghpages (= 0.5.1)
jekyll-default-layout (= 0.1.5)
jekyll-feed (= 0.17.0)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.16.1)
jekyll-include-cache (= 0.2.1)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.8.0)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.2.0)
jekyll-theme-cayman (= 0.2.0)
jekyll-theme-dinky (= 0.2.0)
jekyll-theme-hacker (= 0.2.0)
jekyll-theme-leap-day (= 0.2.0)
jekyll-theme-merlot (= 0.2.0)
jekyll-theme-midnight (= 0.2.0)
jekyll-theme-minimal (= 0.2.0)
jekyll-theme-modernist (= 0.2.0)
jekyll-theme-primer (= 0.6.0)
jekyll-theme-slate (= 0.2.0)
jekyll-theme-tactile (= 0.2.0)
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.13.0)
kramdown (= 2.4.0)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.4)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.16.2, < 2.0)
rouge (= 3.30.0)
terminal-table (~> 1.4)
webrick (~> 1.8)
github-pages-health-check (1.18.2)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (>= 4, < 8)
public_suffix (>= 3.0, < 6.0)
typhoeus (~> 1.3)
html-pipeline (2.14.3)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.8.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jekyll (3.10.0)
addressable (~> 2.4)
colorator (~> 1.0)
csv (~> 3.0)
em-websocket (~> 0.5)
i18n (>= 0.7, < 2)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
webrick (>= 1.0)
jekyll-avatar (0.8.0)
jekyll (>= 3.0, < 5.0)
jekyll-coffeescript (1.2.2)
coffee-script (~> 2.2)
coffee-script-source (~> 1.12)
jekyll-commonmark (1.4.0)
commonmarker (~> 0.22)
jekyll-commonmark-ghpages (0.5.1)
commonmarker (>= 0.23.7, < 1.1.0)
jekyll (>= 3.9, < 4.0)
jekyll-commonmark (~> 1.4.0)
rouge (>= 2.0, < 5.0)
jekyll-default-layout (0.1.5)
jekyll (>= 3.0, < 5.0)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.16.1)
jekyll (>= 3.4, < 5.0)
octokit (>= 4, < 7, != 4.4.0)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-mentions (1.6.0)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.3.0)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.3)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
rubyzip (>= 1.3.0, < 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
jekyll-theme-architect (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-cayman (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-dinky (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-merlot (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-midnight (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.6.0)
jekyll (> 3.5, < 5.0)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.0)
jekyll-theme-slate (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-tactile (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-time-machine (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.13.0)
gemoji (>= 3, < 5)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.8.2)
just-the-docs (0.10.0)
jekyll (>= 3.8.5)
jekyll-include-cache
jekyll-seo-tag (>= 2.0)
rake (>= 12.3.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.1)
mercenary (0.3.6)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.25.1)
net-http (0.5.0)
uri
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.1.1)
racc (1.8.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.9)
rouge (3.30.0)
rubyzip (2.3.2)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
securerandom (0.3.2)
simpleidn (0.2.3)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
uri (1.0.2)
webrick (1.9.0)
PLATFORMS
x86_64-linux-musl
DEPENDENCIES
github-pages
just-the-docs
BUNDLED WITH
2.3.25

40
docs/_config.yml Normal file
View File

@@ -0,0 +1,40 @@
remote_theme: just-the-docs/just-the-docs
title: AliasVault
description: Documentation for the AliasVault password manager
logo: "/assets/img/logo.svg"
favicon_ico: "/assets/img/favicon.png"
# Navigation settings
aux_links:
"AliasVault on GitHub":
- "https://github.com/lanedirt/AliasVault"
"AliasVault Website":
- "https://aliasvault.net"
aux_links_new_tab: true
# Search settings
search_enabled: true
heading_anchors: true
# Theme settings
color_scheme: aliasvault
# Enable copy code button
enable_copy_code_button: true
# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub."
gh_edit_repository: "https://github.com/lanedirt/AliasVault" # the github URL for your repo
gh_edit_branch: "main" # the branch that your docs is served from
gh_edit_source: docs # the source that your files originate from
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
callouts:
warning:
title: Warning
color: red
note:
title: Note
color: purple

View File

View File

@@ -0,0 +1 @@
&nbsp;

View File

@@ -0,0 +1,42 @@
@import "./color_schemes/dark";
// Base theme colors
$link-color: #f49541;
$btn-primary-color: #d68338;
// Main colors
$body-background-color: #1f2937;
$sidebar-color: #111827;
$border-color: #374151;
$body-text-color: #f8f9fa;
// Navigation
$nav-child-link-color: #fdde85;
$search-result-preview-color: #e9ecef;
// Content elements
$feedback-color: #2d3748;
$table-background-color: #374151;
$search-background-color: #374151;
// Code blocks
$code-background-color: #2d3748;
$code-linenumber-color: #9ca3af;
// Tables
$table-border-color: #4b5563;
// Search
$search-result-preview-color: #d1d5db;
// Buttons
$btn-primary-color-dark: #d68338;
// Base Colors (kept for compatibility)
$purple-000: #f8b963;
$purple-100: #ffd5a8;
$purple-200: #f49541;
$purple-300: #d68338;
// Navigation additional
$nav-button-color: #f49541;

View File

@@ -0,0 +1,82 @@
---
layout: default
title: Architecture
has_children: true
nav_order: 3
---
# Architecture
AliasVault implements a zero-knowledge architecture where sensitive user data and passwords never leave the client device in unencrypted form. Below is a detailed explanation of how the system secures user data and communications.
## Diagram
The security architecture diagram below illustrates all encryption and authentication processes used in AliasVault to secure user data and communications.
<picture>
<source media="(prefers-color-scheme: dark)" srcset="../assets/diagrams/security-architecture/aliasvault-security-architecture-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="../assets/diagrams/security-architecture/aliasvault-security-architecture-light.svg">
<img alt="AliasVault Security Architecture Diagram" src="../assets/diagrams/security-architecture/aliasvault-security-architecture-light.svg">
</picture>
You can also view the diagram in a browser-friendly HTML format: [AliasVault Security Architecture](https://lanedirt.github.io/AliasVault/assets/diagrams/security-architecture/aliasvault-security-architecture.html)
## Key Components and Process Flow
### 1. Key Derivation
- When a user enters their master password, it remains strictly on the client device
- The master password is processed through Argon2id (a memory-hard key derivation function) locally
- The derived key serves two purposes:
- Authentication with the server through the SRP protocol
- Local encryption/decryption of vault contents using AES-256-GCM
### 2. Authentication Process
1. SRP (Secure Remote Password) Authentication
- Enables secure password-based authentication without transmitting the password
- Client and server perform a cryptographic handshake to verify identity
2. Two-Factor Authentication (Optional)
- If enabled, requires an additional verification step after successful SRP authentication
- Uses Time-based One-Time Password (TOTP) protocol
- Compatible with standard authenticator apps (e.g., Google Authenticator)
- Server only issues the final JWT access token after successful 2FA verification
### 3. Vault Operations
- All vault contents are encrypted/decrypted locally using AES-256-GCM
- The encryption key is derived from the user's master password
- Only encrypted data is ever transmitted to or stored on the server
- The server never has access to the unencrypted vault contents
### 4. Email System Security
#### Key Generation and Storage
1. RSA key pair is generated locally on the client
2. Private key is stored in the encrypted vault
3. Public key is sent to the server and associated with email claim(s)
#### Email Reception Process
1. When an email is received, the server:
- Verifies if the recipient has a valid email claim
- If no valid claim exists, the email is rejected
- If valid, generates a random 256-bit symmetric key
- Encrypts the email content using this symmetric key
- Encrypts the symmetric key using the recipient's public key
- Stores both the encrypted email and encrypted symmetric key
#### Email Retrieval Process
1. Client retrieves encrypted email and encrypted symmetric key from server
2. Client uses private key from vault to decrypt the symmetric key
3. Client uses decrypted symmetric key to decrypt the email contents
4. All decryption occurs locally on the client device
> Note: The use of a symmetric key for email content encryption and asymmetric encryption for the symmetric key (hybrid encryption) is implemented due to RSA's limitations on encryption string length and for better performance.
## Security Benefits
- Zero-knowledge architecture ensures user data privacy
- Master password never leaves the client device
- All sensitive operations (key derivation, encryption/decryption) happen locally
- Server stores only encrypted data
- Multi-layer encryption for emails provides secure communication
- Optional 2FA adds an additional security layer
- Use of established cryptographic standards (Argon2id, AES-256-GCM, RSA/OAEP)
This security architecture ensures that even if the server is compromised, user data remains secure as all sensitive operations and keys remain strictly on the client side.

View File

@@ -0,0 +1,32 @@
# Diagrams
This folder contains architecture and flow diagrams for AliasVault in various formats.
## Draw.io Diagrams (.drawio)
Files with `.drawio` extension are created with Draw.io (also known as diagrams.net), an open-source diagramming tool.
### How to Open/Edit Draw.io Files
1. Web Interface (Cloud)
- Visit [diagrams.net](https://app.diagrams.net/)
- Open source code available at [github.com/jgraph/drawio](https://github.com/jgraph/drawio)
2. Desktop Applications (Offline)
- Available for Windows, macOS, and Linux
- Download from [github.com/jgraph/drawio-desktop/releases](https://github.com/jgraph/drawio-desktop/releases)
- Open source code available at [github.com/jgraph/drawio-desktop](https://github.com/jgraph/drawio-desktop)
3. VS Code Extension
- Install the [Draw.io Integration](https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio) extension
- Edit diagrams directly within VS Code
- Source code at [github.com/hediet/vscode-drawio](https://github.com/hediet/vscode-drawio)
## Mermaid Diagrams (.mmd)
Files with `.mmd` extension are [Mermaid](https://mermaid.js.org/) format diagrams. These are text-based diagram definitions that can be rendered by various tools.
### Editors & Tools for Mermaid
- [Mermaid Live Editor](https://github.com/mermaid-js/mermaid-live-editor) - Web-based editor with live preview
- [VS Code Mermaid Extension](https://github.com/mermaid-js/vscode-mermaid) - Preview and edit Mermaid diagrams directly in VS Code
- [Obsidian Mermaid Plugin](https://github.com/jobindj/obsidian-mermaid) - If you use Obsidian for documentation
- [GitLab](https://docs.gitlab.com/ee/user/markdown.html#mermaid) and [GitHub](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) both render Mermaid diagrams natively in markdown

View File

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1024 KiB

View File

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@@ -0,0 +1,452 @@
<mxfile host="Electron" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.17 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.17">
<diagram name="Page-1" id="ykhTdbPCDOXpVAqZYsCj">
<mxGraphModel dx="1775" dy="1249" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="6F2B19X3ZkVbRV3rCgbW-1" value="Legend" style="shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fontSize=16;align=left;verticalAlign=top;fillColor=#0050ef;strokeColor=#001DBC;fontColor=#ffffff;fontStyle=1;spacingLeft=6;spacing=0;resizable=0;" vertex="1" parent="1">
<mxGeometry x="275" y="1058" width="723" height="60" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-2" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-1">
<mxGeometry y="30" width="723" height="30" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-3" value="Cryptographic Operations" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=#432D57;overflow=hidden;fillColor=#76608a;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=#ffffff;spacingLeft=10;spacingRight=4;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-2">
<mxGeometry width="163" height="30" as="geometry">
<mxRectangle width="163" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-203" value="Storage Elements" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=#006EAF;overflow=hidden;fillColor=#1ba1e2;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=#ffffff;spacingLeft=10;spacingRight=4;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-2">
<mxGeometry x="163" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-208" value="&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;Keys and Sensitive Data&lt;/span&gt;" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=#B09500;overflow=hidden;fillColor=#e3c800;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=#000000;spacingLeft=10;spacingRight=4;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-2">
<mxGeometry x="283" width="170" height="30" as="geometry">
<mxRectangle width="170" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-213" value="Authentication Steps" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=#2D7600;overflow=hidden;fillColor=#60a917;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=#ffffff;spacingLeft=10;spacingRight=4;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-2">
<mxGeometry x="453" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-218" value="Process step" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=#6D1F00;overflow=hidden;fillColor=#a0522d;top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=#ffffff;spacingLeft=10;spacingRight=4;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-2">
<mxGeometry x="603" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-15" value="Client (WebAssembly)" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="40" y="52" width="1340" height="470" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-63" value="Vault operations" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="526.84" y="82" width="160" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-32" value="Server (REST API)" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="40" y="652" width="1340" height="390" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-43" value="" style="group;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" connectable="0" parent="1">
<mxGeometry x="70" y="682.65" width="410" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-33" value="Authentication flow" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry width="410" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-34" value="SRP server verification" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;strokeColor=#432D57;fontColor=#ffffff;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry x="150" y="40" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-35" value="2FA (Optional)" style="text;html=1;align=center;verticalAlign=top;whiteSpace=wrap;rounded=0;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry x="16" y="120" width="378" height="90" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-81" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-43" source="6F2B19X3ZkVbRV3rCgbW-36" target="6F2B19X3ZkVbRV3rCgbW-37">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-36" value="Google Authenticator or compatible" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry x="34" y="155" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-82" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-43" source="6F2B19X3ZkVbRV3rCgbW-37" target="6F2B19X3ZkVbRV3rCgbW-38">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-37" value="Time-based OTP" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry x="154" y="155" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-38" value="Verify OTP code" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry x="274" y="155" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-39" value="Issue JWT token" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#60a917;strokeColor=#2D7600;fontColor=#ffffff;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-43">
<mxGeometry x="150" y="239.35" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-40" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-43" source="6F2B19X3ZkVbRV3rCgbW-34" target="6F2B19X3ZkVbRV3rCgbW-35">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-256" y="440" as="sourcePoint" />
<mxPoint x="-206" y="390" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-41" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-43" source="6F2B19X3ZkVbRV3rCgbW-35" target="6F2B19X3ZkVbRV3rCgbW-39">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="215" y="100" as="sourcePoint" />
<mxPoint x="215" y="130" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-44" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-26" target="6F2B19X3ZkVbRV3rCgbW-66">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="369" y="640" as="sourcePoint" />
<mxPoint x="419" y="590" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-45" value="SRP handshake" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-44">
<mxGeometry x="-0.1654" y="1" relative="1" as="geometry">
<mxPoint x="8" y="15" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-27" value="AES256-GCM" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="1">
<mxGeometry x="554" y="222" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-26" value="SRP client" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="1">
<mxGeometry x="164" y="453" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-60" value="Key derivation and server authentication" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="95" y="82" width="250" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-16" value="Master Password &lt;br&gt;(not persisted)" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="145" y="172" width="150" height="50" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-20" value="Argon2Id" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="1">
<mxGeometry x="165" y="247" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-22" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-16" target="6F2B19X3ZkVbRV3rCgbW-20">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="405" y="282" as="sourcePoint" />
<mxPoint x="455" y="232" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-23" value="Derived Key &lt;br&gt;(stored in app memory)" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="144" y="320" width="150" height="50" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-24" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-20" target="6F2B19X3ZkVbRV3rCgbW-23">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="405" y="282" as="sourcePoint" />
<mxPoint x="455" y="232" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-28" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;curved=1;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-23" target="6F2B19X3ZkVbRV3rCgbW-26">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="420" y="552" as="sourcePoint" />
<mxPoint x="470" y="502" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-30" value="Used for authentication&lt;br&gt;with server" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-28">
<mxGeometry x="-0.1756" y="2" relative="1" as="geometry">
<mxPoint x="-2" y="24" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-67" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-66" target="6F2B19X3ZkVbRV3rCgbW-34">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-66" value="SRP salt/verifier" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="144" y="559" width="150" height="48" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-72" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-68" target="6F2B19X3ZkVbRV3rCgbW-27">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="609" y="392" />
<mxPoint x="609" y="392" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-180" value="Decrypt with&lt;br&gt;derived key" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-72">
<mxGeometry x="0.6371" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-68" value="Retrieve encrypted vault" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="549" y="330" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-47" value="Server storage" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;container=0;" vertex="1" parent="1">
<mxGeometry x="540" y="682.65" width="140" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-70" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-56" target="6F2B19X3ZkVbRV3rCgbW-68">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-181" value="Retrieve vault &lt;br&gt;from server" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-70">
<mxGeometry x="0.2454" y="1" relative="1" as="geometry">
<mxPoint y="-26" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-56" value="Encrypted Vault(s)" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;container=0;" vertex="1" parent="1">
<mxGeometry x="556" y="712.65" width="110" height="80" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-76" value="Claiming new email address" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="720" y="82" width="250" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-83" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-77" target="6F2B19X3ZkVbRV3rCgbW-79">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-100" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-77" target="6F2B19X3ZkVbRV3rCgbW-78">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-77" value="RSA/OAEP Key Generation" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="1">
<mxGeometry x="790" y="122" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-78" value="Public key" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="852" y="202" width="100" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-79" value="Private key" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="742" y="202" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-86" value="" style="group;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;" vertex="1" connectable="0" parent="1">
<mxGeometry x="870" y="687" width="490" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-87" value="Email system" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry width="490" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-113" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-109" target="6F2B19X3ZkVbRV3rCgbW-112">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-114" value="No" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-113">
<mxGeometry x="-0.1453" y="2" relative="1" as="geometry">
<mxPoint x="2" y="-12" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-116" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-109" target="6F2B19X3ZkVbRV3rCgbW-115">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-117" value="Yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-116">
<mxGeometry x="0.3626" y="3" relative="1" as="geometry">
<mxPoint x="18" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-109" value="Valid Email Claim?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="298.780487804878" y="225" width="95.60975609756098" height="80" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-112" value="Reject email" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="380" y="155.65" width="103.41" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-120" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-115" target="6F2B19X3ZkVbRV3rCgbW-121">
<mxGeometry relative="1" as="geometry">
<mxPoint x="89.6341463414634" y="201.30000000000007" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-125" value="Encrypt email contents &lt;br&gt;with symmetric key &lt;div&gt;&lt;br/&gt;&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-120">
<mxGeometry x="-0.4172" y="1" relative="1" as="geometry">
<mxPoint x="1" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-133" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-115" target="6F2B19X3ZkVbRV3rCgbW-124">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-115" value="Random generated&lt;br&gt;symmetric key" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="239.9982926829268" y="145.65" width="131.46341463414635" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-121" value="AES256-GCM" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="95.60975609756098" y="35.650000000000006" width="119.51219512195121" height="35.65" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-137" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-124" target="6F2B19X3ZkVbRV3rCgbW-121">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-124" value="Encrypt symmetric key with public key" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="70.00121951219514" y="105.65" width="131.46341463414635" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-101" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-78" target="6F2B19X3ZkVbRV3rCgbW-99">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="892" y="292" />
<mxPoint x="750" y="292" />
<mxPoint x="750" y="882" />
<mxPoint x="666" y="882" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-102" value="Save in server &lt;br&gt;public key store" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-101">
<mxGeometry x="0.4464" y="-2" relative="1" as="geometry">
<mxPoint x="9" y="-242" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-103" value="Register new email&lt;br&gt;claim" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="781" y="332" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-140" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-99" target="6F2B19X3ZkVbRV3rCgbW-124">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-141" value="Retrieve public key&lt;div&gt;associated with email claim&lt;/div&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-140">
<mxGeometry x="0.4692" relative="1" as="geometry">
<mxPoint x="17" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-99" value="Public key store" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="556" y="872.65" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-138" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-105" target="6F2B19X3ZkVbRV3rCgbW-109">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-153" value="Retrieve registered email &lt;br&gt;address claims" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-138">
<mxGeometry x="0.2388" y="-5" relative="1" as="geometry">
<mxPoint x="-10" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-105" value="Email claim store" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="555" y="932.65" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-158" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-107" target="6F2B19X3ZkVbRV3rCgbW-109">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-107" value="External email received from internet" style="shape=message;html=1;html=1;outlineConnect=0;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="1186.3899999999999" y="1058" width="60" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-106" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="830" y="372" as="sourcePoint" />
<mxPoint x="665" y="942" as="targetPoint" />
<Array as="points">
<mxPoint x="830" y="372" />
<mxPoint x="830" y="942" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-152" value="Register email claim&lt;br&gt;on server" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-106">
<mxGeometry x="-0.3735" relative="1" as="geometry">
<mxPoint x="11" y="-153" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-123" value="Encrypted email(s)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="556" y="812.65" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-134" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=1;entryY=0.75;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-121" target="6F2B19X3ZkVbRV3rCgbW-123">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1025" y="703" />
<mxPoint x="850" y="703" />
<mxPoint x="850" y="843" />
<mxPoint x="666" y="843" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-135" value="Store encrypted email" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-134">
<mxGeometry x="0.6857" relative="1" as="geometry">
<mxPoint x="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-136" value="Email retrieval and decryption" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="996.3900000000001" y="82" width="250" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-145" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-143" target="6F2B19X3ZkVbRV3rCgbW-144">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-146" value="Decrypt email using private key&lt;br&gt;&amp;nbsp;stored in vault" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-145">
<mxGeometry x="0.1105" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-143" value="Retrieve encrypted email" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="1061.39" y="122" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-148" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-144" target="6F2B19X3ZkVbRV3rCgbW-162">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1121.39" y="322" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-144" value="AES256-GCM" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="1">
<mxGeometry x="1066.39" y="232" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-150" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-123">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1060" y="142" as="targetPoint" />
<Array as="points">
<mxPoint x="672" y="823" />
<mxPoint x="920" y="822" />
<mxPoint x="920" y="482" />
<mxPoint x="1040" y="482" />
<mxPoint x="1040" y="142" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-151" value="Retrieve encrypted email" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-150">
<mxGeometry x="-0.6389" y="-1" relative="1" as="geometry">
<mxPoint x="-117" y="-1" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-159" value="" style="shape=image;aspect=fixed;image=data:image/svg+xml,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MDAgNTAwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtNDU5Ljg3IDI5NC45NWMwLjAxNjIwNSA1LjQwMDUgMC4wMzI0MSAxMC44MDEtMC4zNTAyMiAxNi44NzMtMS4xMTEgNi4zMzkyLTEuMTk0MSAxMi4xNzMtMi42MzUxIDE3LjY0OS0xMC45MjIgNDEuNTA4LTM2LjczMSA2OS40ODEtNzcuMzUxIDgzLjQwOC03LjIxNTcgMi40NzM5LTE0Ljk3MiAzLjM3MDItMjIuNDc5IDQuOTk1LTIzLjYyOSAwLjA0MjIwNS00Ny4yNTcgMC4xMTQ1My03MC44ODYgMC4xMjAyNy00Ni43NjIgMC4wMTEzMjItOTMuNTIzLTAuMDE0MTYtMTQwLjk1LTAuNDM0MTEtOC41OS0yLjAwMjQtMTYuNzY2LTIuODM1Mi0yNC4zOTgtNS4zMzI2LTIxLjU5NS03LjA2NjYtMzkuNTIzLTE5LjY1Ni01My43MDgtMzcuNTUyLTEwLjIyNy0xMi45MDMtMTcuNTc5LTI3LjE3LTIxLjI4LTQzLjIyMS0xLjQ3NS02LjM5NjctMi40NzExLTEyLjkwNC0zLjY4NTItMTkuMzYxLTAuMDUxODQ5LTUuNzQ3LTAuMTAzNy0xMS40OTQgMC4yNjkxNS0xNy44ODYgNC4xNTktNDIuOTczIDI3LjY4LTcxLjYzOCA2My41NjItOTIuMTUzIDAtMC43MDc2MS0wLjAwMTk2MS0xLjY5ODggMy4xMmUtNCAtMi42OSAwLjAyMjQ4NC05LjgyOTMtMS4zMDcxLTE5Ljg5NCAwLjM1NjY0LTI5LjQzOCAzLjIzOTEtMTguNTc5IDExLjA4LTM1LjI3MiAyMy43NjMtNDkuNzczIDEyLjA5OC0xMy44MzIgMjYuNDU3LTIzLjk4OSA0My42MDktMzAuMDI5IDcuODEzLTIuNzUxMiAxNi4xNC00LjA0MTcgMjQuMjM0LTUuOTk0OCA3LjM5Mi0wLjAyNTczNCAxNC43ODQtMC4wNTE0NiAyMi44MzUgMC4zMjI1MyA0LjE5NTkgMC45NTM5MiA3Ljc5NDYgMS4yNTM4IDExLjI1OCAyLjEwNTMgMTcuMTYgNC4yMTkyIDMyLjI4NyAxMi4xNzYgNDUuNDY5IDI0LjEwNCAyLjI1NTggMi4wNDExIDQuMzcyIDYuNjI0MSA5LjYyMSAzLjg2OCAxNi44MzktOC44NDE5IDM0LjcxOC0xMS41OTcgNTMuNjAzLTguNTk0IDE2Ljc5MSAyLjY2OTkgMzEuNjAyIDkuNDMwOCA0NC4yMzYgMjAuNjM2IDExLjUzMSAxMC4yMjcgMTkuODQgMjIuODQxIDI1LjM5MyAzNy4yMzYgNi4zNDM2IDE2LjQ0NSAxMC4zODkgMzMuMTYzIDYuMDc5OCA0OS4zODkgNy45NTg3IDguOTMyMSAxNS44MDcgMTYuNzA0IDIyLjQyMSAyNS40MTQgOS4xNjIgMTIuMDY1IDE1LjMzIDI1Ljc0NiAxOC4xNDQgNDAuNzc2IDAuOTcwNDYgNS4xODQ4IDEuOTExMSAxMC4zNzUgMi44NjU0IDE1LjU2M20tNzEuNTk3IDcxLjAxMmM1LjU2MTUtNS4yMjg0IDEyLjAwMi05Ljc5ODYgMTYuNTA4LTE1LjgxNyAxMC40NzQtMTMuOTkyIDE0LjMzMy0yOS45MTYgMTEuMjg4LTQ3LjQ0Ni0yLjI0OTYtMTIuOTUtOC4xOTczLTI0LjA3Ni0xNy4yNDMtMzMuMDYzLTEyLjc0Ni0xMi42NjMtMjguODY1LTE4LjYxNC00Ni43ODYtMTguNTY5LTY5LjkxMiAwLjE3NzEyLTEzOS44MiAwLjU2ODMxLTIwOS43NCAwLjk2MTc2LTE1LjkyMiAwLjA4OTU5OS0yOS4xNjggNy40MjA5LTM5LjY4NSAxOC4yOTYtMTQuNDUgMTQuOTQ0LTIwLjQwOCAzMy4zNDMtMTYuNjU1IDU0LjM2OCAyLjI3NjMgMTIuNzU0IDguMjE2NyAyMy43NDggMTcuMTU4IDMyLjY2IDEzLjI5OSAxMy4yNTUgMzAuMDk3IDE4LjY1MyA0OC43MjggMTguNjUxIDU5LjMyMS0wLjAwNTE4OCAxMTguNjQgMC4wNDIzNTggMTc3Ljk2LTAuMDQ2NjAxIDkuNTkxMi0wLjAxNDM3NCAxOS4xODEtMC44NjU4OCAyOC43NzMtMC44ODg1NSAxMC42NDktMC4wMjUxNDYgMTkuOTc4LTMuODI1IDI5LjY4Ny05LjEwNzR6IiBmaWxsPSIjRUVDMTcwIi8+CjxwYXRoIGQ9Im0xNjIuNzcgMjkzYzE1LjY1NCA0LjM4ODMgMjAuNjI3IDIyLjk2NyAxMC4zMDQgMzQuOTgtNS4zMTA0IDYuMTc5NS0xNC44MTcgOC4zMjA4LTI0LjI3OCA1LjA0NzItNy4wNzIzLTIuNDQ3MS0xMi4zMzItMTAuMzYyLTEyLjg3Ni0xNy45MzMtMS4wNDUxLTE0LjU0MiAxMS4wODktMjMuMTc2IDIxLjcwNS0yMy4wNDYgMS41Nzk0IDAuMDE5Mjg3IDMuMTUxNyAwLjYxNTY2IDUuMTQ2MSAwLjk1MTg0eiIgZmlsbD0iI0VFQzE3MCIvPgo8cGF0aCBkPSJtMjI3LjE4IDI5My42NGM3Ljg0OTkgMi4zOTczIDExLjkzOCA4LjIxNDMgMTMuNTI0IDE1LjA3NyAxLjg1OTEgOC4wNDM5LTAuNDQ4MTcgMTUuNzA2LTcuMTU4OCAyMS4xMjEtNi43NjMzIDUuNDU3Mi0xNC40MTcgNi44Nzk0LTIyLjU3OCAzLjE0ODMtOC4yOTcyLTMuNzkzMy0xMi44MzYtMTAuODQ5LTEyLjczNi0xOS40MzggMC4xNjg3LTE0LjQ5NyAxNC4xMy0yNS4zNjggMjguOTQ4LTE5LjkwOHoiIGZpbGw9IiNFRUMxNzAiLz4KPHBhdGggZD0ibTI2MS41NyAzMTkuMDdjLTIuNDk1LTE0LjQxOCA0LjY4NTMtMjIuNjAzIDE0LjU5Ni0yNi4xMDggOS44OTQ1LTMuNDk5NSAyMy4xODEgMy40MzAzIDI2LjI2NyAxMy43NzkgNC42NTA0IDE1LjU5MS03LjE2NTEgMjkuMDY0LTIxLjY2NSAyOC4xNjEtOC41MjU0LTAuNTMwODgtMTcuMjAyLTYuNTA5NC0xOS4xOTgtMTUuODMxeiIgZmlsbD0iI0VFQzE3MCIvPgo8cGF0aCBkPSJtMzM2LjkxIDMzMy40MWMtOS4wMTc1LTQuMjQ5MS0xNS4zMzctMTQuMzQ5LTEzLjgyOS0yMS42ODIgMy4wODI1LTE0Ljk4OSAxMy4zNDEtMjAuMzA0IDIzLjAxOC0xOS41ODUgMTAuNjUzIDAuNzkxNDEgMTcuOTMgNy40MDcgMTkuNzY1IDE3LjU0NyAxLjk1ODggMTAuODI0LTQuMTE3MSAxOS45MzktMTMuNDk0IDIzLjcwMy01LjI3MiAyLjExNjItMTAuMDkxIDEuNTA4Ni0xNS40NiAwLjAxNzg4M3oiIGZpbGw9IiNFRUMxNzAiLz4KPC9zdmc+Cg==;" vertex="1" parent="1">
<mxGeometry x="40" y="1060" width="58" height="58" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-160" value="AliasVault" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=24;fontStyle=1" vertex="1" parent="1">
<mxGeometry x="100" y="1064" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-161" value="Security architecture 0.6.0" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="98" y="1088" width="160" height="30" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-162" value="Decrypted email" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="1056.39" y="320" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-58" value="JWT token for &lt;br&gt;authenticating&lt;br&gt;with REST API" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=#e3c800;fontColor=#000000;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="364" y="559" width="155" height="48" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-165" value="Client local storage" style="rounded=0;whiteSpace=wrap;html=1;verticalAlign=top;container=0;" vertex="1" parent="1">
<mxGeometry x="370" y="82" width="140" height="320" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-166" value="Decrypted vault&lt;br&gt;(app memory)" style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=#1ba1e2;fontColor=#ffffff;strokeColor=#006EAF;container=0;" vertex="1" parent="1">
<mxGeometry x="380" y="112" width="110" height="80" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-167" value="JWT Token&lt;br&gt;(browser local storage)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="383" y="312" width="116" height="50" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-169" value="Derived Key&lt;br&gt;(app&lt;span style=&quot;background-color: initial;&quot;&gt;&amp;nbsp;memory)&lt;/span&gt;" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
<mxGeometry x="383" y="242" width="116" height="50" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-84" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-79" target="6F2B19X3ZkVbRV3rCgbW-166">
<mxGeometry relative="1" as="geometry">
<mxPoint x="630" y="222" as="targetPoint" />
<Array as="points">
<mxPoint x="752" y="152" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-85" value="Stored in vault" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-84">
<mxGeometry x="0.3345" y="3" relative="1" as="geometry">
<mxPoint x="7" y="-3" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-170" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="6F2B19X3ZkVbRV3rCgbW-169">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="342" as="sourcePoint" />
<Array as="points">
<mxPoint x="320" y="342" />
<mxPoint x="320" y="267" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-173" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-58" target="6F2B19X3ZkVbRV3rCgbW-167">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-174" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-39" target="6F2B19X3ZkVbRV3rCgbW-58">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="500" y="942" />
<mxPoint x="500" y="632" />
<mxPoint x="442" y="632" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-176" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-175" target="6F2B19X3ZkVbRV3rCgbW-16">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-175" value="User login" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="162" y="112" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-178" value="&lt;span style=&quot;&quot;&gt;JWT token protected API endpoints&lt;/span&gt;" style="shape=corner;whiteSpace=wrap;html=1;fontColor=default;fillColor=#e3c800;strokeColor=#B09500;" vertex="1" parent="1">
<mxGeometry x="567" y="552" width="803" height="80" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-179" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-27" target="6F2B19X3ZkVbRV3rCgbW-166">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="609" y="212" />
<mxPoint x="435" y="212" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-182" value="Store vault &lt;br&gt;in local WASM memory" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-179">
<mxGeometry x="-0.4412" y="1" relative="1" as="geometry">
<mxPoint x="28" y="-21" as="offset" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

View File

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,118 @@
%%{ init: { 'flowchart': { 'curve': 'basis' } } }%%
graph TB
%% Legend
subgraph Legend["Legend"]
L_CRYPTO["Cryptographic Operations"]
L_STORAGE["Storage Elements"]
L_KEY["Keys and Sensitive Data"]
L_PROCESS["Process Steps"]
L_AUTH["Authentication Steps"]
L_FLOW["Email Processing Flow"]
end
subgraph Client["Client (Local Only Operations)"]
direction TB
MP[/"Master Password\n(never leaves client)"/]
subgraph KD["1. Key Derivation"]
A2["Argon2id"]
DK[/"Derived Key"/]
MP --> A2
A2 --> DK
DK --> |"used for vault\nencryption/decryption"| AES
DK --> |"used for authentication"| SRP_C
end
subgraph VE["3. Vault Operations"]
AES["AES256-GCM"]
VAULT["Encrypted Vault Contents"]
AES --> |"encrypt/decrypt"| VAULT
end
subgraph KP["4. Email Key Management"]
RSA["RSA/OAEP Key Generation"]
PRK[/"Private Key\n(stored in vault)"/]
PBK[/"Public Key"/]
RSA --> |"generates pair"| PRK
RSA --> |"generates pair"| PBK
end
subgraph ED["5. Email Decryption"]
PRK --> |"decrypt symmetric key"| SK[/"Symmetric Key\n(AES256)"/]
SK --> |"decrypt email"| DC["Decrypted Email"]
end
end
subgraph Server["Server"]
direction TB
subgraph AUTH["Authentication Flow"]
SRP_S["SRP Verification"]
subgraph FA["2FA (Optional)"]
TOTP["Time-based OTP"]
GA["Google Authenticator\nor Compatible App"]
VERIFY["Verify OTP Code"]
GA --> |"generate code"| TOTP
TOTP --> |"user enters"| VERIFY
end
JWT["Issue JWT Token"]
SRP_S --> FA
FA --> |"if 2FA enabled"| JWT
SRP_S --> |"if 2FA disabled"| JWT
end
subgraph VS["Vault Storage"]
EV["Encrypted Vault Data"]
end
subgraph ES["Email System"]
EC["Email Claims"]
PKS["Public Key Store"]
subgraph EP["Email Processing"]
CHECK{"Valid\nEmail Claim?"}
REJECT["Reject Email"]
ESK[/"Generate Random\nSymmetric Key"/]
EE["Encrypt Email\nContent"]
ESP["Encrypt Symmetric Key\nwith Public Key"]
EST["Store Encrypted Email\n& Encrypted Sym Key"]
CHECK --> |"No"| REJECT
CHECK --> |"Yes"| ESK
ESK --> EE
ESK --> ESP
EE --> EST
ESP --> EST
end
end
end
%% Client-Server Interactions
SRP_C["SRP Client"] <--> |"SRP Authentication"| SRP_S
AES <--> |"encrypted vault transfer"| EV
PBK --> |"register"| PKS
EST --> |"retrieve encrypted\nemail & sym key"| ED
%% Styling
classDef process fill:#ddd,stroke:#333,stroke-width:2px
classDef storage fill:#b7e3fc,stroke:#333,stroke-width:2px
classDef key fill:#fef08a,stroke:#333,stroke-width:2px
classDef crypto fill:#e9d5ff,stroke:#333,stroke-width:2px
classDef auth fill:#86efac,stroke:#333,stroke-width:2px
classDef flow fill:#fca5a5,stroke:#333,stroke-width:2px
%% Apply styles to legend
class L_CRYPTO crypto
class L_STORAGE storage
class L_KEY key
class L_PROCESS process
class L_AUTH auth
class L_FLOW flow
%% Apply styles to elements
class A2,SRP_C,SRP_S,RSA,AES crypto
class EV,EST storage
class MP,DK,PRK,PBK,SK,ESK key
class KD,VE,KP,ED process
class SRP_S,FA,JWT,TOTP,VERIFY auth
class CHECK,EP flow

View File

Before

Width:  |  Height:  |  Size: 936 B

After

Width:  |  Height:  |  Size: 936 B

2
docs/assets/img/logo.svg Normal file
View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<svg enable-background="new 0 0 800 500" version="1.1" viewBox="-1.84 7.892 1822.253 474.315" xmlns="http://www.w3.org/2000/svg" xmlns:bx="https://boxy-svg.com" width="1822.253px" height="474.315px"><defs><bx:export><bx:file format="svg"/></bx:export></defs><path d="m459.87 294.95c0.016205 5.4005 0.03241 10.801-0.35022 16.873-1.111 6.3392-1.1941 12.173-2.6351 17.649-10.922 41.508-36.731 69.481-77.351 83.408-7.2157 2.4739-14.972 3.3702-22.479 4.995-23.629 0.042205-47.257 0.11453-70.886 0.12027-46.762 0.011322-93.523-0.01416-140.95-0.43411-8.59-2.0024-16.766-2.8352-24.398-5.3326-21.595-7.0666-39.523-19.656-53.708-37.552-10.227-12.903-17.579-27.17-21.28-43.221-1.475-6.3967-2.4711-12.904-3.6852-19.361-0.051849-5.747-0.1037-11.494 0.26915-17.886 4.159-42.973 27.68-71.638 63.562-92.153 0-0.70761-0.001961-1.6988 3.12e-4 -2.69 0.022484-9.8293-1.3071-19.894 0.35664-29.438 3.2391-18.579 11.08-35.272 23.763-49.773 12.098-13.832 26.457-23.989 43.609-30.029 7.813-2.7512 16.14-4.0417 24.234-5.9948 7.392-0.025734 14.784-0.05146 22.835 0.32253 4.1959 0.95392 7.7946 1.2538 11.258 2.1053 17.16 4.2192 32.287 12.176 45.469 24.104 2.2558 2.0411 4.372 6.6241 9.621 3.868 16.839-8.8419 34.718-11.597 53.603-8.594 16.791 2.6699 31.602 9.4308 44.236 20.636 11.531 10.227 19.84 22.841 25.393 37.236 6.3436 16.445 10.389 33.163 6.0798 49.389 7.9587 8.9321 15.807 16.704 22.421 25.414 9.162 12.065 15.33 25.746 18.144 40.776 0.97046 5.1848 1.9111 10.375 2.8654 15.563m-71.597 71.012c5.5615-5.2284 12.002-9.7986 16.508-15.817 10.474-13.992 14.333-29.916 11.288-47.446-2.2496-12.95-8.1973-24.076-17.243-33.063-12.746-12.663-28.865-18.614-46.786-18.569-69.912 0.17712-139.82 0.56831-209.74 0.96176-15.922 0.089599-29.168 7.4209-39.685 18.296-14.45 14.944-20.408 33.343-16.655 54.368 2.2763 12.754 8.2167 23.748 17.158 32.66 13.299 13.255 30.097 18.653 48.728 18.651 59.321-0.005188 118.64 0.042358 177.96-0.046601 9.5912-0.014374 19.181-0.86588 28.773-0.88855 10.649-0.025146 19.978-3.825 29.687-9.1074z" fill="#EEC170"/><path d="m162.77 293c15.654 4.3883 20.627 22.967 10.304 34.98-5.3104 6.1795-14.817 8.3208-24.278 5.0472-7.0723-2.4471-12.332-10.362-12.876-17.933-1.0451-14.542 11.089-23.176 21.705-23.046 1.5794 0.019287 3.1517 0.61566 5.1461 0.95184z" fill="#EEC170"/><path d="m227.18 293.64c7.8499 2.3973 11.938 8.2143 13.524 15.077 1.8591 8.0439-0.44817 15.706-7.1588 21.121-6.7633 5.4572-14.417 6.8794-22.578 3.1483-8.2972-3.7933-12.836-10.849-12.736-19.438 0.1687-14.497 14.13-25.368 28.948-19.908z" fill="#EEC170"/><path d="m261.57 319.07c-2.495-14.418 4.6853-22.603 14.596-26.108 9.8945-3.4995 23.181 3.4303 26.267 13.779 4.6504 15.591-7.1651 29.064-21.665 28.161-8.5254-0.53088-17.202-6.5094-19.198-15.831z" fill="#EEC170"/><path d="m336.91 333.41c-9.0175-4.2491-15.337-14.349-13.829-21.682 3.0825-14.989 13.341-20.304 23.018-19.585 10.653 0.79141 17.93 7.407 19.765 17.547 1.9588 10.824-4.1171 19.939-13.494 23.703-5.272 2.1162-10.091 1.5086-15.46 0.017883z" fill="#EEC170"/><text style="fill: rgb(255, 255, 255); font-family: Arial, sans-serif; font-size: 268.3px; font-weight: 700; white-space: pre;" x="531.151" y="358.747">AliasVault</text></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

14
docs/contact/index.md Normal file
View File

@@ -0,0 +1,14 @@
---
layout: default
title: Help and Support
has_children: true
nav_order: 100
---
# Help and Support
If you need help or have any questions about installing or using AliasVault, you can reach us on [AliasVault Discord](https://discord.gg/DsaXMTEtpF).
If you have found a bug or have a feature request, please open an issue on [AliasVault GitHub](https://github.com/lanedirt/AliasVault/issues).
If you have any other questions or feedback, please use the contact form on the [AliasVault website](https://aliasvault.net/contact).

12
docs/docker-compose.yml Normal file
View File

@@ -0,0 +1,12 @@
services:
jekyll:
build: .
volumes:
- .:/srv/jekyll
ports:
- "4000:4000"
command: bundle exec jekyll serve --host 0.0.0.0 --watch --force_polling --livereload
environment:
- JEKYLL_ENV=development
- JEKYLL_NO_CACHE=true
- DISABLE_DISK_CACHE=true

45
docs/index.md Normal file
View File

@@ -0,0 +1,45 @@
---
layout: home
title: Home
nav_order: 1
description: "AliasVault Documentation - Open-source password and identity manager"
permalink: /
---
# AliasVault Documentation
{: .fs-9 }
Open-source password and identity manager with email alias generation and zero-knowledge architecture.
{: .fs-6 .fw-300 }
[Installation](./installation/install){: .btn .btn-primary .fs-5 .mb-4 .mb-md-0 .mr-2 }
[View on GitHub](https://github.com/lanedirt/AliasVault){: .btn .fs-5 .mb-4 .mb-md-0 }
---
## What is AliasVault?
AliasVault is a self-hosted password and identity manager that helps you:
- 🔐 **Secure Passwords** - Store and manage passwords with zero-knowledge encryption
- 📧 **Email Aliases** - Generate unique email addresses for each service
- 🎭 **Identity Management** - Create and manage separate online identities
- 🏠 **Self-Hosted** - Run on your own infrastructure using Docker
- 🔓 **Open Source** - Transparent, auditable, and free to use
## Key Features
### Zero-Knowledge Architecture
All data is end-to-end encrypted on the client. Your master password never leaves your device, and the server never has access to your data.
### Built-in Email Server
Generate virtual email addresses for each identity. Emails sent to these addresses are instantly visible in the AliasVault app.
### Virtual Identities
Create separate identities for different purposes, each with its own email aliases and credentials.
---
## Getting Started
Ready to get started with AliasVault? Check out the [installation guide](./installation).

View File

@@ -0,0 +1,33 @@
---
layout: default
title: Build from Source
parent: Advanced
nav_order: 1
---
# Build from Source
Instead of using the pre-built Docker images, you can also build the images from source yourself. This allows you to build a specific version of AliasVault and/or to make changes to the source code.
Building from source requires more resources:
- Minimum 2GB RAM (more RAM will speed up build time)
- At least 1 vCPU
- 40GB+ disk space (for dependencies and build artifacts)
- Docker installed
- Git installed
## Steps
1. Clone the repository
```bash
git clone https://github.com/lanedirt/AliasVault.git
cd AliasVault
```
2. Make the build script executable and run it. This will create the .env file, build the Docker images locally from source, and start the AliasVault containers. Follow the on-screen prompts to configure AliasVault.
```bash
chmod +x install.sh
./install.sh build
```
> **Note:** The build process can take a while depending on your hardware (5-15 minutes).
3. After the script completes, you can access AliasVault at:
- Client: `https://localhost`
- Admin: `https://localhost/admin`

View File

@@ -0,0 +1,9 @@
---
layout: default
title: Advanced
parent: Installation Guide
nav_order: 2
---
# Advanced Installation
The following guides provide more advanced installation options for AliasVault. These options are not required for the basic installation, but may be useful for advanced users.

View File

@@ -0,0 +1,140 @@
---
layout: default
title: Manual Setup
parent: Advanced
nav_order: 2
---
# Manual Setup
If you prefer to manually set up AliasVault, this README provides step-by-step instructions. Follow these steps if you prefer to execute all statements yourself.
## Prerequisites
- Docker and Docker Compose installed on your system
- OpenSSL for generating random passwords
## Steps
1. **Create required directories**
Create the following directories in your project root:
```bash
mkdir -p certificates/ssl certificates/app database logs/msbuild
```
2. **Create .env file**
Copy the `.env.example` file to create a new `.env` file:
```bash
cp .env.example .env
```
3. **Set HOSTNAME**
Update the .env file with your hostname (default is localhost):
```bash
HOSTNAME=localhost
```
4. **Generate and set JWT_KEY**
Generate a random 32-char string for JWT token generation:
```bash
openssl rand -base64 32
```
Add the generated key to the .env file:
```bash
JWT_KEY=your_generated_key_here
```
5. **Generate and set DATA_PROTECTION_CERT_PASS**
Generate a random password for the data protection certificate:
```bash
openssl rand -base64 32
```
Add it to the .env file:
```bash
DATA_PROTECTION_CERT_PASS=your_generated_password_here
```
6. **Set PRIVATE_EMAIL_DOMAINS**
Update the .env file with allowed email domains. Use DISABLED.TLD to disable email support:
```bash
PRIVATE_EMAIL_DOMAINS=yourdomain.com,anotherdomain.com
```
Or to disable email:
```bash
PRIVATE_EMAIL_DOMAINS=DISABLED.TLD
```
7. **Set SUPPORT_EMAIL (Optional)**
Add a support email address if desired:
```bash
SUPPORT_EMAIL=support@yourdomain.com
```
8. **Generate admin password**
Build the Docker image for password hashing:
```bash
docker build -t installcli -f src/Utilities/AliasVault.InstallCli/Dockerfile .
```
Generate the password hash:
```bash
docker run --rm installcli "your_preferred_admin_password_here"
```
Add the password hash and generation timestamp to the .env file:
```bash
ADMIN_PASSWORD_HASH=<output_from_previous_command>
ADMIN_PASSWORD_GENERATED=2024-01-01T00:00:00Z
```
9. **Build and start Docker containers**
Build the Docker Compose stack:
```bash
docker compose build
```
Start the Docker Compose stack:
```bash
docker compose up -d
```
10. **Access AliasVault**
AliasVault should now be running. You can access it at:
- Admin Panel: https://localhost/admin
- Username: admin
- Password: [Use the password you set in step 8]
- Client Website: https://localhost/
- Create your own account from here
## Important Notes
- Make sure to save the admin password you used in step 8 in a secure location.
- If you need to reset the admin password in the future, repeat step 8 and restart the Docker containers.
- Always keep your .env file secure and do not share it, as it contains sensitive information.
## Troubleshooting
If you encounter any issues during the setup:
1. Check the Docker logs:
```bash
docker compose logs
```
2. Ensure all required ports (80 and 443) are available and not being used by other services.
3. Verify that all environment variables in the .env file are set correctly.
For further assistance, please refer to the project documentation or seek support through the appropriate channels.

View File

@@ -0,0 +1,8 @@
---
layout: default
title: Installation Guide
nav_order: 2
---
# Installation Guide
The following guide will walk you through the steps to install AliasVault on your own server. Minimum experience with Docker and Linux is required.

View File

@@ -0,0 +1,150 @@
---
layout: default
title: Basic Install
parent: Installation Guide
nav_order: 1
---
# Basic Install
The following guide will walk you through the steps to install AliasVault on your own server. Minimum experience with Docker and Linux is required.
{: .toc }
* TOC
{:toc}
---
## 1. Basic Installation
To get AliasVault up and running quickly, run the install script to pull pre-built Docker images. The install script will also configure the .env file and start the AliasVault containers. You can get up and running in less than 5 minutes.
### Hardware requirements
- Linux VM with root access (Ubuntu or RHEL based distros recommended)
- 1 vCPU
- 512MB RAM
- 16GB disk space
- Docker installed
### Installation steps
1. Download the install script to a directory of your choice. All AliasVault files and directories will be created in this directory.
```bash
curl -o install.sh https://raw.githubusercontent.com/lanedirt/AliasVault/main/install.sh
```
2. Make the install script executable.
```bash
chmod +x install.sh
```
3. Run the install script. This will create the .env file, pull the Docker images, and start the AliasVault containers. Follow the on-screen prompts to configure AliasVault.
```bash
./install.sh install
```
> **Note**: AliasVault binds to ports 80 and 443 by default. If you want to change the default AliasVault ports you can do so in the `.env` file. Afterwards re-run the `./install.sh install` command to restart the containers with the new port settings.
3. After the script completes, you can access AliasVault at:
- Client: `https://localhost`
- Admin: `https://localhost/admin`
---
## 2. SSL configuration
The default installation will create a self-signed SSL certificate and configure Nginx to use it.
You can however also use Let's Encrypt to generate valid SSL certificates and configure Nginx to use it. In order to make this work you will need the following:
- A public IPv4 address assigned to your server
- Port 80 and 443 on your server must be open and accessible from the internet
- A registered domain name with an A record pointing to your server's public IP address (e.g. mydomain.com)
### Steps
1. Run the install script with the `configure-ssl` option
```bash
./install.sh configure-ssl
```
2. Follow the prompts to configure Let's Encrypt.
### Reverting to self-signed SSL
If at any point you would like to revert to the self-signed SSL certificate, run the install script again with the `configure-ssl` option
and then in the prompt choose option 2.
---
## 3. Email Server Setup
AliasVault includes a built-in email server that can handle multiple custom domains for your aliases.
To set up the email server, you need the following:
- Public IPv4 address
- Open ports (25 and 587) in server firewall for SMTP traffic
- Access to DNS record management for your domain
### a) DNS Configuration
Configure the following DNS records for your domain:
| Name | Type | Priority | Content | TTL |
|------|------|----------|---------------------------|-----|
| mail | A | | `<your-server-public-ip>` | 3600 |
| @ | MX | 10 | `mail.<your-domain>` | 3600 |
> Note: Replace `<your-server-public-ip>` and `<your-domain>` with your actual values.
### b) Port Configuration
The email server requires the following ports to be open:
- Port 25: Standard SMTP (unencrypted)
- Port 587: SMTP with STARTTLS (encrypted)
#### Verifying Port Access
You can test if the SMTP ports are correctly configured using telnet:
```bash
# Test standard SMTP port
telnet <your-server-public-ip> 25
# Test secure SMTP port
telnet <your-server-public-ip> 587
```
If successful, you'll see a connection establishment message. Press Ctrl+C to exit the telnet session.
### c) Setting Up Email Domains
1. Run the email configuration script:
```bash
./install.sh configure-email
````
2. Follow the interactive prompts to:
- Configure your domain(s)
- Restart required services
3. Once configured, you can:
- Create new aliases in the AliasVault client
- Use your custom domain(s) for email addresses
- Note: you can configure the default domain for new aliases in the AliasVault client in Menu > Settings > Email Settings > Default Email Domain
- Start receiving emails on your aliases
{: .note }
Important: DNS propagation can take up to 24-48 hours. During this time, email delivery might be inconsistent.
If you encounter any issues, feel free to open an issue on the [GitHub repository](https://github.com/lanedirt/AliasVault/issues).
---
## 4. Troubleshooting
### Resetting the admin password
If you have lost your admin password, you can reset it by running the install script with the `reset-password` option. This will generate a new random password and update the .env file with it. After that it will restart the AliasVault containers to apply the changes.
```bash
./install.sh reset-password
```
### Verbose output
If you need more detailed output from the install script, you can run it with the `--verbose` option. This will print more information to the console.
```bash
./install.sh install --verbose
```
### No emails being received
If you are not receiving emails on your aliases, check the following:
- Verify DNS records are correctly configured
- Ensure ports 25 and 587 are accessible
- Check your server's firewall settings
- Verify that your ISP/hosting provider allows SMTP traffic

View File

@@ -0,0 +1,30 @@
---
layout: default
title: Start/stop
parent: Installation Guide
nav_order: 2
---
# Starting and stopping AliasVault
You can start and stop AliasVault easily by using the install script.
## Stop
To stop AliasVault, run the install script with the `stop` option. This will stop all running AliasVault containers.
```bash
./install.sh stop
```
## Start
To start AliasVault, run the install script with the `start` option. This will start all AliasVault containers.
```bash
./install.sh start
```
## Restart
To restart AliasVault, run the install script with the `restart` option. This will restart all AliasVault containers.
```bash
./install.sh restart
```

View File

@@ -0,0 +1,19 @@
---
layout: default
title: Uninstall
parent: Installation Guide
nav_order: 4
---
# Uninstall
To uninstall AliasVault, run the install script with the `uninstall` option. This will stop and remove the AliasVault containers, remove the Docker images, and delete the .env file.
{: .note }
This will not delete any data stored in the database. If you wish to delete all data, you should manually delete the `database` directory and the other directories created by AliasVault.
### Steps
1. Run the install script with the `uninstall` option
```bash
./install.sh uninstall
```

View File

@@ -0,0 +1,43 @@
---
layout: default
title: Update
parent: Installation Guide
nav_order: 3
---
# Updating AliasVault
To update AliasVault to the latest version, run the install script with the `update` option. This will pull the latest version of AliasVault from GitHub and restart all containers.
You can see the latest available version of AliasVault on [GitHub](https://github.com/lanedirt/AliasVault/releases).
{: .warning }
Before updating, it's recommended to backup your database and other important data. You can do this by making
a copy of the `database` and `certificates` directories.
## Updating to the latest available version
To update to the latest version, run the install script with the `update` option. The script will check for the latest version and prompt you to confirm the update. Follow the prompts to complete the update.
```bash
./install.sh update
```
> Tip: to skip the confirmation prompts and automatically proceed with the update, use the `-y` flag: `./install.sh update -y`
## Updating the installer script
The installer script can check for and apply updates to itself. This is done as part of the `update` command. However you can also update the installer script separately with the `update-installer` command. This is useful if you want to update the installer script without updating AliasVault itself, e.g. as a separate step during CI/CD pipeline.
```bash
./install.sh update-installer
```
> Tip: to skip the confirmation prompts and automatically proceed with the update, use the `-y` flag: `./install.sh update-installer -y`
## Installing a specific version
To install a specific version and skip the automatic version checks, run the install script with the `install` option and specify the version you want to install.
```bash
./install.sh install <version>
# Example:
./install.sh install 0.7.0
```

View File

@@ -0,0 +1,27 @@
---
layout: default
title: Configure SQLite for use with WebAssembly
parent: Development
grand_parent: Miscellaneous
nav_order: 2
---
# Configure SQLite for use with WebAssembly
To configure SQLite for use with WebAssembly follow these steps:
1. Add NuGet package
```
dotnet add package SQLitePCLRaw.bundle_e_sqlite3
```
2. Modify .csproj and add the following:
```xml
<PropertyGroup>
<WasmBuildNative>true</WasmBuildNative>
</PropertyGroup>
```
3. Make sure the "wasm-tools" workload is installed on the local machine in order to build the project:
```
dotnet workload install wasm-tools
```

View File

@@ -0,0 +1,21 @@
---
layout: default
title: Enable WebAuthn
parent: Development
grand_parent: Miscellaneous
nav_order: 1
---
# WebAuthn
The webauthn implementation in order to quick unlock the vault requires the use of a FIDO2 authenticator.
This can be either the built-in browser authenticator or an external authenticator like a Yubikey.
At the time of writing (2024-10-04), only some browsers support the required PRF extension. In order to make it work in Chrome, you need to enable the PRF extension in the browser settings.
## Chrome
1. Open the Chrome browser and navigate to `chrome://flags/#enable-experimental-web-platform-features`.
2. Enable the `Experimental Web Platform features` flag.
3. Restart the browser.
4. Now it should be possible to use the built-in chrome password manager to unlock the vault.

6
docs/misc/dev/index.md Normal file
View File

@@ -0,0 +1,6 @@
---
layout: default
title: Development
parent: Miscellaneous
nav_order: 1
---

View File

@@ -0,0 +1,94 @@
---
layout: default
title: 1. Run GitHub Actions Locally
parent: Development
grand_parent: Miscellaneous
nav_order: 1
---
# Run GitHub Actions Locally
This guide will help you set up and run GitHub Actions locally on Linux, which can be useful for debugging and testing your workflows without pushing changes to the repository.
## Prerequisites
- Linux (Ubuntu or RHEL-based distributions)
- [Docker](https://www.docker.com/) installed and running
## Setup Instructions
### 1. Install GitHub CLI
First, install the GitHub CLI using Homebrew:
```bash
sudo dnf install 'dnf-command(config-manager)'
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install gh --repo gh-cli
```
### 2. Install Nektos/Act
Next, install the Nektos/Act extension for GitHub CLI:
```bash
gh extension install https://github.com/nektos/gh-act
```
## Basic usage
To run GitHub Actions locally, navigate to the root of your Git project and execute:
```bash
act
```
This command will pull the necessary Docker containers and execute the GitHub Actions defined in your repository.
### Understanding the `-P` Option
By default, `act` uses a simple Docker container that is small in size. However, official GitHub runners are much larger (10GB or even 100GB+). When certain commands or environments are needed, you should specify the full runner image using the `-P` option.
The `-P` option allows you to map the platform to a specific Docker image. This is particularly useful when you need to replicate the environment of the official GitHub runners more closely.
Syntax:
```bash
act -P ubuntu-latest=catthehacker/ubuntu:full-latest
```
This command tells `act` to use the `catthehacker/ubuntu:full-latest` Docker image for the `ubuntu-latest` platform, which is a more complete representation of the GitHub-hosted runner environment.
## Debugging E2E Tests for AliasVault
To run and debug the E2E tests for AliasVault using a more complete runner image, use the following command:
```bash
act -W .github/workflows/dotnet-e2e-tests.yml -P ubuntu-latest=catthehacker/ubuntu:full-latest
```
This command does the following:
- `-W .github/workflows/dotnet-e2e-tests.yml`: Specifies the workflow file to run
- `-P ubuntu-latest=catthehacker/ubuntu:full-latest`: Uses a more complete Ubuntu image that better replicates the GitHub-hosted runner environment
Running this command will execute the E2E tests locally, allowing you to debug and test your workflow without pushing changes to the repository.
```bash
docker image prune -a -f && docker system prune -a -f
```
## Troubleshooting
### Handling Disk Space Errors
If you encounter disk space errors, you can free up space by pruning Docker images and system resources:
### Misc
If you encounter any issues while running GitHub Actions locally, consider the following:
1. Ensure Docker is running and has sufficient resources allocated.
2. Check that your workflow file is correctly formatted and placed in the `.github/workflows/` directory.
3. Verify that all required secrets and environment variables are properly set.
4. If you're using specific tools or commands that are available in GitHub-hosted runners but not in the default `act` image, make sure to use the `-P` option with an appropriate image as shown in the E2E tests example.
For more detailed information and advanced usage, refer to the [Nektos/Act GitHub repository](https://github.com/nektos/act).

View File

@@ -0,0 +1,22 @@
---
layout: default
title: Upgrade the AliasClientDb EF model
parent: Development
grand_parent: Miscellaneous
nav_order: 3
---
# Upgrade the AliasClientDb EF model
To upgrade the AliasClientDb EF model, follow these steps:
1. Make changes to the AliasClientDb EF model in the `AliasClientDb` project.
2. Create a new migration by running the following command in the `AliasClientDb` project:
```bash
# Important: make sure the migration name is prefixed by the Semver version number of the release.
# For example, if the release version is 1.0.0, the migration name should be `1.0.0-<migration-name>`.
dotnet ef migrations add "1.0.0-<migration-name>"
```
4. On the next login of a user, they will be prompted (required) to upgrade their database schema to the latest version.
Make sure to manually test this.

10
docs/misc/index.md Normal file
View File

@@ -0,0 +1,10 @@
---
layout: default
title: Miscellaneous
has_children: true
nav_order: 99
---
# Miscellaneous
Miscellaneous guides and documentation.

View File

@@ -0,0 +1,19 @@
---
layout: default
title: Create a new release
parent: Release
grand_parent: Miscellaneous
nav_order: 1
---
# Release Preparation Checklist
Follow the steps in the checklist below to prepare a new release.
- [ ] Update ./src/Shared/AliasVault.Shared.Core/AppInfo.cs and update major/minor/patch to the new version. This version will be shown in the client and admin app footer.
- [ ] Update ./install.sh `@version` in header if the install script has changed. This allows the install script to self-update when running ./install.sh update command on default installations.
- [ ] Update README screenshots if applicable
- [ ] Update README current/upcoming features
Optional steps:
- [ ] Update /docs instructions if any changes have been made to the setup process

View File

@@ -0,0 +1,6 @@
---
layout: default
title: Release
parent: Miscellaneous
nav_order: 1
---

33
entrypoint.sh Normal file
View File

@@ -0,0 +1,33 @@
#!/bin/sh
# Create SSL directory if it doesn't exist
mkdir -p /etc/nginx/ssl
# Generate self-signed SSL certificate if not exists
if [ ! -f /etc/nginx/ssl/cert.pem ] || [ ! -f /etc/nginx/ssl/key.pem ]; then
echo "Generating new SSL certificate..."
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout /etc/nginx/ssl/key.pem \
-out /etc/nginx/ssl/cert.pem \
-subj "/C=US/ST=State/L=City/O=Organization/CN=localhost"
# Set proper permissions
chmod 644 /etc/nginx/ssl/cert.pem
chmod 600 /etc/nginx/ssl/key.pem
fi
# Create the appropriate SSL configuration based on LETSENCRYPT_ENABLED
if [ "${LETSENCRYPT_ENABLED}" = "true" ]; then
cat > /etc/nginx/ssl.conf << EOF
ssl_certificate /etc/nginx/ssl-letsencrypt/live/${HOSTNAME}/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl-letsencrypt/live/${HOSTNAME}/privkey.pem;
EOF
else
cat > /etc/nginx/ssl.conf << EOF
ssl_certificate /etc/nginx/ssl/cert.pem;
ssl_certificate_key /etc/nginx/ssl/key.pem;
EOF
fi
# Start nginx
nginx -g "daemon off;"

1321
install.sh Executable file
View File

File diff suppressed because it is too large Load Diff

100
nginx.conf Normal file
View File

@@ -0,0 +1,100 @@
events {
worker_connections 1024;
}
http {
upstream client {
server client:3000;
}
upstream api {
server api:3001;
}
upstream admin {
server admin:3002;
}
# Preserve any existing X-Forwarded-* headers, this is relevant if AliasVault
# is running behind another reverse proxy.
set_real_ip_from 10.0.0.0/8;
set_real_ip_from 172.16.0.0/12;
set_real_ip_from 192.168.0.0/16;
real_ip_header X-Forwarded-For;
real_ip_recursive on;
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Enable gzip compression, which reduces the amount of data that needs to be transferred
# to speed up WASM load times.
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
server {
listen 80;
server_name _;
# Handle ACME challenge for Let's Encrypt certificate validation
location /.well-known/acme-challenge/ {
allow all;
root /var/www/certbot;
try_files $uri =404;
default_type "text/plain";
add_header Cache-Control "no-cache";
break;
}
# Redirect all other HTTP traffic to HTTPS
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name _;
# Include the appropriate SSL certificate configuration generated
# by the entrypoint script.
include /etc/nginx/ssl.conf;
# Admin interface
location /admin {
proxy_pass http://admin;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Add WebSocket support for Blazor server
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400;
}
# API endpoints
location /api {
proxy_pass http://api;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
# Client app (root path)
location / {
proxy_pass http://client;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
}

View File

@@ -1,143 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="AliasDbContext.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasDb;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
/// <summary>
/// The AliasDbContext class.
/// </summary>
public class AliasDbContext : IdentityDbContext
{
/// <summary>
/// Initializes a new instance of the <see cref="AliasDbContext"/> class.
/// </summary>
public AliasDbContext()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="AliasDbContext"/> class.
/// </summary>
/// <param name="options">DbContextOptions.</param>
public AliasDbContext(DbContextOptions<AliasDbContext> options)
: base(options)
{
}
/// <summary>
/// Gets or sets the Identities DbSet.
/// </summary>
public DbSet<Identity> Identities { get; set; }
/// <summary>
/// Gets or sets the Logins DbSet.
/// </summary>
public DbSet<Login> Logins { get; set; }
/// <summary>
/// Gets or sets the Passwords DbSet.
/// </summary>
public DbSet<Password> Passwords { get; set; }
/// <summary>
/// Gets or sets the Services DbSet.
/// </summary>
public DbSet<Service> Services { get; set; }
/// <summary>
/// Gets or sets the AspNetUserRefreshTokens DbSet.
/// </summary>
public DbSet<AspNetUserRefreshToken> AspNetUserRefreshTokens { get; set; }
/// <summary>
/// The OnModelCreating method.
/// </summary>
/// <param name="modelBuilder">ModelBuilder instance.</param>
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
foreach (var entity in modelBuilder.Model.GetEntityTypes())
{
foreach (var property in entity.GetProperties())
{
// TODO: This is a workaround for SQLite. Add conditional check if SQLite is used.
// TODO: SQL server doesn't need this override.
// SQLite does not support varchar(max) so we use TEXT.
if (property.ClrType == typeof(string) && property.GetMaxLength() == null)
{
property.SetColumnType("TEXT");
}
}
}
// Configure Identity - Login relationship
modelBuilder.Entity<Login>()
.HasOne(l => l.Identity)
.WithMany()
.HasForeignKey(l => l.IdentityId)
.OnDelete(DeleteBehavior.Cascade);
// Configure the Login - UserId entity
modelBuilder.Entity<Login>()
.HasOne(p => p.User)
.WithMany()
.HasForeignKey(p => p.UserId)
.IsRequired();
// Configure Login - Service relationship
modelBuilder.Entity<Login>()
.HasOne(l => l.Service)
.WithMany()
.HasForeignKey(l => l.ServiceId)
.OnDelete(DeleteBehavior.Cascade);
// Configure Login - Password relationship
modelBuilder.Entity<Login>()
.HasMany(l => l.Passwords)
.WithOne(p => p.Login)
.HasForeignKey(p => p.LoginId)
.OnDelete(DeleteBehavior.Cascade);
// Configure Identity - DefaultPassword relationship
modelBuilder.Entity<Identity>()
.HasOne(i => i.DefaultPassword)
.WithMany()
.HasForeignKey(i => i.DefaultPasswordId)
.OnDelete(DeleteBehavior.SetNull);
// Configure the User - AspNetUserRefreshToken entity
modelBuilder.Entity<AspNetUserRefreshToken>()
.HasOne(p => p.User)
.WithMany()
.HasForeignKey(p => p.UserId)
.IsRequired();
}
/// <summary>
/// Sets up the connection string if it is not already configured.
/// </summary>
/// <param name="optionsBuilder">DbContextOptionsBuilder instance.</param>
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
// If the options are not already configured, use the appsettings.json file.
if (!optionsBuilder.IsConfigured)
{
var configuration = new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("appsettings.json")
.Build();
optionsBuilder
.UseSqlite(configuration.GetConnectionString("AliasDbContext"))
.UseLazyLoadingProxies();
}
}
}

View File

@@ -1,135 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="Identity.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasDb;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
/// <summary>
/// The identity entity.
/// </summary>
public class Identity
{
/// <summary>
/// Gets or sets the identity primary key.
/// </summary>
[Key]
public Guid Id { get; set; }
/// <summary>
/// Gets or sets the gender.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? Gender { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? FirstName { get; set; } = null!;
/// <summary>
/// Gets or sets the last name.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? LastName { get; set; } = null!;
/// <summary>
/// Gets or sets the nickname.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? NickName { get; set; }
/// <summary>
/// Gets or sets the birth date.
/// </summary>
public DateTime BirthDate { get; set; }
/// <summary>
/// Gets or sets the address street.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? AddressStreet { get; set; }
/// <summary>
/// Gets or sets the address city.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? AddressCity { get; set; }
/// <summary>
/// Gets or sets the address state.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? AddressState { get; set; }
/// <summary>
/// Gets or sets the address zip code.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? AddressZipCode { get; set; }
/// <summary>
/// Gets or sets the address country.
/// </summary>
[StringLength(255)]
[Column(TypeName = "VARCHAR")]
public string? AddressCountry { get; set; }
/// <summary>
/// Gets or sets the hobbies in CSV format, can contain multiple values separated by ";".
/// </summary>
[StringLength(255)]
public string? Hobbies { get; set; }
/// <summary>
/// Gets or sets the generated email prefix.
/// </summary>
[StringLength(255)]
public string? EmailPrefix { get; set; }
/// <summary>
/// Gets or sets the random generated mobile phone number.
/// </summary>
[StringLength(255)]
public string? PhoneMobile { get; set; }
/// <summary>
/// Gets or sets the generated IBAN bank account number.
/// </summary>
[StringLength(255)]
public string? BankAccountIBAN { get; set; }
/// <summary>
/// Gets or sets the created timestamp.
/// </summary>
public DateTime CreatedAt { get; set; }
/// <summary>
/// Gets or sets the updated timestamp.
/// </summary>
public DateTime UpdatedAt { get; set; }
/// <summary>
/// Gets or sets the login foreign key.
/// </summary>
public Guid? DefaultPasswordId { get; set; }
/// <summary>
/// Gets or sets the login navigation property.
/// </summary>
[ForeignKey("DefaultPasswordId")]
public virtual Password? DefaultPassword { get; set; }
}

View File

@@ -1,38 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="FigIdentityGenerator.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasGenerators.Identity.Implementations;
using System.Text.Json;
/// <summary>
/// Identity generator which generates random identities using the identiteitgenerator.nl semi-public API.
/// </summary>
public class FigIdentityGenerator : IIdentityGenerator
{
private static readonly HttpClient HttpClient = new();
private static readonly string Url = "https://api.identiteitgenerator.nl/generate/identity";
/// <inheritdoc/>
public async Task<Identity.Models.Identity> GenerateRandomIdentityAsync()
{
var response = await HttpClient.GetAsync(Url);
response.EnsureSuccessStatusCode();
var json = await response.Content.ReadAsStringAsync();
var identity = JsonSerializer.Deserialize<Identity.Models.Identity>(json, new JsonSerializerOptions
{
PropertyNameCaseInsensitive = true,
});
if (identity is null)
{
throw new InvalidOperationException("Failed to deserialize the identity from FIG WebApi.");
}
return identity;
}
}

View File

@@ -1,27 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="StaticIdentityGenerator.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasGenerators.Identity.Implementations;
using AliasGenerators.Identity;
/// <summary>
/// Static identity generator which implements IIdentityGenerator but always returns
/// the same static identity for testing purposes.
/// </summary>
public class StaticIdentityGenerator : IIdentityGenerator
{
/// <inheritdoc/>
public async Task<Identity.Models.Identity> GenerateRandomIdentityAsync()
{
await Task.Yield(); // Add an await statement to make the method truly asynchronous.
return new Identity.Models.Identity
{
FirstName = "John",
LastName = "Doe",
};
}
}

View File

@@ -1,38 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="Address.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasGenerators.Identity.Models;
/// <summary>
/// Address model.
/// </summary>
public class Address
{
/// <summary>
/// Gets or sets the street.
/// </summary>
public string Street { get; set; } = null!;
/// <summary>
/// Gets or sets the city.
/// </summary>
public string City { get; set; } = null!;
/// <summary>
/// Gets or sets the state.
/// </summary>
public string State { get; set; } = null!;
/// <summary>
/// Gets or sets the zip code.
/// </summary>
public string ZipCode { get; set; } = null!;
/// <summary>
/// Gets or sets the country.
/// </summary>
public string Country { get; set; } = null!;
}

View File

@@ -1,88 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="Identity.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasGenerators.Identity.Models;
/// <summary>
/// Identity model.
/// </summary>
public class Identity
{
/// <summary>
/// Gets or sets the id.
/// </summary>
public string Id { get; set; } = null!;
/// <summary>
/// Gets or sets the gender.
/// </summary>
public int Gender { get; set; }
/// <summary>
/// Gets or sets the first name.
/// </summary>
public string FirstName { get; set; } = null!;
/// <summary>
/// Gets or sets the last name.
/// </summary>
public string LastName { get; set; } = null!;
/// <summary>
/// Gets or sets the nickname. This is also used as the username.
/// </summary>
public string NickName { get; set; } = null!;
/// <summary>
/// Gets or sets the birth date.
/// </summary>
public DateTime BirthDate { get; set; }
/// <summary>
/// Gets or sets the address.
/// </summary>
public Address Address { get; set; } = null!;
/// <summary>
/// Gets or sets the job.
/// </summary>
public Job Job { get; set; } = null!;
/// <summary>
/// Gets or sets the hobbies.
/// </summary>
public List<string> Hobbies { get; set; } = null!;
/// <summary>
/// Gets or sets the email address prefix.
/// </summary>
public string EmailPrefix { get; set; } = null!;
/// <summary>
/// Gets or sets the password.
/// </summary>
public string Password { get; set; } = null!;
/// <summary>
/// Gets or sets the phone mobile.
/// </summary>
public string PhoneMobile { get; set; } = null!;
/// <summary>
/// Gets or sets the bank account IBAN.
/// </summary>
public string BankAccountIBAN { get; set; } = null!;
/// <summary>
/// Gets or sets the profile photo in base64 format.
/// </summary>
public string ProfilePhotoBase64 { get; set; } = null!;
/// <summary>
/// Gets or sets the profile photo prompt.
/// </summary>
public string ProfilePhotoPrompt { get; set; } = null!;
}

View File

@@ -1,38 +0,0 @@
//-----------------------------------------------------------------------
// <copyright file="Job.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasGenerators.Identity.Models;
/// <summary>
/// Job model.
/// </summary>
public class Job
{
/// <summary>
/// Gets or sets the title.
/// </summary>
public string Title { get; set; } = null!;
/// <summary>
/// Gets or sets the company.
/// </summary>
public string Company { get; set; } = null!;
/// <summary>
/// Gets or sets the salary.
/// </summary>
public string Salary { get; set; } = null!;
/// <summary>
/// Gets or sets the calculated salary.
/// </summary>
public decimal SalaryCalculated { get; set; }
/// <summary>
/// Gets or sets the description.
/// </summary>
public string Description { get; set; } = null!;
}

View File

@@ -0,0 +1,54 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-AliasVault.Admin-1DAADE35-C01B-43BB-B440-AA5E1E0B672D</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<NoWarn>1701;1702;NU1900</NoWarn>
<LangVersion>13</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DocumentationFile>bin\Debug\net9.0\AliasVault.Admin.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DocumentationFile>bin\Release\net9.0\AliasVault.Admin.xml</DocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Databases\AliasServerDb\AliasServerDb.csproj" />
<ProjectReference Include="..\Shared\AliasVault.RazorComponents\AliasVault.RazorComponents.csproj" />
<ProjectReference Include="..\Shared\AliasVault.Shared.Core\AliasVault.Shared.Core.csproj" />
<ProjectReference Include="..\Shared\AliasVault.Shared.Server\AliasVault.Shared.Server.csproj" />
<ProjectReference Include="..\Utilities\AliasVault.Auth\AliasVault.Auth.csproj" />
<ProjectReference Include="..\Utilities\AliasVault.Logging\AliasVault.Logging.csproj" />
<ProjectReference Include="..\Utilities\Cryptography\AliasVault.Cryptography.Server\AliasVault.Cryptography.Server.csproj" />
</ItemGroup>
</Project>

View File

@@ -12,30 +12,36 @@
/// <summary>
/// Gets or sets the ID of the input field.
/// </summary>
[Parameter] public string Id { get; set; } = null!;
[Parameter]
public required string Id { get; set; }
/// <summary>
/// Gets or sets the value of the input field.
/// </summary>
[Parameter] public string Value { get; set; } = null!;
[Parameter]
public required string Value { get; set; }
/// <summary>
/// Gets or sets the event callback that is triggered when the value changes.
/// </summary>
[Parameter] public EventCallback<string?> ValueChanged { get; set; }
[Parameter]
public required EventCallback<string?> ValueChanged { get; set; }
/// <summary>
/// Gets or sets the expression that identifies the value property.
/// </summary>
[Parameter] public Expression<Func<string>> ValueExpression { get; set; } = null!;
[Parameter]
public required Expression<Func<string>> ValueExpression { get; set; }
/// <summary>
/// Gets or sets the placeholder text for the input field.
/// </summary>
[Parameter] public string Placeholder { get; set; } = null!;
[Parameter]
public required string Placeholder { get; set; }
/// <summary>
/// Gets or sets additional attributes for the input field.
/// </summary>
[Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object?>? AdditionalAttributes { get; set; } = new();
[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object?>? AdditionalAttributes { get; set; } = new();
}

View File

@@ -0,0 +1,10 @@
@using AliasVault.Admin.Services
@inject NavigationService NavigationService
<a href="@NavigationService.BaseUri">
<div class="text-5xl font-bold text-gray-900 dark:text-white mb-4 flex items-center">
<img src="img/logo.svg" alt="AliasVault" class="w-20 h-20 mr-2" />
<span>AliasVault</span>
<span class="ps-2 self-center hidden sm:flex text-lg font-bold whitespace-nowrap text-white bg-red-600 rounded-full px-2 py-1 ml-2">Admin</span>
</div>
</a>

View File

@@ -0,0 +1,36 @@
@inherits LayoutComponentBase
@using AliasVault.Admin.Auth.Components
@implements IDisposable
@inject NavigationManager NavigationManager
<div class="flex flex-col items-center justify-center px-6 pt-8 mx-auto md:h-screen pt:mt-0 dark:bg-gray-900">
<Logo />
<div class="w-full max-w-xl p-6 space-y-4 sm:p-8 bg-white rounded-lg shadow dark:bg-gray-800">
@Body
</div>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>
@code {
/// <inheritdoc />
public void Dispose()
{
NavigationManager.LocationChanged -= OnLocationChanged;
}
/// <inheritdoc />
protected override void OnInitialized()
{
NavigationManager.LocationChanged += OnLocationChanged;
}
private void OnLocationChanged(object? sender, LocationChangedEventArgs e)
{
StateHasChanged();
}
}

View File

@@ -0,0 +1,18 @@
#blazor-error-ui {
background: lightyellow;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
z-index: 1000;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}

View File

@@ -0,0 +1,78 @@
//-----------------------------------------------------------------------
// <copyright file="AuthBase.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.Admin.Auth.Pages;
using AliasServerDb;
using AliasVault.Admin.Main.Components.Alerts;
using AliasVault.Admin.Services;
using AliasVault.Auth;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Identity;
/// <summary>
/// Base auth page that all pages that are part of the auth (non-logged in part of website) should inherit from.
/// All pages that inherit from this class will require the user to be logged out. If user is logged in they
/// are automatically redirected to index page.
/// </summary>
public class AuthBase : OwningComponentBase
{
/// <summary>
/// Gets or sets the logger.
/// </summary>
[Inject]
protected ILogger<Login> Logger { get; set; } = null!;
/// <summary>
/// Gets or sets the navigation service.
/// </summary>
[Inject]
protected NavigationService NavigationService { get; set; } = null!;
/// <summary>
/// Gets or sets the sign in manager.
/// </summary>
[Inject]
protected SignInManager<AdminUser> SignInManager { get; set; } = null!;
/// <summary>
/// Gets or sets the user manager.
/// </summary>
[Inject]
protected UserManager<AdminUser> UserManager { get; set; } = null!;
/// <summary>
/// Gets or sets the authentication state provider.
/// </summary>
[Inject]
protected AuthenticationStateProvider AuthenticationStateProvider { get; set; } = null!;
/// <summary>
/// Gets or sets the auth logging service.
/// </summary>
[Inject]
protected AuthLoggingService AuthLoggingService { get; set; } = null!;
/// <summary>
/// Gets or sets object which holds server validation errors to show in the UI.
/// </summary>
protected ServerValidationErrors ServerValidationErrors { get; set; } = new();
/// <inheritdoc />
protected override async Task OnInitializedAsync()
{
var authState = await AuthenticationStateProvider.GetAuthenticationStateAsync();
var user = authState.User;
// Redirect to home if the user is already authenticated
if (SignInManager.IsSignedIn(user))
{
NavigationService.RedirectTo("./");
}
}
}

View File

@@ -0,0 +1,8 @@
@page "/user/forgot-password"
<LayoutPageTitle>Forgot your password?</LayoutPageTitle>
<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-2">
Forgot your password?
</h2>
<p class="text-sm text-gray-500 dark:text-gray-400">If you have forgotten your password, contact the server admin or consult the AliasVault documentation on how to reset your password.</p>

View File

@@ -0,0 +1,8 @@
@page "/user/lockout"
<LayoutPageTitle>Locked out</LayoutPageTitle>
<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-2">
Locked out
</h2>
<p class="text-sm text-gray-500 dark:text-gray-400">You have entered an incorrect password too many times and your account has now been locked out. You can try again in 30 minutes.</p>

View File

@@ -0,0 +1,112 @@
@page "/user/login"
@using AliasVault.Shared.Models.Enums
<LayoutPageTitle>Log in</LayoutPageTitle>
<h2 class="text-2xl font-bold text-gray-900 dark:text-white">
Sign in to AliasVault Admin
</h2>
<ServerValidationErrors @ref="ServerValidationErrors" />
<EditForm Model="Input" FormName="LoginForm" OnValidSubmit="LoginUser" class="mt-8 space-y-6">
<DataAnnotationsValidator/>
<div>
<label asp-for="Input.UserName" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your username</label>
<InputTextField id="username" @bind-Value="Input.UserName" placeholder="username" />
<ValidationMessage For="() => Input.UserName"/>
</div>
<div>
<label asp-for="Input.Password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Your password</label>
<InputTextField id="password" @bind-Value="Input.Password" type="password" placeholder="••••••••" />
<ValidationMessage For="() => Input.Password"/>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<input id="remember" aria-describedby="remember" name="remember" type="checkbox" class="w-4 h-4 border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:focus:ring-primary-600 dark:ring-offset-gray-800 dark:bg-gray-700 dark:border-gray-600">
</div>
<div class="ml-3 text-sm">
<label for="remember" class="font-medium text-gray-900 dark:text-white">Remember me</label>
</div>
<a href="user/forgot-password" class="ml-auto text-sm text-primary-700 hover:underline dark:text-primary-500">Lost Password?</a>
</div>
<button type="submit" class="w-full px-5 py-3 text-base font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 sm:w-auto dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Login to your account</button>
</EditForm>
@code {
[CascadingParameter] private HttpContext HttpContext { get; set; } = default!;
[SupplyParameterFromForm] private InputModel Input { get; set; } = new();
[SupplyParameterFromQuery] private string? ReturnUrl { get; set; }
/// <inheritdoc />
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
if (HttpMethods.IsGet(HttpContext.Request.Method))
{
// Clear the existing external cookie to ensure a clean login process
await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
}
}
/// <summary>
/// Logs in the user.
/// </summary>
protected async Task LoginUser()
{
ServerValidationErrors.Clear();
var user = await UserManager.FindByNameAsync(Input.UserName);
if (user == null)
{
await AuthLoggingService.LogAuthEventFailAsync(Input.UserName, AuthEventType.Login, AuthFailureReason.InvalidUsername);
ServerValidationErrors.AddError("Error: Invalid login attempt.");
return;
}
var result = await SignInManager.PasswordSignInAsync(Input.UserName, Input.Password, Input.RememberMe, lockoutOnFailure: true);
if (result.Succeeded)
{
await AuthLoggingService.LogAuthEventSuccessAsync(Input.UserName, AuthEventType.Login);
Logger.LogInformation("User logged in.");
NavigationService.RedirectTo(ReturnUrl ?? "/");
}
else if (result.RequiresTwoFactor)
{
await AuthLoggingService.LogAuthEventSuccessAsync(Input.UserName, AuthEventType.Login);
NavigationService.RedirectTo(
"user/loginWith2fa",
new Dictionary<string, object?> { ["returnUrl"] = ReturnUrl, ["rememberMe"] = Input.RememberMe });
}
else if (result.IsLockedOut)
{
await AuthLoggingService.LogAuthEventFailAsync(Input.UserName, AuthEventType.Login, AuthFailureReason.AccountLocked);
Logger.LogWarning("User account locked out.");
NavigationService.RedirectTo("user/lockout");
}
else
{
await AuthLoggingService.LogAuthEventFailAsync(Input.UserName, AuthEventType.Login, AuthFailureReason.InvalidPassword);
ServerValidationErrors.AddError("Error: Invalid login attempt.");
}
}
private sealed class InputModel
{
[Required] public string UserName { get; set; } = "";
[Required]
[DataType(DataType.Password)]
public string Password { get; set; } = "";
[Display(Name = "Remember me?")]
public bool RememberMe { get; set; } = true;
}
}

View File

@@ -0,0 +1,105 @@
@page "/user/loginWith2fa"
@using AliasVault.Shared.Models.Enums
<LayoutPageTitle>Two-factor authentication</LayoutPageTitle>
<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">
Two-factor authentication
</h2>
<ServerValidationErrors @ref="ServerValidationErrors" />
<p class="text-gray-700 dark:text-gray-300 mb-6">Your login is protected with an authenticator app. Enter your authenticator code below.</p>
<div class="w-full max-w-md">
<EditForm Model="Input" FormName="login-with-2fa" OnValidSubmit="OnValidSubmitAsync" method="post" class="space-y-6">
<input type="hidden" name="ReturnUrl" value="@ReturnUrl"/>
<input type="hidden" name="RememberMe" value="@RememberMe"/>
<DataAnnotationsValidator/>
<ValidationSummary class="text-red-600 dark:text-red-400" role="alert"/>
<div>
<label for="two-factor-code" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Authenticator code</label>
<InputText @bind-Value="Input.TwoFactorCode" id="two-factor-code" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" autocomplete="off"/>
<ValidationMessage For="() => Input.TwoFactorCode" class="text-red-600 dark:text-red-400 text-sm mt-1"/>
</div>
<div class="flex items-start">
<div class="flex items-center h-5">
<InputCheckbox @bind-Value="Input.RememberMachine" id="remember-machine" class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-primary-600 dark:ring-offset-gray-800"/>
</div>
<div class="ml-3 text-sm">
<label for="remember-machine" class="font-medium text-gray-900 dark:text-white">Remember this machine</label>
</div>
</div>
<button type="submit" class="w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Log in</button>
</EditForm>
</div>
<p class="mt-6 text-sm text-gray-700 dark:text-gray-300">
Don't have access to your authenticator device? You can
<a href="user/loginWithRecoveryCode?ReturnUrl=@ReturnUrl" class="text-primary-600 hover:underline dark:text-primary-500">log in with a recovery code</a>.
</p>
@code {
private AdminUser user = default!;
[SupplyParameterFromForm]
private InputModel Input { get; set; } = new();
[SupplyParameterFromQuery]
private string? ReturnUrl { get; set; }
[SupplyParameterFromQuery]
private bool RememberMe { get; set; }
/// <inheritdoc />
protected override async Task OnInitializedAsync()
{
await base.OnInitializedAsync();
// Ensure the user has gone through the username & password screen first
user = await SignInManager.GetTwoFactorAuthenticationUserAsync() ??
throw new InvalidOperationException("Unable to load two-factor authentication user.");
}
/// <summary>
/// Submits the form.
/// </summary>
private async Task OnValidSubmitAsync()
{
ServerValidationErrors.Clear();
var authenticatorCode = Input.TwoFactorCode!.Replace(" ", string.Empty).Replace("-", string.Empty);
var result = await SignInManager.TwoFactorAuthenticatorSignInAsync(authenticatorCode, RememberMe, Input.RememberMachine);
var userId = await UserManager.GetUserIdAsync(user);
if (result.Succeeded)
{
await AuthLoggingService.LogAuthEventSuccessAsync(user.UserName!, AuthEventType.TwoFactorAuthentication);
Logger.LogInformation("User with ID '{UserId}' logged in with 2fa.", userId);
NavigationService.RedirectTo(ReturnUrl);
}
else if (result.IsLockedOut)
{
await AuthLoggingService.LogAuthEventFailAsync(user.UserName!, AuthEventType.TwoFactorAuthentication, AuthFailureReason.AccountLocked);
Logger.LogWarning("User with ID '{UserId}' account locked out.", userId);
NavigationService.RedirectTo("user/lockout");
}
else
{
await AuthLoggingService.LogAuthEventFailAsync(user.UserName!, AuthEventType.TwoFactorAuthentication, AuthFailureReason.InvalidTwoFactorCode);
Logger.LogWarning("Invalid authenticator code entered for user with ID '{UserId}'.", userId);
ServerValidationErrors.AddError("Error: Invalid authenticator code.");
}
}
private sealed class InputModel
{
[Required]
[StringLength(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
[DataType(DataType.Text)]
[Display(Name = "Authenticator code")]
public string? TwoFactorCode { get; set; }
[Display(Name = "Remember this machine")]
public bool RememberMachine { get; set; }
}
}

View File

@@ -0,0 +1,83 @@
@page "/user/loginWithRecoveryCode"
@using AliasVault.Shared.Models.Enums
<LayoutPageTitle>Recovery code verification</LayoutPageTitle>
<h2 class="text-2xl font-bold text-gray-900 dark:text-white mb-4">
Recovery code verification
</h2>
<ServerValidationErrors @ref="ServerValidationErrors" />
<p class="text-gray-700 dark:text-gray-300 mb-6">
You have requested to log in with a recovery code. A recovery code is a one-time code that can be used to log in to your account.
Note that if you don't manually disable 2FA after login, you will be asked for an authenticator code again at the next login.
</p>
<div class="w-full max-w-md">
<EditForm Model="Input" FormName="login-with-recovery-code" OnValidSubmit="OnValidSubmitAsync" method="post" class="space-y-6">
<DataAnnotationsValidator/>
<ValidationSummary class="text-red-600 dark:text-red-400" role="alert"/>
<div>
<label for="recovery-code" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Recovery Code</label>
<InputText @bind-Value="Input.RecoveryCode" id="recovery-code" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" autocomplete="off" placeholder="Enter your recovery code"/>
<ValidationMessage For="() => Input.RecoveryCode" class="text-red-600 dark:text-red-400 text-sm mt-1"/>
</div>
<button type="submit" class="w-full text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">Log in</button>
</EditForm>
</div>
@code {
private AdminUser user = default!;
[SupplyParameterFromForm] private InputModel Input { get; set; } = new();
[SupplyParameterFromQuery] private string? ReturnUrl { get; set; }
/// <inheritdoc />
protected override async Task OnInitializedAsync()
{
// Ensure the user has gone through the username & password screen first
user = await SignInManager.GetTwoFactorAuthenticationUserAsync() ??
throw new InvalidOperationException("Unable to load two-factor authentication user.");
}
/// <summary>
/// Submits the form.
/// </summary>
private async Task OnValidSubmitAsync()
{
ServerValidationErrors.Clear();
var recoveryCode = Input.RecoveryCode.Replace(" ", string.Empty);
var result = await SignInManager.TwoFactorRecoveryCodeSignInAsync(recoveryCode);
var userId = await UserManager.GetUserIdAsync(user);
if (result.Succeeded)
{
await AuthLoggingService.LogAuthEventSuccessAsync(user.UserName!, AuthEventType.TwoFactorAuthentication);
Logger.LogInformation("User with ID '{UserId}' logged in with a recovery code.", userId);
NavigationService.RedirectTo(ReturnUrl);
}
else if (result.IsLockedOut)
{
await AuthLoggingService.LogAuthEventFailAsync(user.UserName!, AuthEventType.TwoFactorAuthentication, AuthFailureReason.AccountLocked);
Logger.LogWarning("User account locked out.");
NavigationService.RedirectTo("user/lockout");
}
else
{
await AuthLoggingService.LogAuthEventFailAsync(user.UserName!, AuthEventType.TwoFactorAuthentication, AuthFailureReason.InvalidRecoveryCode);
Logger.LogWarning("Invalid recovery code entered for user with ID '{UserId}' ", userId);
ServerValidationErrors.AddError("Error: Invalid recovery code entered.");
}
}
private sealed class InputModel
{
[Required]
[DataType(DataType.Text)]
[Display(Name = "Recovery Code")]
public string RecoveryCode { get; set; } = "";
}
}

View File

@@ -0,0 +1,40 @@
@page "/user/logout"
@using AliasVault.Shared.Models.Enums
@inject UserService UserService
@inject GlobalNotificationService GlobalNotificationService
@code {
/// <inheritdoc />
protected override async Task OnInitializedAsync()
{
// Sign out the user.
// NOTE: the try/catch below is a workaround for the issue that the sign out does not work when
// the server session is already started.
try
{
var username = UserService.User().UserName;
try
{
await SignInManager.SignOutAsync();
GlobalNotificationService.ClearMessages();
await AuthLoggingService.LogAuthEventSuccessAsync(username!, AuthEventType.Logout);
// Redirect to the home page with hard refresh.
NavigationService.RedirectTo("/", true);
}
catch
{
// Hard refresh current page if sign out fails. When an interactive server session is already started
// the sign out will fail because it tries to mutate cookies which is only possible when the server
// session is not started yet.
await AuthLoggingService.LogAuthEventSuccessAsync(username!, AuthEventType.Logout);
NavigationService.RedirectTo(NavigationService.Uri, true);
}
}
catch
{
// Redirect to the home page with hard refresh.
NavigationService.RedirectTo("./", true);
}
}
}

View File

@@ -0,0 +1,11 @@
@inherits AuthBase
@using System.ComponentModel.DataAnnotations
@using AliasVault.Admin.Auth.Components
@using AliasVault.Admin.Auth.Layout
@using AliasVault.Admin.Main.Components.Alerts
@using AliasVault.Admin.Main.Components.Layout
@using AliasVault.Admin.Main.Layout
@using AliasVault.Admin.Services
@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Identity
@layout AuthLayout

View File

@@ -0,0 +1,67 @@
//-----------------------------------------------------------------------
// <copyright file="RevalidatingAuthenticationStateProvider.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.Admin.Auth.Providers;
using System.Security.Claims;
using AliasServerDb;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
/// <summary>
/// This is a server-side AuthenticationStateProvider that revalidates the security stamp for the connected user
/// every 30 minutes an interactive circuit is connected.
/// </summary>
/// <param name="loggerFactory">ILoggerFactory instance.</param>
/// <param name="scopeFactory">IServiceScopeFactory instance.</param>
/// <param name="options">IOptions instance.</param>
internal sealed class RevalidatingAuthenticationStateProvider(
ILoggerFactory loggerFactory,
IServiceScopeFactory scopeFactory,
IOptions<IdentityOptions> options)
: RevalidatingServerAuthenticationStateProvider(loggerFactory)
{
/// <summary>
/// Gets the revalidation interval.
/// </summary>
protected override TimeSpan RevalidationInterval => TimeSpan.FromMinutes(30);
/// <summary>
/// Validate the authentication state.
/// </summary>
/// <param name="authenticationState">AuthenticationState instance.</param>
/// <param name="cancellationToken">CancellationToken.</param>
/// <returns>Boolean indicating whether the currently logged on user is still valid.</returns>
protected override async Task<bool> ValidateAuthenticationStateAsync(
AuthenticationState authenticationState, CancellationToken cancellationToken)
{
// Get the user manager from a new scope to ensure it fetches fresh data
await using var scope = scopeFactory.CreateAsyncScope();
var userManager = scope.ServiceProvider.GetRequiredService<UserManager<AdminUser>>();
return await ValidateSecurityStampAsync(userManager, authenticationState.User);
}
private async Task<bool> ValidateSecurityStampAsync(UserManager<AdminUser> userManager, ClaimsPrincipal principal)
{
var user = await userManager.GetUserAsync(principal);
if (user is null)
{
return false;
}
if (!userManager.SupportsUserSecurityStamp)
{
return true;
}
var principalStamp = principal.FindFirstValue(options.Value.ClaimsIdentity.SecurityStampClaimType);
var userStamp = await userManager.GetSecurityStampAsync(user);
return principalStamp == userStamp;
}
}

View File

@@ -1,5 +1,5 @@
@using System.Net.Http
@using Microsoft.AspNetCore.Authorization
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@@ -7,7 +7,6 @@
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using AliasVault
@using AliasVault.Components
@using AliasVault.Components.Shared
@using AliasVault.Components.Pages.Aliases
@using AliasVault.Admin
@using AliasVault.Admin.Main
@using AliasServerDb

View File

@@ -0,0 +1,26 @@
//-----------------------------------------------------------------------
// <copyright file="Config.cs" company="lanedirt">
// Copyright (c) lanedirt. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------
namespace AliasVault.Admin;
/// <summary>
/// Configuration class for the Admin project with values loaded from environment variables.
/// </summary>
public class Config
{
/// <summary>
/// Gets or sets the admin password hash which is generated by install.sh and will be set
/// as the default password for the admin user.
/// </summary>
public string AdminPasswordHash { get; set; } = string.Empty;
/// <summary>
/// Gets or sets the last time the password was changed. This is used to check if the
/// password hash generated by install.sh should replace the current password hash if user already exists.
/// </summary>
public DateTime LastPasswordChanged { get; set; } = DateTime.MinValue;
}

View File

@@ -0,0 +1,21 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
WORKDIR /app
EXPOSE 3002
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["src/AliasVault.Admin/AliasVault.Admin.csproj", "src/AliasVault.Admin/"]
RUN dotnet restore "src/AliasVault.Admin/AliasVault.Admin.csproj"
COPY . .
WORKDIR "/src/src/AliasVault.Admin"
RUN dotnet publish "AliasVault.Admin.csproj" -c "$BUILD_CONFIGURATION" -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
COPY --from=build /app/publish .
ENV ASPNETCORE_URLS=http://+:3002
ENV ASPNETCORE_PATHBASE=/admin
ENTRYPOINT ["dotnet", "AliasVault.Admin.dll"]

View File

@@ -0,0 +1,31 @@
@inject VersionedContentService VersionService
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"/>
<base href="@NavigationService.BaseUri"/>
<link rel="stylesheet" href="@VersionService.GetVersionedPath("css/tailwind.css")"/>
<link rel="stylesheet" href="@VersionService.GetVersionedPath("css/app.css")"/>
<link rel="stylesheet" href="AliasVault.Admin.styles.css"/>
<link rel="icon" type="image/png" href="favicon.png"/>
<HeadOutlet @rendermode="RenderModeForPage"/>
</head>
<body class="bg-gray-50 dark:bg-gray-900">
<Routes @rendermode="RenderModeForPage"/>
<script src="@VersionService.GetVersionedPath("lib/qrcode.min.js")"></script>
<script src="@VersionService.GetVersionedPath("js/dark-mode.js")"></script>
<script src="@VersionService.GetVersionedPath("js/utilities.js")"></script>
<script src="_framework/blazor.web.js"></script>
</body>
</html>
@code {
[CascadingParameter] private HttpContext HttpContext { get; set; } = default!;
private IComponentRenderMode? RenderModeForPage => HttpContext.Request.Path.StartsWithSegments("/user")
? null
: InteractiveServer;
}

View File

@@ -0,0 +1,102 @@
@implements IDisposable
@inject NavigationManager NavigationManager
@if (Messages.Count == 0)
{
return;
}
<div class="messages-container grid px-4 pt-6 lg:gap-4 dark:bg-gray-900">
@foreach (var message in Messages)
{
if (message.Key == "success")
{
<AlertMessageSuccess Message="@message.Value" />
}
}
@foreach (var message in Messages)
{
if (message.Key == "info")
{
<AlertMessageInfo Message="@message.Value" />
}
}
@foreach (var message in Messages)
{
if (message.Key == "warning")
{
<AlertMessageWarning Message="@message.Value" />
}
}
@foreach (var message in Messages)
{
if (message.Key == "error")
{
<AlertMessageError Message="@message.Value" />
}
}
</div>
<style>
.messages-container > :last-child {
margin-bottom: 0 !important;
}
</style>
@code {
private List<KeyValuePair<string, string>> Messages { get; set; } = new();
/// <inheritdoc />
protected override async Task OnAfterRenderAsync(bool firstRender)
{
await base.OnAfterRenderAsync(firstRender);
if (firstRender)
{
RefreshAddMessages();
GlobalNotificationService.OnChange += RefreshAddMessages;
NavigationManager.LocationChanged += HandleLocationChanged;
}
}
/// <inheritdoc />
public void Dispose()
{
GlobalNotificationService.OnChange -= RefreshAddMessages;
NavigationManager.LocationChanged -= HandleLocationChanged;
}
/// <summary>
/// Refreshes the messages on navigation to another page.
/// </summary>
private void HandleLocationChanged(object? sender, LocationChangedEventArgs e)
{
RefreshAddMessages();
InvokeAsync(StateHasChanged);
}
/// <summary>
/// Refreshes the messages by adding any new messages from the PortalMessageService.
/// </summary>
private void RefreshAddMessages()
{
// We retrieve any additional messages from the GlobalNotificationService that we do not yet have.
var newMessages = GlobalNotificationService.GetMessagesForDisplay();
foreach (var message in newMessages)
{
if (!Messages.Exists(m => m.Key == message.Key && m.Value == message.Value))
{
Messages.Add(message);
}
}
// Remove messages that are no longer in the GlobalNotificationService and have already been displayed.
var messagesToRemove = Messages.Where(m => !newMessages.Exists(nm => nm.Key == m.Key && nm.Value == m.Value)).ToList();
foreach (var message in messagesToRemove)
{
Messages.Remove(message);
}
StateHasChanged();
}
}

View File

@@ -0,0 +1,29 @@
@if (_errors.Any())
{
@foreach (var error in _errors)
{
<AlertMessageError Message="@error" />
}
}
@code {
private readonly List<string> _errors = [];
/// <summary>
/// Adds a server validation error.
/// </summary>
public void AddError(string error)
{
_errors.Add(error);
StateHasChanged();
}
/// <summary>
/// Clears the server validation errors.
/// </summary>
public void Clear()
{
_errors.Clear();
StateHasChanged();
}
}

View File

@@ -0,0 +1,9 @@
<PageTitle>@ChildContent - AliasVault Admin</PageTitle>
@code {
/// <summary>
/// Child content.
/// </summary>
[Parameter]
public RenderFragment ChildContent { get; set; } = default!;
}

View File

@@ -1,12 +1,15 @@
<div class="loading" style="display:@(IsVisible ? "block" : "none");">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
@if (IsVisible)
{
<div class="loading z-50">
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</div>
</div>
}
@code {
private bool IsVisible { get; set; }

View File

@@ -0,0 +1,22 @@
<div role="status" class="px-2" title="@Title">
<svg aria-hidden="true" class="inline w-7 h-7 text-gray-200 @(Spinning ? "animate-spin fill-primary-600" : "") dark:text-gray-600" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor" />
<path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill" />
</svg>
<span class="sr-only">Loading...</span>
</div>
@code {
/// <summary>
/// Optional title of the loading indicator.
/// </summary>
[Parameter]
public string Title { get; set; } = string.Empty;
/// <summary>
/// Set spinning to false to stop the animation.
/// </summary>
[Parameter]
public bool Spinning { get; set; } = true;
}

Some files were not shown because too many files have changed in this diff Show More