Commit Graph

159 Commits

Author SHA1 Message Date
core afbd1d2ba0
fix constant panics when keystore is weird 2023-08-03 11:30:50 -04:00
core 750aabc83c
oops 2023-08-03 11:21:34 -04:00
core 631d4d5280
implement host metadata (out of date and last seen at)
Implements: https://todo.e3t.cc/~core/trifid/3
2023-07-31 12:55:19 -04:00
core 2e214ba8fe
update sea-orm 2023-07-31 01:08:50 -04:00
core 7dd7cf80ff
roles:delete, roles:edit error parity & fix glaring security hole in role edit
Implements: https://todo.e3t.cc/~core/trifid/1
2023-07-31 00:38:19 -04:00
core e7da2d7009
roles:get error parity
References: https://todo.e3t.cc/~core/trifid/1
2023-07-31 00:34:50 -04:00
core 8111dee595
roles:create error parity
References: https://todo.e3t.cc/~core/trifid/1
2023-07-31 00:33:00 -04:00
core 44fc07089d
networks:get, networks:list error parity
References: https://todo.e3t.cc/~core/trifid/1
2023-07-31 00:24:17 -04:00
core ea3bc9e429
create host and enroll error parity
References: https://todo.e3t.cc/~core/trifid/1
2023-07-30 21:09:51 -04:00
core 7c494bb7aa
hosts:enroll error parity 2023-07-30 21:02:55 -04:00
core a94fce77f1
hosts:block error parity 2023-07-30 15:02:46 -04:00
core 81e927501e
hosts:edit error parity 2023-07-30 14:58:37 -04:00
core f38e5fa24e
hosts:delete error parity 2023-07-30 14:53:48 -04:00
c0repwn3r 1afbab3a41
hosts:get error parity 2023-07-30 14:39:52 -04:00
core 407deb1796
clean up dnclient endpoint debug logging 2023-07-29 19:36:32 -04:00
core 3eefcad767
code cleanup 2023-07-29 18:12:36 -04:00
core 0cca82546a
hosts:create error parity 2023-07-29 18:10:00 -04:00
c0repwn3r 5005240699
remove the dependency on openssl (merge) 2023-07-25 21:12:36 -04:00
core 408d76f841
static api signing keys per-host because dealing with them is turning out to be an absolute nightmare 2023-06-24 12:04:20 -04:00
core e4d71fd62f
hotfix response signing 2023-06-24 10:54:52 -04:00
core f06a725d9b
test keystore 2023-06-22 11:12:53 -04:00
core e6e646b888
a way better config merge system 2023-06-22 11:09:59 -04:00
core 8d4d2d4264
its at least a functional mess 2023-06-22 10:59:33 -04:00
core e9b54f08b1
trifid-api 0.1.1, fix config generation 2023-06-22 10:53:17 -04:00
core 0637b4bad3
publish _entities and _migration 2023-06-21 21:11:56 -04:00
core 2598a8efe0
upd tfapi cargo manifest 2023-06-21 21:09:47 -04:00
core 11320ba04a
forgot about config overrides for a second there 2023-06-21 21:03:11 -04:00
c0repwn3r c18bcc50c4
tfcli done (woo) 2023-06-20 21:23:28 -04:00
core f52db518e7
work 2023-06-15 15:53:56 -04:00
c0repwn3r a9d6cb22db
2fa setup 2023-06-01 13:58:10 -04:00
c0repwn3r 996db62ab2
some work 2023-05-31 13:24:15 -04:00
c0repwn3r 3b242290d6
endpoint 2023-05-30 21:52:29 -04:00
c0repwn3r ba7cc118d7
work 2023-05-30 21:51:57 -04:00
c0repwn3r a2a94ad801
code cleanup 2023-05-15 14:51:27 -04:00
c0repwn3r 3a2319d0c0
[trifid-api] dnclient endpoint, client updates and trifid-api MVP 2023-05-15 13:39:15 -04:00
c0repwn3r b8c6ddd123
enrollment 2023-05-14 13:47:49 -04:00
c0repwn3r b3e83f4586
code cleanup 2023-05-11 13:35:10 -04:00
c0repwn3r 68c120a5ab
host and enrollment codes 2023-05-11 13:32:33 -04:00
c0repwn3r 7e1627e165
enrollment codes 2023-05-11 13:13:30 -04:00
c0repwn3r 6d01d8703b
host blocking + general code cleanup 2023-05-10 20:32:19 -04:00
c0repwn3r a068741986
fix updating, PUT /v1/hosts/host 2023-05-09 10:38:31 -04:00
core eaa1e86fef
DELETE /v1/hosts/id 2023-05-08 21:46:33 -04:00
core 4ca0b54686
add /v1/hosts/host - bugfix! correct time formatting and use constant for it 2023-05-08 20:57:08 -04:00
c0repwn3r 5bb1f8ec71
POST /v1/hosts 2023-04-27 21:47:18 -04:00
c0repwn3r fe67c34fd5
/v1/hosts 2023-04-27 20:40:56 -04:00
c0repwn3r 26f5db6b61
migrations and entities for hosts 2023-04-27 13:51:08 -04:00
c0repwn3r 3f81779445
migrations and entities for hosts 2023-04-27 13:42:48 -04:00
c0repwn3r 458cd57519
PUT /v1/roles/roleid 2023-04-27 12:53:10 -04:00
c0repwn3r a5a21ba75b
i decided to change my comment thing again 2023-04-06 11:41:41 -04:00
c0repwn3r 2279608f96
delete roles 2023-04-05 20:58:45 -04:00
c0repwn3r 8bdcb5683e
implement more roles stuff 2023-04-05 20:02:21 -04:00
core 4f50aa1362
migration changes 2023-04-04 20:50:25 -04:00
c0repwn3r 30432e216b
add entity for roles and firewall rules 2023-04-04 10:15:47 -04:00
c0repwn3r b8d2afe5c3
add roles and firewall rules 2023-04-04 10:14:26 -04:00
c0repwn3r 05704ffc11
licensing 2023-04-04 09:56:05 -04:00
c0repwn3r 2afe008573
add some migs 2023-04-04 09:44:19 -04:00
c0repwn3r 6d97826050
get specific network 2023-04-04 09:31:41 -04:00
core 359f5be936
cargo-fix 2023-04-03 21:53:32 -04:00
core 8d4bd51b4e
networks and organizations 2023-04-03 21:53:14 -04:00
core f54d8a11a1
networks 2023-04-03 18:39:49 -04:00
c0repwn3r 90653796cc
[tmp] 2023-04-03 16:42:52 -04:00
c0repwn3r f7bd45dff3
yo es un dumbass 2023-04-03 13:28:12 -04:00
c0repwn3r eb60011ebd
fix and finish totp authenticators 2023-04-03 08:41:47 -04:00
c0repwn3r f0e36b3031
dsssssssssssssss 2023-04-02 21:55:16 -04:00
c0repwn3r 8edd9d2e66
and fix that 2023-04-02 21:49:45 -04:00
c0repwn3r 87ddb07d5c
finish /v1/verify-totp-authenticators 2023-04-02 21:47:32 -04:00
c0repwn3r d70064f998
finish /v1/totp-authenticators 2023-04-02 21:11:27 -04:00
c0repwn3r 1e66d14710
whoa, i forgot to commit and made another ton of stuff 2023-04-02 20:57:33 -04:00
c0repwn3r 1453509dc4
/v1/auth/verify-magic-link 2023-04-02 19:12:08 -04:00
core fcadd98701
fix 2023-04-02 16:01:09 -04:00
core 2d7607bbc1
signup 2023-04-02 15:47:50 -04:00
core 3a702ed3a5
/v1/auth/magic-link 2023-04-02 15:25:52 -04:00
core fca4fb4cd5
redo trifid-api with actix+sea-orm 2023-04-02 13:06:16 -04:00
core 7d2e370060
restart trifid-api to do it better 2023-04-02 12:08:36 -04:00
c0repwn3r 39978c3579
"some" wokr on roles (this is last major roadblock to milestone:feat-org-keys) 2023-03-02 21:33:24 -05:00
c0repwn3r cde5b73907
cargo-fix 2023-03-02 09:40:24 -05:00
core 677f60fc2b
cert signing on org creation 2023-03-01 22:06:07 -05:00
c0repwn3r 85cee5fb4e
add more reqs - WIP WILL NOT BUILD 2023-03-01 14:35:13 -05:00
c0repwn3r 147742b214
commit before cargo-fix 2023-03-01 11:43:29 -05:00
c0repwn3r 830301f491
[mig/maintainability] add some detail comments to migration files 2023-03-01 10:09:59 -05:00
c0repwn3r 58be3b0c4a
UI/org work 2023-02-28 14:13:18 -05:00
c0repwn3r 7a074bf38f
data key checking + finish up license compliance 2023-02-28 08:59:05 -05:00
core de6f8141d6
licensing 2023-02-27 20:50:31 -05:00
core 5d06781a63
proper org creation endpoints 2023-02-27 20:29:52 -05:00
c0repwn3r bba39afc6b
org work 2023-02-25 23:16:30 -05:00
c0repwn3r 5174fa0b61
devmode menu and some UI improvements 2023-02-24 09:53:32 -05:00
c0repwn3r 2798d06c81
full 2fa flow pt2 2023-02-23 14:43:24 -05:00
c0repwn3r 5bdcac5e89
full 2fa flow 2023-02-23 14:42:00 -05:00
c0repwn3r 3d36d7e052
frontend work for redirecting and auth checks 2023-02-22 11:40:21 -05:00
c0repwn3r 33a0c077d1
[ui/api] check authentication on pages that need it / add endpoint to verify authentication 2023-02-21 13:42:27 -05:00
core 638ed31b09
login page + i18n 2023-02-20 21:56:17 -05:00
core 918d81b03f
use webroot for magic links instead of apiroot 2023-02-20 21:48:46 -05:00
core 36409b3dca
CORS fixup 2023-02-20 13:42:15 -05:00
c0repwn3r 2e389966e6
add cicd 2023-02-07 13:19:29 -05:00
c0repwn3r 9f21980c39
create final totp authentication endpoint - full authentication flow is now finished (at and st) 2023-02-07 12:55:51 -05:00
c0repwn3r cf69255acd
fix totp authentication 2023-02-07 11:30:32 -05:00
c0repwn3r fffcf5ee8f
fully working totp authentication 2023-02-07 11:16:57 -05:00
c0repwn3r 6619662d0d
totp tokens 2023-02-07 10:37:25 -05:00
c0repwn3r e79ee4c6c5
fix session authentication 2023-02-06 10:17:48 -05:00
c0repwn3r 75ab376ebd
session authentication guards 2023-02-05 22:45:00 -05:00