Commit graph

27 commits

Author SHA1 Message Date
Firstyear 7135a6e42d
Attempted to add caching but it failed, improve usage (#162) 2020-01-02 18:54:50 +11:00
Firstyear c8d73b7594
20191217 update 1.39 deps (#161)
Update to 1.39 + all deps update, and setup cargo.toml's for publishing to crates (to prevent domain/crate squatting).
2019-12-17 15:47:16 +10:00
Firstyear 2ede944fdb
29 password badlisting (#158)
Implements #29 password badlist and quality checking. This checks all new passwords are at least length 10, pass zxcvbn and are not container in a badlist. The current badlist is a preprocessed content of rockyou from seclists, but later wwe'll update this to the top 10million badlist which when processed is about 70k entries..
2019-12-13 08:49:32 +10: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
William Brown 646261ebf7 Resolve domain_name overwrite on startup issue 2019-12-01 15:16:56 +10:00
William Brown 7fcb0e6069 Fix missing self write on ssh public key 2019-12-01 14:19:20 +10:00
William Brown e670924324 Update assert to debug assert, add Makefile, and resolve an issue with reindexing 2019-11-30 22:05:13 +10:00
Firstyear 000a24b49e
23 gidnumber generation (#154)
Implements #23 gidnumber generation. This automatically creates gid numbers for posixaccounts and posixgroups based on the UUID of the object. Alternately, these can be provided if manual allocation is desired. This is an important step in posix attribute support.
2019-11-30 09:39:31 +10:00
Firstyear 6faf79db03
acp_enable is optional and non-presence implies true (#152)
Implements #88, acp_enable becomes optional. This is important with regard to migrations. When we migrate, if an attribute is present in the migration we always set the value in the case of a single-value attribute (multivalues interleave). This means an admin who may set acp_enable to false on default shipped access controls would have them forcefully re-activated on each server restart. This change makes acp_enable optional, and removes it from the migration. If NOT present on an ACP, it's considered "true", so that when an admin overrides this value to false, we will permanently respect that choice.
2019-11-30 09:39:00 +10:00
Firstyear 0609196048
127 domain info type (#150)
Implements #127 and #125. This adds domain_info support, and spn types and generation. It also correctly handles domain renaming, and has tooling to support this. It "should" work on an upgrade, due to the correct bump of index version, but I plan to test this from a backup of my production instance soon.
2019-11-29 10:48:22 +10:00
Firstyear 44693be17a
Add docs for backup, restore, reindex and verify (#148)
Implements #136 document backup and restore. This adds documentation into getting started on these actions, as well as reindex and verify .
2019-11-17 12:36:32 +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
Alberto Planas 60dc278f4c Remove unnecessary parentheses around type
Fix a compilation error in nightly, and a future error in stable.
2019-11-13 21:12:45 +10:00
Firstyear 4f28bb5bc3
Resolve 139, 140, 141, 142 (#143) 2019-11-07 17:08:11 +10:00
Firstyear c82fb731ef
20191031 account mgmt (#130)
This adds rudimentary support to the cli for group and account management. This is required for a skeleton deployment to be initiated.
2019-11-02 11:15:15 +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
Firstyear 86938a7521
Split read vs write actors (#121) 2019-10-15 15:34:07 +13:00
Firstyear 5429f8a6c0
Add draft trust document (#111) 2019-10-10 19:42:33 +10:00
Firstyear 6b0b2ad040
Refactor client lib to expose msgs, and improve the messages in plugins (#114)
Implements #100. This refactors our error types to be deserialiseable, and exposes these through the clienterror type with the status codes. There is probably still a lot of improvements here to be made, but they'll be shaken out as the client libs develop I think and we start to see what errors should be exposed.
2019-10-10 13:17:32 +10:00
Firstyear 6c44297bd9
6 create modify tool (#113)
Implements #6 - create, modify and delete. These are the raw/lowlevel db commands which are really useful for administrators. They aren't intended for normal day to day use though.

This also adds a basic getting started, fixes a missing privilege, adds support for reseting another accounts password, and for server side password generation.

It's likely I'm going to reformat some of the current REST api though to use our higher level internal types.
2019-10-07 08:41:30 +10:00
Firstyear 1f2b965285
6 schema list (#112)
This adds rest endpoints for schema, group, account listing and individual item getting, client lib to call these end points, and tests for all of these.
2019-10-05 10:40:43 +10:00
Firstyear 4ba34d18e1
6 idm api design (#109)
Draft of the idm server rest api layout. This is no means a final representation of what this API will look like, but it's important that the ideas and direction, as well as capabilities were documented and discussed.
2019-09-30 19:01:20 +10:00
Firstyear e9cb71b9a7
Add tooling for accounts to self-set their password (#107)
Partially Implements #6 - add ability for accounts to self set password. This is good for now, as I get closer to a trial radius deployment, but I think I'm finding the rest api probably needs a better plan at this point, as well as probably the way we do the proto and the communication needs some more thoughts too.
2019-09-27 09:59:23 +10:00
Firstyear 879095c450
Implement #90 - allow self write to name, displayname, and legalname. (#105)
* Implement #90 - allow self write to name, displayname, and legalname.

This is an important aspect to respecting peoples autonomy and identities
so that they can change their name when appropriate to them. Limit self read/write to live accounts, and prevent anonymous self-write
2019-09-27 09:57:53 +10:00
Firstyear 4f85883c32
Implement #8 indexing - today this is only eq and pres indexes, but (#102)
it does handle the cases correctly for test threshold, andnot, or,
and and exists shortcuts. It's also extremely well tested!
2019-09-25 12:38:20 +02:00
Firstyear 0d4509233b
87 default idm entries (#89)
This adds the fundamentals of the basic IDM layout. It contains the needed design document, and is designed such that the default admins while powerful, still have some limits upon them.
2019-09-16 04:05:26 +10:00
William Brown 0433a0a1d4 Complete the rename of the project from rsidm to kanidm 2019-09-14 15:58:28 +02:00