summaryrefslogtreecommitdiffstats
path: root/common/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-18 11:40:41 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-18 11:40:45 +0200
commita7e7f7fdd2a9d38921476d57f305c9cd4459a556 (patch)
treed9ad3bdc3e275004a54f508025f0d52227ab18cb /common/CMakeLists.txt
parentea2e02ad656640c17d520b5a22c168c3c1faef56 (diff)
downloadsink-a7e7f7fdd2a9d38921476d57f305c9cd4459a556.tar.gz
sink-a7e7f7fdd2a9d38921476d57f305c9cd4459a556.zip
Avoid storing the password in the configuration
The password (or any other secret), is now cached in the client process (in-memory only), and delivered to the resource via command. The resource avoids doing any operations against the source until the secret is available.
Diffstat (limited to 'common/CMakeLists.txt')
-rw-r--r--common/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 8421fc2..b0e0d04 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -33,6 +33,7 @@ set(storage_LIBS lmdb)
33 33
34set(command_SRCS 34set(command_SRCS
35 store.cpp 35 store.cpp
36 secretstore.cpp
36 notifier.cpp 37 notifier.cpp
37 resourcecontrol.cpp 38 resourcecontrol.cpp
38 modelresult.cpp 39 modelresult.cpp
@@ -97,6 +98,7 @@ generate_flatbuffers(
97 commands/revisionreplayed 98 commands/revisionreplayed
98 commands/inspection 99 commands/inspection
99 commands/flush 100 commands/flush
101 commands/secret
100 domain/contact 102 domain/contact
101 domain/addressbook 103 domain/addressbook
102 domain/event 104 domain/event
@@ -144,6 +146,7 @@ install(FILES
144 test.h 146 test.h
145 log.h 147 log.h
146 flush.h 148 flush.h
149 secretstore.h
147 ${CMAKE_CURRENT_BINARY_DIR}/sink_export.h 150 ${CMAKE_CURRENT_BINARY_DIR}/sink_export.h
148 DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME} COMPONENT Devel 151 DESTINATION ${INCLUDE_INSTALL_DIR}/${PROJECT_NAME} COMPONENT Devel
149) 152)