Commit graph

45 commits

Author SHA1 Message Date
James Hodgkinson b0bf00e6eb
removing mirrorsorcerer (#1138)
* removing mirrorsorcerer

* I thought I undid that
2022-10-20 18:18:48 +10:00
Firstyear 88eb33e1d4
20221001 refactor (#1090) 2022-10-05 09:48:48 +10:00
James Hodgkinson 446e06d5f6
Fixing the CI failures (#1080) 2022-09-28 10:31:19 +10:00
Firstyear 1fdb1fad3b
Fix cargo.lock + Docker (#964) 2022-08-02 16:11:42 +10:00
James Hodgkinson 2d43b78d17
Fixing the Github Actions Kanidmd build (#963) 2022-08-02 13:52:50 +10:00
James Hodgkinson 845cabb206
A pile of Wasm UI tweaks (#958) 2022-08-01 15:52:01 +10:00
James Hodgkinson 534bd9f621
Docker build fixes (#904)
* Added KANIDM_BUILD_PROFILE to `kanidmd` build Dockerfile
2022-07-06 10:54:44 +10:00
James Hodgkinson f664971acf
Building kanidm cli in docker, disabling ARM kanidmd (#879)
* adding kanidm image and config
* removing npm deps from build and dockerfiles
* moving to a non-root user in the dockerfile
2022-07-05 11:39:38 +10:00
James Hodgkinson 805ac2dd16
Python module and rewritten RADIUS integration (#826)
* added python kanidm module
* rewrote RADIUS integration
* updated the documentation
* updating github actions to run more often
* BLEEP BLOOP ASYNCIO IS GR8
* adding config to makefile to run pykanidm tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Firstyear <william@blackhats.net.au>
2022-06-20 20:16:55 +10:00
Firstyear 9d929b876c
636 consent remembering in oauth2 (#824) 2022-06-20 11:37:39 +10:00
James Hodgkinson 7d27612174
Windows automagical buildingtons (#798)
* windows build automation
* making fmt happy, fixing windows-related bug
* disabled cargo_incremental when using `sccache`, added build options ARG to Dockerfile, limit docker build to one job
2022-05-31 14:13:21 +10:00
Kellin 48e0fd7d21
Set default value for SCCACHE_REDIS build arg (#792)
- Set a default value in the Dockerfile for SCCACHE_REDIS so that, at
  build time, it does not fail with the new behavior because nothing was
  actually being passed into the container.
2022-05-29 13:43:01 +10:00
Firstyear ee4e9b906b
Resolve linker issues on arm. (#787) 2022-05-26 21:13:07 +10:00
Firstyear c26ccb9b38
Improve token readability, Fix issue with spn format (#773) 2022-05-24 13:49:51 +10:00
Kellin deedb9560b
Fix typo in Dockerfile (#770)
- Change `mantainer` to `maintainer` in the Dockerfile label
2022-05-23 16:44:42 +10:00
James Hodgkinson 5dc17c0c74
Dockerized containerybuilds (#741)
* let us see if we can dockerize this crab
2022-05-08 13:00:34 +10:00
William Brown 980f358d85 Push some missed bits to documents 2022-05-01 15:18:26 +10:00
Firstyear fa610c6d88
106 auth concurrency (#643) 2022-03-07 09:22:35 +10:00
Firstyear f252d91e13
20220219 webui updates + source refactor + clippy go clip clip (#642) 2022-02-20 12:43:38 +10:00
Firstyear 0f4189a57e
278 603 OIDC implementation (#608) 2021-11-21 16:41:49 +10:00
Firstyear 573e346476
Add support for storing security token key in domain config (#581) 2021-09-25 11:24:00 +10:00
Firstyear 6bc719cdb2
Base web UI (#391)
Initial web ui (not-functional yet)
2021-03-26 11:22:00 +10:00
OttoHollmann 8eb2bd9ee1
Fix Dockerfile to check return values. (#389) 2021-03-23 09:34:40 +10:00
William Brown 483aa6f23d Update build 2021-02-17 18:49:03 +10:00
Firstyear f710e66f64
356 Use tls chain file (#358)
Fixes #356 - this changes from a split ca_chain/cert configuration to a single chain file. This allows rustls in tide-rustls to present the chain correctly, and allows openssl for ldaps to present the chain correctly too. it also simplifies integration to lets encrypt which provides a chain and key file by default.
2021-02-16 11:40:25 +10:00
Firstyear 3844aadf60
Tokio1.0 (#340)
Upgrade dependencies, with the major highlight as the upgrade to tokio 1.0
2021-01-10 13:41:56 +10:00
William Brown 0f6bc36cee Improve docker buildr 2020-12-30 12:29:01 +10:00
Firstyear ec48edac82
13 135 webauthn support (#332)
Fixes #13 and Fixes #135 - webauthn and webauthn with cli. This is the core of webauthn, but only as a single factor. Some changes are still needed for webauthn as MFA and as a verified single factor. This will be made in a subsequent PR.
2020-12-02 11:12:07 +10:00
William Brown c428ffcec5 Build improvements 2020-08-09 10:44:10 +10:00
William Brown c4805d2915 Improve server hardening
This adds a number of warnings to the server to help administrators make
better informed decisions about the security of their environment.
2020-07-31 14:55:14 +10:00
William Brown cdd7e0e49a Update deps + add simd support in container 2020-07-24 17:38:59 +10:00
Firstyear fec28e03e2
195 rel cleanup (#268)
Fixes #195 pre release cleanup. This does a LOT, clippy, formatting, and much much more. It fixes a lot of parts of the book, improves server config and more.
2020-06-18 10:30:42 +10:00
Firstyear 70fa17f3a1
199 ldap gateway (#246)
adds an LDAP gateway to the server. It supports TLS if configured for the webserver, using the same parameters. It is a read only interface, only supporting bind via the configured posix password.
2020-06-10 12:07:43 +10:00
Firstyear e08b5c14f5
Merge pull request #222 from kanidm/20200508-docker-fix
This fixes an incorrect path in the suse image
2020-05-08 10:50:05 +10:00
Pando85 7687791466 Merge docker image github actions into unique
Use matrix and Makefile to build both images in the same workflow.

Kanidmd image remove muslc version and come back to SUSE version because
performance problems.

Also fix a typo bug with kanidmd image build on CI.
2020-05-07 12:37:14 +10:00
Pando85 c2f77a47f3 Create light images with static binaries
- Change base builder image to `ekidd/rust-musl-builder` for create static
binaries.
- Add two flavours: alpine and stand alone binary.
- Add makefile commands for build, test and push kanidmd images and
  refactor previous code.
- Add missing things to `.dockerignore`.
- Refactor CI to use Makefile.
2020-05-06 11:07:01 +10:00
Pando85 d6acffd869 Fix sqlite fails in CI tests and fmt error
Add `libsqlite3-sys` crate to avoid sqlite3 missmatching version.

From [https://lib.rs/crates/libsqlite3-sys](https://lib.rs/crates/libsqlite3-sys)
> If you use the bundled feature, libsqlite3-sys will use the cc crate to compile SQLite from source and link against that. This source is embedded in the libsqlite3-sys crate and is currently SQLite 3.30.1 (as of rusqlite 0.21.0 / libsqlite3-sys 0.17.0). This is probably the simplest solution to any build problems.

Remove sqlite OS packages dependencies for build.

Also, we fix a format error to allow CI tests to pass again.
2020-05-06 10:16:26 +10:00
William Brown b8f906ed36 Update outdated libraries and add helper make argument. 2020-04-11 10:48:34 +10:00
Firstyear 8cfa8f3f95
12 totp (#201)
Implements #12, TOTP. This adds support for TOTP to the api and server, with server side token generation, authentication and the correct URI for encoding into QR codes for client token addition. Some extra measures have been taken such as in the stepped auth to always notify on the success or failure of the TOTP first (regardless of order) to prevent PW bruteforce attacks.
2020-04-10 15:50:45 +10:00
Firstyear 5a9ad39d6b
20200218 pam (#189)
Add support for unix_password handling, and pam authentication for services.
2020-02-29 14:02:14 +10:00
Firstyear 7135a6e42d
Attempted to add caching but it failed, improve usage (#162) 2020-01-02 18:54:50 +11:00
Firstyear b579c5395c
20191202 documentation (#156)
Add an initial skeleton and draft of a book, which should be maintained and improved as the server is developed to help guide users.
2019-12-03 16:03:05 +10:00
Firstyear 4de0d03eab
126 ssh key features (#146)
Implemnt SSH public key management

    This implements ssh public key distribution for kanidm, enforcing that
    valid ssh public keys are placed into the ssh_publickey attribute, adds
    management tools so that accounts can self-service manage their keys,
    and finally adds an authorized keys command helper suitable for
    sshd_config to utilise.
2019-11-16 14:40:45 +10:00
Firstyear 4f28bb5bc3
Resolve 139, 140, 141, 142 (#143) 2019-11-07 17:08:11 +10:00
Firstyear c006341884
17 radius (#123)
Majority of radius integration and tooling complete, including docker files.
2019-10-31 10:48:15 +10:00
Renamed from Dockerfile (Browse further)