Skip to content
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

TLS/SSL Security Framework #349

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

TLS/SSL Security Framework #349

wants to merge 9 commits into from

Conversation

huerni
Copy link
Collaborator

@huerni huerni commented Nov 6, 2024

No description provided.

.gitignore Outdated
@@ -61,13 +61,15 @@ dependencies/.extracted

# CMake
cmake-build-*/
build/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gitignore 有一些重复的条目

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个commit暂时的,后面不会推上来

add_subdirectory(BSThreadPool)
add_subdirectory(nlohmann_json)
# add_subdirectory(nlohmann_json)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个依赖不能去掉

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个也在想怎么解决

repeated AllowedPartitionQos allowed_partition_qos_list = 5;
repeated string coordinator_accounts = 6;
AdminLevel admin_level = 7;
string password = 3;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 明文?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有SSL的话,前端加密应该没必要了吧

Comment on lines +17 to +18
#include "CtldForCforedServer.h"
#include "CtldForCranedServer.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Precompiled header comes first!

@@ -24,6 +26,7 @@

#include <cxxopts.hpp>
#include <filesystem>
#include <memory>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CtldPreCompiledHeader.h 中应该有了


DomainSuffix: crane.com

JwtCertFilePath: /etc/crane/jwt.pem
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这一堆config新建一个SSL层级吧

SSL:
- CranedCertPath
- Ctld....
- xxxx

URL_HASH SHA256=b9eb270e3ba8221e4b2bc38723c9a1cb4fa6c241a42908b9a334daff31137406
INACTIVITY_TIMEOUT 5
)
set(JWT_BUILD_EXAMPLES OFF CACHE BOOL "disable building examples" FORCE)
Copy link
Collaborator

@L-Xiafeng L-Xiafeng Nov 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个需要cache吗?
Crane动态链接需不需要修改参数?需要确认一下

@L-Xiafeng L-Xiafeng added enhancement New feature or request build Build system change labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants