We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d767f1 commit eb0ab33Copy full SHA for eb0ab33
1 file changed
client/__main__.py
@@ -137,6 +137,9 @@ def calling_sae_id(authorization_header: str | None) -> str:
137
if len(_CLIENT.encryptor_names) == 1:
138
# If the client has exactly one encryptor, we assume that this is the one.
139
# This makes it easier for users to use curl for testing in simple topologies.
140
+ # It's okay because we only implement a subset of ETSI QKD 014: we are not really
141
+ # authenticating the clients, we are just using the Authorization header to
142
+ # determine which encryptor is calling.
143
master_sae_id = _CLIENT.encryptor_names[0]
144
else:
145
# There is more than one encryptor, so we cannot guess which one is calling.
0 commit comments