Implementing a WKS solution
Ingo Klöcker
kloecker at kde.org
Mon Feb 22 21:12:34 CET 2021
On Montag, 22. Februar 2021 16:31:14 CET Dashamir Hoxha via Gnupg-devel wrote:
> By the way, using the header 'X-WKS-Loop' with 'gpg-wks-server' seems
> superfluous to me, since 'gpg-wks-server' already adds automatically
> the header 'Wks-Phase', which should be sufficient for detecting a
> loop. Am I missing something?
Well, X-WKS-Loop is a single purpose header. Wks-Phase is another header with
specific purpose and semantics. It's usually not a good idea to (ab)use some
header for a completely orthogonal second purpose. (Using one artifact for one
purpose only is a general advice in software engineering.)
What if in a later version phase tracking is solved differently? Then you are
stuck with a header that is only used for loop detection and has the then
completely inappropriate and confusing name Wks-Phase.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20210222/ba13565f/attachment.sig>
More information about the Gnupg-devel
mailing list