From 7edfe2dfffc4381f36e5d56cce9b587156e2a51f Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Mon, 9 Sep 2024 17:57:40 +0200 Subject: [PATCH] add referene to the spec for otpauth urls (which is still a draft) --- src/main.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.zig b/src/main.zig index f7f4aad..c957ee8 100644 --- a/src/main.zig +++ b/src/main.zig @@ -195,6 +195,7 @@ fn parseArgs(allocator: Allocator, args: []const []const u8) !Args { return result; } +// see https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-01.txt fn parseOtpAuthUrl(allocator: Allocator, url: []const u8) !OtpAuthUrl { const uri = try std.Uri.parse(url);