[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/base32 56b160f436 005/103: Handle .netrc style backends co
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/base32 56b160f436 005/103: Handle .netrc style backends containing otpauth url secrets |
Date: |
Sat, 10 Feb 2024 12:59:50 -0500 (EST) |
branch: elpa/base32
commit 56b160f436b8da7a40ce4e3b0fc90acc46ec0ca5
Author: Vivek Das Mohapatra <vivek@collabora.co.uk>
Commit: Vivek Das Mohapatra <vivek@collabora.co.uk>
Handle .netrc style backends containing otpauth url secrets
Since the otpauth URL scheme encodes information not handled
by the netrc format we allow the stored secret to be an otpauth
URL (even though this means that there is redundant/duplicated
information in both the netrc format and the stored secret).
---
totp.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/totp.el b/totp.el
index 94479b8db8..5831797b6a 100644
--- a/totp.el
+++ b/totp.el
@@ -193,9 +193,7 @@ TOTP secret."
(setq label (concat user "@" host))
(setq label (or user host)))
(if (functionp secret) (setq secret (funcall secret)))
- (setq otpmeta `((:service . ,host)
- (:user . ,user)
- (:secret . ,secret))
+ (setq otpmeta (totp-unwrap-otp-blob secret label)
found (cons (cons label otpmeta) found)))
(auth-source-search-backends (list source)
(list :port "totp")
- [nongnu] elpa/base32 df9e83880d 044/103: totp-notification-action "copy" should always copy the token, (continued)
- [nongnu] elpa/base32 df9e83880d 044/103: totp-notification-action "copy" should always copy the token, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 e18e58fd96 042/103: totp-truncate-hash: typo in docstring, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 11819b793b 051/103: Suppress a docstring-related byte-compile error, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 32515e59da 052/103: totp-update-token-notification: add docstring, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 2b6c12528c 065/103: Mention Google Authenticator in a couple more places, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 676e64115d 048/103: Test should target totp-auth.el after the rename, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 522bb9d85f 056/103: Another linter opinion accommodated, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 93bfede7bf 060/103: More Great Renaming - move hmac to totp-auth-hmac, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 72c09337eb 062/103: Supress misleading warnings about use of ’lsh’, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 7023bb8697 049/103: Suppress some more (spurious) byte-compile errors, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 56b160f436 005/103: Handle .netrc style backends containing otpauth url secrets,
ELPA Syncer <=
- [nongnu] elpa/base32 5065525032 024/103: Update docstrings and readme, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 1c9bc087ba 039/103: totp-auto-copy-password: improve docstring and fix defcustom typos, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 a066bd453f 029/103: Remove totp-minimum-ui-grace which we're not using after all, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 15218226f9 053/103: checkdoc is having Opinions™ again, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 0c9ab0005b 054/103: Rename all the things as we migrate from totp-… to totp-auth-…, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 4492236c1f 055/103: Squash some warnings when byte-compiling the tests, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 a15c27157a 050/103: Checkdoc incorrectly detects .\n as "not a complete sentence", ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 bd7959a5ef 058/103: Add a LICENSE (sic) to match the SPDX entries, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 d435f806a0 059/103: Documentation changes related to the Great Renaming, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 7f0fe12bce 063/103: Fix tests after the Great Renaming, ELPA Syncer, 2024/02/10