-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(jans-lock): cedarling code refactoring to improve its readability and maintainance #9493
Conversation
DryRun Security SummaryThe provided code changes cover a wide range of modifications to the Cedarling project, a Rust-based authorization and security solution, including updates to the project configuration, the addition of new functionality, and improvements to the overall codebase, with a focus on improving the security and robustness of the project. Expand for full summarySummary: The provided code changes cover a wide range of modifications to the Cedarling project, which appears to be a Rust-based authorization and security solution. The changes span multiple files and modules, including updates to the project configuration, the addition of new functionality, and improvements to the overall codebase. From an application security perspective, the changes appear to be generally positive, with a focus on improving the security and robustness of the Cedarling project. Key highlights include:
While the changes appear to be generally positive from a security perspective, it is important to review the specific implementation details of the new modules and functionality to ensure that they are designed and implemented with security best practices in mind. This includes, but is not limited to, verifying input validation, access control, error handling, and the secure handling of sensitive data, such as cryptographic keys and authorization tokens. Files Changed:
Code AnalysisWe ran Riskiness🟢 Risk threshold not exceeded. |
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
10e4787
to
7b74270
Compare
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
7b74270
to
220b655
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The license should actually read:
/*
* This software is available under the Apache-2.0 license.
* See https://www.apache.org/licenses/LICENSE-2.0.txt for full text.
*
* Copyright (c) 2024, Gluu, Inc.
*/
- Did you add
#![deny(missing_docs)]
?
hard_tabs = true | ||
edition = "2021" | ||
unstable_features = true | ||
version = "Two" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version "Two"? What is the version of exactly? Why is it "Two"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which version of the formatting rules to use. Version::One is backwards-compatible with Rustfmt 1.0. Other versions are only backwards compatible within a major version number.
https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#version
here is link to the config documentation
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com>
220b655
to
efde4b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bueno!
…y and maintainance (#9493) * feat!(jans-lock): remove cedarling code Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): created empty cedarling crate, with default parameters Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add auth module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add init module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add jwt module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * docs(jans-lock): added readme file Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): added license notice Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add test module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add lock module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add models module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> * chore(jans-lock): add log module Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> --------- Signed-off-by: Oleh Bohzok <olehbozhok@gmail.com> Former-commit-id: af9d2bc
Prepare
Description
This PR includes skeleton of new version of Cedarling
Target issue
Implementation Details
Code of Cedarling was removed. Created new skeleton.
New code will be created according to the Cedarling Build Plan
Test and Document the changes
Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with
docs:
to indicate documentation changes or if the below checklist is not selected.