0c5452a1b8
Fix all post requests being rejected
2024-07-11 23:29:21 -06:00
0a877d639b
Create naja-server
...
yes i just programmed the entire server in one sitting/commit, shush
2024-07-11 23:02:55 -06:00
76d0dbc41d
Rename to naja
2024-07-11 20:38:57 -06:00
29c940c623
Fix ASPE logic, add aspe delete, apse create -> aspe upload, couple more tests
2024-07-11 20:04:15 -06:00
61baa8f52f
Formatting, tests
2024-07-08 17:45:26 -04:00
afa8eb79b3
Refactor the binary into a workspace crate, and document all of the crates in README.md
2024-07-08 16:15:44 -04:00
47b1753390
Update dependencies, start on e2e cli tests
2024-07-08 15:40:07 -04:00
cf6bbfeecf
I had this sitting on my computer for months and to be honest no clue what i did
2024-07-04 17:12:18 -04:00
ecbb551e34
Add aspe create command, untested
2024-03-20 22:53:13 -06:00
bb43c833fc
Fix migration naming, export by alias using COLLATE NOCASE
2024-03-20 22:01:28 -06:00
6559f676c3
Fix empty claim imports and support transaction rollback if claims insert fails
2024-03-10 22:22:42 -06:00
00ffbdce8d
Allow key imports from asp-tool
2024-03-10 21:54:30 -06:00
8af322b2ad
A whole bunch of changes, I forgor to split it up
2024-03-10 20:25:30 -06:00
561cc3fb42
Add profiles delete command
2024-02-29 22:03:35 -07:00
77f545b32e
Add profiles edit command
...
This took too much effort, someone better appreciate it
2024-02-29 21:11:46 -07:00
a80acaa83d
Add profiles list command
2024-02-29 18:10:26 -07:00
25cc99e033
Add warning about ed25519 keys and default to NIST P-256 generation
2024-02-28 21:17:54 -07:00
86ffe01c4d
More work on profiles create, and profiles export was added
2024-02-28 21:06:10 -07:00
ac7785a43e
Apply clippy suggestions
2024-02-19 23:07:04 -07:00
1eff198141
Add basic profile create command, with debugging for now (doesn't actually create)
2024-02-19 23:03:57 -07:00
b545ffe364
Add back newline to export command, surpress codegen warnings
2024-02-19 21:44:26 -07:00
4a68f17aa4
Add scrypt-pkcs#8 export for ASP tool compatibility
2024-02-19 21:32:54 -07:00
a04e048f7c
Improve import command
2024-02-18 22:55:29 -07:00
756b97da8a
Cascade key deletions
2024-02-18 20:42:20 -07:00
bc4223a06d
Move migrations to seperate crate, add new tables for claims and profiles in preparation
2024-02-07 00:31:32 -07:00
424d3ce4fc
Remove JWE formatting
2024-01-28 16:49:38 -07:00
620a8632bb
Update libraries
2024-01-28 15:19:37 -07:00
db19e9ad69
Use prelude
2024-01-28 14:53:21 -07:00
Tyler Beckman
4f83bb9a3f
Add success text to import gpg
2023-09-28 13:13:57 -06:00
Tyler Beckman
91a4a42fe6
Fix a few clippy recommendations
2023-09-28 11:57:26 -06:00
Tyler Beckman
43851d1f98
Start on keys import subcommand, move import-gpg
2023-09-28 11:56:11 -06:00
ec1b9f3bf9
Fix pkcs#8 conversion for P-256 keys
2023-08-02 19:30:45 -06:00
bb6bed5531
Add keys delete subcommand
2023-08-02 19:16:37 -06:00
45ad89b06a
Fix clippy warning
...
Iterator::nth(0) is the same as Iterator::next() always
2023-08-02 18:20:29 -06:00
5d982897a2
Add feature-gated import-gpg subcommand to cli
2023-07-31 01:32:34 -06:00
765b20a90e
Add readme
2023-07-29 18:40:25 -06:00
c59825b2fd
Adjust to new fingerprint algorithm
2023-07-29 18:29:18 -06:00
f70b1fcce8
A few changes that I forgor to commit
2023-07-29 17:44:02 -06:00
TymanWasTaken
b44f4ca359
Fix clippy warnings
2023-07-02 19:28:40 -04:00
TymanWasTaken
954d6fac2e
More lenient key querying, smaller release binaries, don't panic on stdout close, formatting
...
The key querying first tries exact match on a fingerprint, and then falls back to contains() on the alias
2023-07-02 19:24:04 -04:00
TymanWasTaken
57e73d62dd
Support aspe servers in crates/asp, and remove nightly requirement
2023-07-01 22:55:05 -04:00
TymanWasTaken
19c42f6138
Migrate to sqlite+sea_orm
2023-07-01 13:10:32 -04:00
TymanWasTaken
5390a9389a
Handful of things
...
- Update redb to fix regression when loading db multiple times (though I am likely just going to replace redb with sqlite)
- Rename AspKeyType::EdDSA to AspKeyType::Ed25519
- Make `aspm keys list` look nicer
2023-06-30 23:59:30 -04:00
TymanWasTaken
46fa993f45
Add 3 subcommands for storing keys, add database framework
2023-06-30 01:00:11 -04:00
TymanWasTaken
556d9ed4fc
Initial cli framework
2023-06-29 01:38:09 -04:00
TymanWasTaken
45586d2c37
Rebrand to an actual tool, rather than a prototype :)
2023-06-29 00:28:48 -04:00
TymanWasTaken
ea388904c2
Scrapped the entire thing lol
...
I was going to refactor slowly, but it is easier just to scrap the entire binary and make a new one
2023-06-29 00:25:15 -04:00
TymanWasTaken
409fbe5f1d
A bit of refactoring, and added aspe delete
command
2023-06-26 21:15:34 -04:00
TymanWasTaken
463d4eb459
Add conversion from JWT to PKCS#8 (for asp.keyoxide.org), and add support for uploading profiles to an ASPE server
2023-06-26 18:05:34 -04:00
TymanWasTaken
b2766622c8
Initial commit with key generation, key import from base64-encoded private ES256 keys, profile generation, and profile parsing
2023-06-25 22:35:50 -06:00