All of lore.kernel.org
 help / color / mirror / Atom feed
* [WireGuard] WireGuard key lifetime / keys in smartcard?
@ 2016-07-12 23:14 Nathaniel W Filardo
  2016-07-13  8:21 ` Jason A. Donenfeld
  0 siblings, 1 reply; 8+ messages in thread
From: Nathaniel W Filardo @ 2016-07-12 23:14 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

I am sure this is a completely ignorant question, but: I'd love to have a
wireguard host without direct access to its long-term identity keys to raise
the difficulty of silently spoofing/cloning a tunnel endpoint after host
compromise.  I can see two possible ways forward, though I'm sure there are
others!

1. Long-lived identity keys giving rise to shorter-lived keys.  Wireguard
   would, as part of the handshake, include the signature that attested the
   short-term key as a legitimate product of the long-term key.

2. Long-lived keys not in host memory (e.g. in a smartcard).  I don't know
   if the kernel has an existing mechanism for upcalling to userland to
   request a cryptographic transform, but it seems like a plausible thing to
   want.  (I'm aware of the request-key mechanism, but that doesn't seem
   like what'd be wanted here.)  Handshakes would be slow (limited by crypto
   processor and upcall overhead) but otherwise the WireGuard protocol would
   not change.

Thanks for a lovely piece of technology!
--nwf;

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-07-20  8:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 23:14 [WireGuard] WireGuard key lifetime / keys in smartcard? Nathaniel W Filardo
2016-07-13  8:21 ` Jason A. Donenfeld
2016-07-13  9:01   ` Daniel Kahn Gillmor
2016-07-15 12:12     ` Jason A. Donenfeld
2016-07-15 18:44       ` gric
2016-07-15 20:55         ` Jason A. Donenfeld
2016-07-15 21:51           ` Jonathan Rudenberg
2016-07-20  8:38       ` NIIBE Yutaka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.