[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/base32 800de931a0 023/103: Autoload totp-import-file and u
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/base32 800de931a0 023/103: Autoload totp-import-file and update its docstring |
Date: |
Sat, 10 Feb 2024 13:00:01 -0500 (EST) |
branch: elpa/base32
commit 800de931a07f1b4fc37bb7c829a9168152a0a179
Author: Vivek Das Mohapatra <vivek@collabora.co.uk>
Commit: Vivek Das Mohapatra <vivek@collabora.co.uk>
Autoload totp-import-file and update its docstring
---
totp-interop.el | 3 +++
totp.el | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/totp-interop.el b/totp-interop.el
index 08ea4d4810..6ea0014e59 100644
--- a/totp-interop.el
+++ b/totp-interop.el
@@ -233,6 +233,9 @@ the returned list is the same structure returned by
`totp-unwrap-otp-blob'."
(defun totp-import-file (file)
+ "Import an RFC6238 TOTP secret or secrets from FILE.
+FILE is processed by `totp-load-file' and each secret extracted
+is passed to `totp-save-secret'."
(interactive "fImport OTP Secret(s) from: ")
(mapc #'totp-save-secret (totp-load-file file)))
diff --git a/totp.el b/totp.el
index 9402c97d84..cc14d3a763 100644
--- a/totp.el
+++ b/totp.el
@@ -536,4 +536,10 @@ and EXPIRY is the seconds after the epoch when the TOTP
expires."
(list (cdr (assoc key secrets)) key)))
(totp-display-token secret label))
+(autoload 'totp-import-file "totp-interop"
+ "Import an RFC6238 TOTP secret or secrets from FILE.
+FILE is processed by `totp-load-file' and each secret extracted
+is passed to `totp-save-secret'."
+ t)
+
(provide 'totp)
- [nongnu] elpa/base32 545cf69323 004/103: Simplify the totp-secrets-create-item-workaround custom entry, (continued)
- [nongnu] elpa/base32 545cf69323 004/103: Simplify the totp-secrets-create-item-workaround custom entry, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 2ded2a7cef 003/103: Replace generic gitlab README with something more useful, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 34d9df6232 006/103: Split out the standard label generation code, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 0146fe6b91 010/103: Minor formatting trivia in the test file, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 b7e1daca76 009/103: Comment out some spurious calls in the test file, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 4432d44bce 012/103: Trivia: clean up some docstrings, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 a683df1a74 013/103: Add a separate instance of an `auth-sources' list just for TOTP, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 5c902928f7 017/103: Fix bug in otpauth-migration URL decoder, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 f27043d432 019/103: Fix some byte compilation warnings, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 417a3d03f6 020/103: Dedup secrets manually instead of relying on freedesktop secrets API, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 800de931a0 023/103: Autoload totp-import-file and update its docstring,
ELPA Syncer <=
- [nongnu] elpa/base32 3e5a779479 022/103: Reduce totp-minimum-ui-grace default value to 3 from 5, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 0feadbc485 025/103: Make the cancel-this-timer function more generic, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 94f41a945e 028/103: Implement auto-copying of TOTP tokens, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 a61f9c27b1 032/103: Remove unnecessary file, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 e9c9329661 033/103: Prepare for package archive inclusion, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 e18cb077d7 035/103: Note in TODO that we may be able to drop custom hmac support now, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 ff7061d7ef 036/103: Bump version to 0.2 for release attempt, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 1e14f7c45f 016/103: Remove references to debug function that doesn't exist anymore, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 c29822d2f1 015/103: Add totp-pkg.el in preparation for publishing to a package archive, ELPA Syncer, 2024/02/10
- [nongnu] elpa/base32 47bcc107b8 021/103: Enable substring matching for TOTP secret selection, ELPA Syncer, 2024/02/10