Skip to content

Commit eb0ab33

Browse files
committed
Clarify comment
1 parent 1d767f1 commit eb0ab33

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

client/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ def calling_sae_id(authorization_header: str | None) -> str:
137137
if len(_CLIENT.encryptor_names) == 1:
138138
# If the client has exactly one encryptor, we assume that this is the one.
139139
# 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.
140143
master_sae_id = _CLIENT.encryptor_names[0]
141144
else:
142145
# There is more than one encryptor, so we cannot guess which one is calling.

0 commit comments

Comments
 (0)