add another link to totp spec

This commit is contained in:
2024-09-20 16:23:39 +02:00
parent ec75712d04
commit 0df5a7a5ce

View File

@@ -207,6 +207,7 @@ fn parseArgs(allocator: Allocator, args: []const []const u8) !Args {
} }
// see https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-01.txt // see https://www.ietf.org/archive/id/draft-linuxgemini-otpauth-uri-01.txt
// or https://github.com/google/google-authenticator/wiki/Key-Uri-Format
fn parseOtpAuthUrl(allocator: Allocator, url: []const u8) !OtpAuthUrl { fn parseOtpAuthUrl(allocator: Allocator, url: []const u8) !OtpAuthUrl {
const uri = try std.Uri.parse(url); const uri = try std.Uri.parse(url);