-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: master
Are you sure you want to change the base?
Conversation
.gitignore
Outdated
@@ -61,13 +61,15 @@ dependencies/.extracted | |||
|
|||
# CMake | |||
cmake-build-*/ | |||
build/ |
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.
gitignore 有一些重复的条目
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.
这个commit暂时的,后面不会推上来
dependencies/cmake/CMakeLists.txt
Outdated
add_subdirectory(BSThreadPool) | ||
add_subdirectory(nlohmann_json) | ||
# add_subdirectory(nlohmann_json) |
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.
这个依赖不能去掉
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.
这个也在想怎么解决
repeated AllowedPartitionQos allowed_partition_qos_list = 5; | ||
repeated string coordinator_accounts = 6; | ||
AdminLevel admin_level = 7; | ||
string password = 3; |
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.
🤔 明文?
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.
有SSL的话,前端加密应该没必要了吧
#include "CtldForCforedServer.h" | ||
#include "CtldForCranedServer.h" |
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.
Precompiled header comes first!
@@ -24,6 +26,7 @@ | |||
|
|||
#include <cxxopts.hpp> | |||
#include <filesystem> | |||
#include <memory> |
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.
CtldPreCompiledHeader.h 中应该有了
|
||
DomainSuffix: crane.com | ||
|
||
JwtCertFilePath: /etc/crane/jwt.pem |
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.
这一堆config新建一个SSL层级吧
SSL:
- CranedCertPath
- Ctld....
- xxxx
URL_HASH SHA256=b9eb270e3ba8221e4b2bc38723c9a1cb4fa6c241a42908b9a334daff31137406 | ||
INACTIVITY_TIMEOUT 5 | ||
) | ||
set(JWT_BUILD_EXAMPLES OFF CACHE BOOL "disable building examples" FORCE) |
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.
这个需要cache吗?
Crane动态链接需不需要修改参数?需要确认一下
292da88
to
2ae9fd8
Compare
No description provided.