[saag] Review requested - draft-linuxgemini-otpauth-uri-02

İlteriş Yağıztegin Eroğlu <ietf@linuxgemini.space> Thu, 03 April 2025 22:33 UTC

Return-Path: <ietf@linuxgemini.space>
X-Original-To: saag@mail2.ietf.org
Delivered-To: saag@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 8903317479D8 for <saag@mail2.ietf.org>; Thu, 3 Apr 2025 15:33:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=linuxgemini.space
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xkpZp4c558HI for <saag@mail2.ietf.org>; Thu, 3 Apr 2025 15:33:22 -0700 (PDT)
Received: from mail-ej1-x664.google.com (mail-ej1-x664.google.com [IPv6:2a00:1450:4864:20::664]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id D627D17479C4 for <saag@ietf.org>; Thu, 3 Apr 2025 15:33:22 -0700 (PDT)
Received: by mail-ej1-x664.google.com with SMTP id a640c23a62f3a-ac73723b2d5so275401766b.3 for <saag@ietf.org>; Thu, 03 Apr 2025 15:33:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxgemini.space; s=jorts; t=1743719602; x=1744324402; darn=ietf.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=n5t0pFDGLmXZjqoKtIg+x2QSlyjhNqzHyRWA2ahm0XQ=; b=yPwTduE2whbyOYFOfa7c7bwYYwolWoXDWIj0kON28MzJnmekEcRH+mYgkDj+9aok6Q tr+6meCrFk+KFtfVEnOO07A5XX8MHy5cY/g42lwXgnKxOYoCKQ+nKZxYP1TV5r0cLHGU H6IzwvX5aIYDosWJHgjbgGKfRE7DBl7i9mtEdudStqRUv5y+v9eiwibuVIsfYXEhwmc7 JJOhqkMWydrI5Y00iit77OHU/k29OIs8zp/c1v85TEDpK9TGj/SyURk2/0UFY02zhT3w 8WjPKbDCTEoxnw8dq29JB/icJnwBKkgRfCwy4fWJavjd3iWIDtsFLxVaFPw7fV4pS+pJ U4lg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743719602; x=1744324402; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=n5t0pFDGLmXZjqoKtIg+x2QSlyjhNqzHyRWA2ahm0XQ=; b=dOHrOzdJEItx0EamdBvcA4qH6JVR1yMU8Hx2mAwUr0hVSPQJnZQBeCHH280te1iihM RLTUwrr9M2OYH/60kjcBtAxJ042U4rcX/MLaJzrWEGCQz6dcs3NClVY5zuQKfAQAvzAV bkt+NeX2pO6tI1ep0nF4merWhU2avLlIdjpq8hrfssD7qC/AQdJ4Ywv+OQ1ZlHq9CuzS PHpj5ar6XSPcUoWuNP/FUzOEHTZ/M5y8NhNRMz0h6uQ5bmjQVcx3Uu+UYwdE28RrLltE 4zRNFeuYoiWMPwBhdenggg6zXmANXX8k2wRnnhLbcSbquZvbx9u9eoZ2K3rg7+Q6jyy7 wPnQ==
X-Gm-Message-State: AOJu0YyRUJSbfrvIxiNHsEyZqT+4SsEhQHP6JDi5X4MrBFSl7YaeKgUW YuxrPMu1QZ1HJJUHN74j1T+x7bjlByJvJfA8GQxwPP4YVvaMpqWcZT5dDiP6XSsY/FlViJG52x6 pC72hWR+sjm1ozgSZ14Wg7i1h1FPU7r6B9YCB4aNVVxBuwNs9lQtRWL49
X-Gm-Gg: ASbGncuekrIG6DowIJL4z/O7W3Or5EVpCyLUSi0eh6+/cGJVEMD0oHJfdomAtvjdHVx X3pXqyzWPw42XYCqWp/K9bA5x5k+9XwXdmxBk7EO9AlpiulCh4+GgqFGOM6MtBOvpObQmXj6i0l 8ZnHl0UseBOV7KmnFT6p0y8Jsd60iAwrAWT0dKhzCSRMM54itqroGeZNxfIbJv98zbRaY67uQE3 OcZfD5lKmXnFxHJ1vTzvtELZKokHHL9xrfGpAPTq9F64ftmTmzE5FnTJLl1PLDXz0KD4vdoN6NJ GsnIoqBWC228GSPXTbD/Z7IYJjn+QckKQiPXmxXDguvhtMDH+1cRb2twh6QTsfrE/DVUQfc=
X-Google-Smtp-Source: AGHT+IGNPd39ihhpux57zaILMck6IoyQKTK6Xg84sxE/oAdYG0CH/Kf8rxlMedQ87XXyYUKEffYcEhsRShgk
X-Received: by 2002:a17:907:1b08:b0:ac4:2ad:44d9 with SMTP id a640c23a62f3a-ac7d1918b34mr99300966b.24.1743719600819; Thu, 03 Apr 2025 15:33:20 -0700 (PDT)
Received: from ?IPV6:2a02:ff0:c04:9708:9d12:91a3:7b99:51c1? ([2a02:ff0:c04:9708:9d12:91a3:7b99:51c1]) by smtp-relay.gmail.com with ESMTPS id a640c23a62f3a-ac7c016ccafsm8053666b.149.2025.04.03.15.33.20 for <saag@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Apr 2025 15:33:20 -0700 (PDT)
X-Relaying-Domain: linuxgemini.space
Message-ID: <d8a5f768-43bb-405d-a278-8fcb23cfe0fc@linuxgemini.space>
Date: Fri, 04 Apr 2025 01:33:19 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: saag mailing list <saag@ietf.org>
From: İlteriş Yağıztegin Eroğlu <ietf@linuxgemini.space>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Message-ID-Hash: SQWH3V2LRTO7HYF44M72USCIRV7PG44I
X-Message-ID-Hash: SQWH3V2LRTO7HYF44M72USCIRV7PG44I
X-MailFrom: ietf@linuxgemini.space
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-saag.ietf.org-0; header-match-saag.ietf.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [saag] Review requested - draft-linuxgemini-otpauth-uri-02
List-Id: Security Area Advisory Group <saag.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/saag/S4MhR66FRIvmKcdp6KjK6Qo84xQ>
List-Archive: <https://mailarchive.ietf.org/arch/browse/saag>
List-Help: <mailto:saag-request@ietf.org?subject=help>
List-Owner: <mailto:saag-owner@ietf.org>
List-Post: <mailto:saag@ietf.org>
List-Subscribe: <mailto:saag-join@ietf.org>
List-Unsubscribe: <mailto:saag-leave@ietf.org>

Hello everyone,

The otpauth:// URI format for TOTP and HOTP authenticators has been in circulation* for quite a while now. But there hasn't been any effort to standardize a uniform specification for it, thus creating various "flavors" that loosely follows what Google had defined for their then-open-source Authenticator app (https://github.com/google/google-authenticator/wiki/Key-Uri-Format)

Although the core components (Identity and secret) are the same, these flavors vary on:

- Supported algorithms for the token
- Supported amount of digits for the OTP
- Supported time period for the OTP

Terence Eden has written about even more differences in his blog: https://shkspr.mobi/blog/2022/05/why-is-there-no-formal-specification-for-otpauth-urls/

I believe we can at least formalize the format such that future OTP authenticator designs can have core feature-parity. Hence why I've (rather silently) been writing an I-D for it for some time now.

(Not going to lie, I am quite surprised when I learned that people actually started referencing it in their own projects and I-Ds! (https://mailarchive.ietf.org/arch/msg/saag/HNkCoj3ihoGlu9cxfcEXCFxz4J4/))

The Datatracker is here: https://datatracker.ietf.org/doc/draft-linuxgemini-otpauth-uri/

Source of the I-D and its issue tracker is at GitHub: https://github.com/linuxgemini/otpauth-spec-draft

Looking forward for your reviews.

Kind regards,
ilteris e.

*: for the lack of a better word for me where English is my second language.