Commit graph

81 commits

Author SHA1 Message Date
ed715102c0
Docs & sqlx prep: Improved documentation and update sqlx preparation files for offline builds 2025-06-17 10:08:38 -07:00
69b741fe13 Fixed all warnings 2025-06-16 20:05:01 -07:00
623cc2bbaa Added documentation and reformatted files 2025-06-10 19:09:39 -07:00
2b47bb113e Added documentation for various functions 2025-06-10 19:03:35 -07:00
47f8e01210
Auth: Add function to get AuthInfo for Request without using an Extractor 2025-06-10 17:43:46 -07:00
1ac49dbb60 Corrected lock file 2025-06-10 16:25:07 -07:00
806ad1343b Corrected lock file 2025-06-10 16:24:51 -07:00
b3ddae6008 Merge branch 'identity' into dev
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/auth.rs
#	src/main.rs
2025-06-10 16:19:20 -07:00
5a10a8d4b1 Added basic token auth extractor 2025-05-19 13:38:43 +02:00
14012b155e Added basic token auth extractor 2025-05-19 13:21:10 +02:00
27dcc5489d Added basic service token functionality and root token creation. 2025-05-07 17:24:07 +02:00
ed2620c8b8 Feat (Sealing): Encryption of Secrets (#1)
This adds support for encrypting and decrypting secrets.
It implements the APIs required for unsealing.
The APIs are not complete or compliant.

Reviewed-on: #1
Co-authored-by: C0ffeeCode <ritters_werth@outlook.com>
Co-committed-by: C0ffeeCode <ritters_werth@outlook.com>
2025-04-03 10:08:08 +02:00
d77237aefe
Refactor: Secret struct and feature-gates
- Shamir and its dependencies behind a default feature
- Secret has its own struct
2025-04-02 18:59:33 +02:00
6eb02c8412
Feat (sealing): Shamir Secret Sharing scheme 2025-04-02 08:28:28 +02:00
5de9e1d74e
Fix (sealing): Simple sealing with random nonce
Some checks failed
Rust / build (pull_request) Failing after 40s
2025-03-27 22:13:57 +01:00
88ed714e22
Feat (sealing): Simple Password sealing
Password is generated on first startup.
The password given to the user is not same as the one used to encrypt secrets
2025-03-27 17:13:48 +01:00
4d342e8b99
Feat (kv2): Support Sealing 2025-03-26 21:51:27 +01:00
1accd45648
WIP feat (sealing): Implement basic sealing functionality
Currently, the key is just stored plainly in the database
2025-03-26 21:49:59 +01:00
7949d64649
Chore: Rename DatabaseDriver to DbPool
and add a custom serde serializer `serialize_reject_none` as a utility
2025-03-26 21:39:07 +01:00
1fe5d73483
Feat (kv2): kv2 data access (no metadata) 2025-03-24 19:45:44 +01:00
491ca2fd54 WIP feat (kv2): Method implementations and test improvements 2025-03-24 10:34:38 +01:00
b5e086bd0a Fix: Use HttpError struct for error handling where a non-compliant string was returned 2024-05-10 20:32:40 +02:00
18b2521a93 Rudimentary error handling + Remove serde_with dependency 2024-05-09 20:34:22 +02:00
7e361cf940 Deprecate body_to_json: Use Axum Json Extractor instead 2024-05-08 15:53:38 +02:00
someone
3447a9f4ff Added return value to get_data 2024-05-08 13:11:32 +02:00
someone
3c9bc7f848 Merge branch 'dev' of https://github.com/C0ffeeCode/rvault into dev 2024-05-07 15:38:15 +02:00
someone
25f3492c08 DB request for get_data 2024-05-06 19:33:57 +02:00
22d411b919 Fix: Handle unset/implicit Content-Type usage of client libraries & changes to kv 2024-05-06 13:54:56 +02:00
4b88966e81 feat engines: Routing to engine accepts mount_path via Extension
also changes how kv obtains the `mount_path`
2024-05-05 18:04:25 +02:00
6755e61163 feat(dev) engines: "Dynamic Routing" 2024-05-05 17:52:57 +02:00
55270c0637 feat: Graceful shutdown 2024-05-05 15:02:29 +02:00
53fe085e2e Add Zeroize 2024-05-05 14:56:47 +02:00
a9b200048a Add Containerfile 2024-05-04 19:29:01 +02:00
a5d74f0454 Logic to resolve mount points 2024-05-02 13:57:01 +02:00
049e8374ab Switch from Pool<Any> to Pool<Sqlite> 2024-05-02 13:40:02 +02:00
someone
876a784e90 added Pool to router 2024-05-02 10:01:28 +02:00
someone
1d85839237 temporary set env var DATABASE_URL in code 2024-05-02 09:59:42 +02:00
someone
acb538eaea Merge branch 'dev' of https://github.com/C0ffeeCode/rvault into dev 2024-05-02 09:33:34 +02:00
someone
4e6b143f79 added test.db 2024-05-02 09:30:29 +02:00
sam
0a0091c44f + secret & metadata migration 2024-05-01 20:17:16 +02:00
2c355ef75d engine routing experiment 2024-05-01 20:07:14 +02:00
be4e698d61 tada 2024-05-01 20:05:26 +02:00
3a27c7e389 Fix (storage): Avoid bug creating file for in-mem sqlite 2024-05-01 20:05:26 +02:00
sam
7f67ac0107 Merge branch 'dev' of github.com:C0ffeeCode/rvault into dev 2024-05-01 16:53:05 +02:00
sam
2f570a7a9d + Update + refactor KvSecret struct
+ Update Secretmeta + default()
2024-05-01 16:52:37 +02:00
8f05131aac Fix Containerfile of go tests 2024-05-01 16:49:25 +02:00
8cd61cf7d3 tada 2024-05-01 16:22:52 +02:00
79130d39e8 Merge remote-tracking branch 'origin/dev' into dev 2024-04-28 17:02:02 +02:00
7c453b6808 Add database (no schemata yet, only axum state) 2024-04-28 16:57:08 +02:00
someone
0730d711b5 moved test request to engines.rs + extracted mountpath from request 2024-04-28 15:42:57 +02:00