diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index fc89694fe..1fb6c7082 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -12,6 +12,7 @@ * Jamie (JJJollyjim) * Triss Healy (NiryaAestus) * Samuel Cabrero (scabrero) +* Victor Wai (vcwai) ## Acknowledgements diff --git a/Cargo.lock b/Cargo.lock index caee2b2c7..52fd1e31c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -227,6 +227,17 @@ dependencies = [ "winapi", ] +[[package]] +name = "async-rustls" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c86f33abd5a4f3e2d6d9251a9e0c6a7e52eb1113caf893dae8429bf4a53f378" +dependencies = [ + "futures-lite", + "rustls", + "webpki", +] + [[package]] name = "async-session" version = "2.0.1" @@ -296,19 +307,6 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" -[[package]] -name = "async-tls" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f23d769dbf1838d5df5156e7b1ad404f4c463d1ac2c6aeb6cd943630f8a8400" -dependencies = [ - "futures-core", - "futures-io", - "rustls", - "webpki", - "webpki-roots", -] - [[package]] name = "async-trait" version = "0.1.48" @@ -1424,6 +1422,24 @@ dependencies = [ "ahash 0.4.7", ] +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash 0.7.2", +] + +[[package]] +name = "hashlink" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d99cf782f0dc4372d26846bec3de7804ceb5df083c2d4462c0b8d2330e894fa8" +dependencies = [ + "hashbrown 0.9.1", +] + [[package]] name = "heck" version = "0.3.2" @@ -1620,7 +1636,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "824845a0bf897a9042383849b02c1bc219c2383772efcd5c6f9766fa4b81aef3" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.9.1", ] [[package]] @@ -1714,7 +1730,7 @@ dependencies = [ "fernet", "futures", "futures-util", - "hashbrown", + "hashbrown 0.11.2", "idlset", "jemallocator", "kanidm_proto", @@ -1924,9 +1940,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.18.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e704a02bcaecd4a08b93a23f6be59d0bd79cd161e0963e9499165a0a35df7bd" +checksum = "64d31059f22935e6c31830db5249ba2b7ecd54fd73a9909286f0a67aa55c2fbd" dependencies = [ "pkg-config", "vcpkg", @@ -1952,12 +1968,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "linked-hash-map" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3" - [[package]] name = "lock_api" version = "0.4.2" @@ -1983,16 +1993,7 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f374d42cdfc1d7dbf3d3dec28afab2eb97ffbf43a3234d795b5986dbf4b90ba" dependencies = [ - "hashbrown", -] - -[[package]] -name = "lru-cache" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e24f1ad8321ca0e8a1e0ac13f23cb668e6f5466c2c57319f6a5cf1cc8e3b1c" -dependencies = [ - "linked-hash-map", + "hashbrown 0.9.1", ] [[package]] @@ -2548,9 +2549,9 @@ dependencies = [ [[package]] name = "r2d2_sqlite" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed60ebe88b27ac28c0563bc0fbeaecd302ff53e3a01e5ddc2ec9f4e6c707d929" +checksum = "227ab35ff4cbb01fa76da8f062590fe677b93c8d9e8415eb5fa981f2c1dba9d8" dependencies = [ "r2d2", "rusqlite", @@ -2799,18 +2800,17 @@ checksum = "5d79b4b604167921892e84afbbaad9d5ad74e091bf6c511d9dbfb0593f09fabd" [[package]] name = "rusqlite" -version = "0.23.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45d0fd62e1df63d254714e6cb40d0a0e82e7a1623e7a27f679d851af092ae58b" +checksum = "d5f38ee71cbab2c827ec0ac24e76f82eca723cee92c509a65f67dee393c25112" dependencies = [ "bitflags", "fallible-iterator", "fallible-streaming-iterator", + "hashlink", "libsqlite3-sys", - "lru-cache", "memchr", "smallvec", - "time 0.1.43", ] [[package]] @@ -3312,9 +3312,9 @@ dependencies = [ [[package]] name = "tide" -version = "0.15.1" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8889753e7e7b9d1ceb7a67e7df8c3994b4657082219d78eb379f71fe2934e66b" +checksum = "c459573f0dd2cc734b539047f57489ea875af8ee950860ded20cf93a79a1dee0" dependencies = [ "async-h1", "async-session", @@ -3327,7 +3327,7 @@ dependencies = [ "http-types", "kv-log-macro", "log", - "pin-project-lite 0.1.12", + "pin-project-lite 0.2.6", "route-recognizer", "serde", "serde_json", @@ -3335,14 +3335,14 @@ dependencies = [ [[package]] name = "tide-rustls" -version = "0.1.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2faeed43463ab96a5362256554787c10752f1173c9ffaf7b553842ef12b6c5" +checksum = "7a85b568b611840ba794ae749d4fa8b345b9f71a9c02b82cf0c28ff076fde6b7" dependencies = [ "async-dup", "async-h1", + "async-rustls", "async-std", - "async-tls", "rustls", "tide", ] @@ -3819,15 +3819,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki-roots" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82015b7e0b8bad8185994674a13a93306bea76cf5a16c5a181382fd3a5ec2376" -dependencies = [ - "webpki", -] - [[package]] name = "wepoll-sys" version = "3.0.1" diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 8ee3bddb0..4cf387ac4 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -3,8 +3,39 @@

+# Getting Started + +To get started, see the [kanidm book] + +# Feedback + +We value your feedback! First, please see our [code of conduct]. If you +have questions please join our [gitter community channel] so that we +can help. If you find a bug or issue, we'd love you to report it to our +[issue tracker]. + # Release Notes +## 2021-04-01 - Kanidm 1.1.0-alpha4 + +This is the fourth alpha series release of the Kanidm Identity Management +project. Alpha releases are to help get feedback and ideas from the community +on how we can continue to make this project better for a future supported release. + +### Release Highlights + +* Performance Improvements +* TOTP CLI enrollment +* Jemalloc in main server instead of system allocator +* Command line completion +* TLS file handling improvements +* Webauthn authentication and enrollment on CLI +* Add db vacuum task +* Unix tasks daemon that automatically creates home directories +* Support for sk-ecdsa public ssh keys +* Badlist checked at login to determine account compromise +* Minor Fixes for attribute display + ## 2021-01-01 - Kanidm 1.1.0-alpha3 This is the third alpha series release of the Kanidm Identity Management @@ -19,17 +50,6 @@ on how we can continue to make this project better for a future supported releas * Rewrite of json authentication protocol components. * Unixd will cache "non-existant" items to improve nss/pam latency. -### Getting Started - -To get started, see the [kanidm book] - -### Feedback - -We value your feedback! First, please see our [code of conduct]. If you -have questions please join our [gitter community channel] so that we -can help. If you find a bug or issue, we'd love you to report it to our -[issue tracker]. - ## 2020-10-01 - Kanidm 1.1.0-alpha2 This is the second alpha series release of the Kanidm Identity Management @@ -48,17 +68,6 @@ on how we can continue to make this project better for a future supported releas * Reduction in memory footprint during searches * Change authentication from cookies to auth-bearer tokens -### Getting Started - -To get started, see the [kanidm book] - -### Feedback - -We value your feedback! First, please see our [code of conduct]. If you -have questions please join our [gitter community channel] so that we -can help. If you find a bug or issue, we'd love you to report it to our -[issue tracker]. - ## 2020-07-01 - Kanidm 1.1.0-alpha1 This is the first alpha series release of the Kanidm Identity Management @@ -90,17 +99,6 @@ and help of many people. I would especially like to thank: * Recycle Bin * Performance analysis tools -### Getting Started - -To get started, see the [kanidm book] - -### Feedback - -We value your feedback! First, please see our [code of conduct]. If you -have questions please join our [gitter community channel] so that we -can help. If you find a bug or issue, we'd love you to report it to our -[issue tracker]. - [issue tracker]: https://github.com/kanidm/kanidm/issues [gitter community channel]: https://gitter.im/kanidm/community [code of conduct]: https://github.com/kanidm/kanidm/blob/master/CODE_OF_CONDUCT.md diff --git a/kanidm_unix_int/Cargo.toml b/kanidm_unix_int/Cargo.toml index 34c0369da..b255fcd07 100644 --- a/kanidm_unix_int/Cargo.toml +++ b/kanidm_unix_int/Cargo.toml @@ -64,10 +64,10 @@ serde_derive = "1.0" serde_cbor = "0.11" structopt = { version = "0.3", default-features = false } -libsqlite3-sys = { version = "0.18" } -rusqlite = { version = "0.23", features = ["backup"] } +libsqlite3-sys = { version = "0.20" } +rusqlite = { version = "0.24", features = ["backup"] } r2d2 = "0.8" -r2d2_sqlite = "0.16" +r2d2_sqlite = "0.17" reqwest = { version = "0.11" } diff --git a/kanidmd/Cargo.toml b/kanidmd/Cargo.toml index 07534de74..ea836e14b 100644 --- a/kanidmd/Cargo.toml +++ b/kanidmd/Cargo.toml @@ -23,10 +23,10 @@ kanidm_proto = { path = "../kanidm_proto", version = "1.1.0-alpha" } jemallocator = { version = "0.3.0", optional = true } url = "2.1" -tide = "0.15" +tide = "0.16" +tide-rustls = "0.3" async-trait = "0.1" async-h1 = "2.0" -tide-rustls = "0.1" fernet = "^0.1.4" async-std = "1.6" @@ -53,15 +53,15 @@ serde_cbor = "0.11" serde_json = "1.0" serde_derive = "1.0" -libsqlite3-sys = { version = "0.18" } -rusqlite = { version = "0.23", features = ["backup"] } +libsqlite3-sys = { version = "0.20" } +rusqlite = { version = "0.24", features = ["backup"] } r2d2 = "0.8" -r2d2_sqlite = "0.16" +r2d2_sqlite = "0.17" structopt = { version = "0.3", default-features = false } time = { version = "0.2", features = ["serde", "std"] } -hashbrown = "0.9" +hashbrown = "0.11" concread = "^0.2.5" # concread = { version = "^0.2.5", features = ["simd_support"] } diff --git a/kanidmd/src/lib/constants/mod.rs b/kanidmd/src/lib/constants/mod.rs index e556ac6f9..a64dfadb9 100644 --- a/kanidmd/src/lib/constants/mod.rs +++ b/kanidmd/src/lib/constants/mod.rs @@ -13,7 +13,7 @@ pub use crate::constants::system_config::*; pub use crate::constants::uuids::*; // Increment this as we add new schema types and values!!! -pub const SYSTEM_INDEX_VERSION: i64 = 12; +pub const SYSTEM_INDEX_VERSION: i64 = 13; // On test builds, define to 60 seconds #[cfg(test)] pub const PURGE_FREQUENCY: u64 = 60; diff --git a/project_docs/RELEASE_CHECKLIST.md b/project_docs/RELEASE_CHECKLIST.md index b554a735c..d30dd33f5 100644 --- a/project_docs/RELEASE_CHECKLIST.md +++ b/project_docs/RELEASE_CHECKLIST.md @@ -4,7 +4,7 @@ // cargo install cargo-release * cargo audit -* cargo outdated +* cargo outdated -R * upgrade crypto policy values if requires * bump index version in constants