[Swan-dev] can add connection require a private key?

Andrew Cagney andrew.cagney at gmail.com
Thu Sep 17 14:01:44 UTC 2020

Currently the code just warns when trying to add a connection with no
private key.   Instead much much later - during the auth exchange - the
code tries to find the private key.
Presumably this is because the end may not need the private key.

I'm wondering if there's enough information available to determine that the
private key is required when the connection is being added.  If a
connection can specify multiple optional auth methods then probably not?

(a case when there isn't is with rsasigkey - that only arrives after the
connection is added; grrrr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20200917/21fe1d8a/attachment.html>

More information about the Swan-dev mailing list