From 62ef8ed57aab9f2b05a64b153d231ae4f42769f4 Mon Sep 17 00:00:00 2001 From: Florian RĂ¼chel Date: Mon, 6 Nov 2023 04:27:35 +1030 Subject: Add WebAuthn / Passkey integration This is a rebase of #1618 in which @dave-atx added WebAuthn support. Closes #1618 --- internal/config/parser.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/config/parser.go') diff --git a/internal/config/parser.go b/internal/config/parser.go index f354e5b5..454d2c99 100644 --- a/internal/config/parser.go +++ b/internal/config/parser.go @@ -244,6 +244,8 @@ func (p *Parser) parseLines(lines []string) (err error) { randomKey := make([]byte, 16) rand.Read(randomKey) p.opts.proxyPrivateKey = parseBytes(value, randomKey) + case "WEBAUTHN": + p.opts.webAuthn = parseBool(value, defaultWebAuthn) } } -- cgit v1.2.3