From patchwork Mon Apr 10 00:48:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antero Mejr X-Patchwork-Id: 49056 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id F26C117463; Mon, 10 Apr 2023 01:49:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 67CFB172B0 for ; Mon, 10 Apr 2023 01:49:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plfiS-0005A1-KM; Sun, 09 Apr 2023 20:49:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plfiR-00059r-1m for guix-patches@gnu.org; Sun, 09 Apr 2023 20:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plfiQ-0002CW-Cn for guix-patches@gnu.org; Sun, 09 Apr 2023 20:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plfiQ-0005in-0I; Sun, 09 Apr 2023 20:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62744] [PATCH] gnu: Add emacs-totp. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 10 Apr 2023 00:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62744 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62744@debbugs.gnu.org Cc: liliana.prikler@gmail.com X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: liliana.prikler@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.168108770721934 (code B ref -1); Mon, 10 Apr 2023 00:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Apr 2023 00:48:27 +0000 Received: from localhost ([127.0.0.1]:33961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plfhr-0005hg-Ae for submit@debbugs.gnu.org; Sun, 09 Apr 2023 20:48:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:58660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plfhp-0005hT-1X for submit@debbugs.gnu.org; Sun, 09 Apr 2023 20:48:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plfho-000570-A3 for guix-patches@gnu.org; Sun, 09 Apr 2023 20:48:24 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1plfhm-00028F-AB for guix-patches@gnu.org; Sun, 09 Apr 2023 20:48:24 -0400 Received: from smtp102.mailbox.org (unknown [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Pvr1W4D2Kz9sR1 for ; Mon, 10 Apr 2023 02:48:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1681087695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nEOkcSPMtZ1SLDlYS8b5i1lbn6KUV50YhGe5pJF3ERk=; b=FfkB7HkOEFoOIsYlINBF+XKsXMkFJPcOK4tPKGDCj+owUGfmqBTph8ZVotDYXRVixiuGAv 7LWyZqDucfZv4NG5P5DnRyIbKe/YkShJkqH+0NWBw5QRD06NCiLnIQCVk4rO1xbYEYUiPN 23LP8xvmqdAklE4hG52rUQtR/jWe6cH5oz23mkmhDP2IdYAf7jEswVR9srH6tU9jy9+Yxk FGQXwoJKuM7N5K2+njRg0ltRbhRJ1za6P0w03+i38AGdkN12vOLjPN1MTslGy32trFpx+0 KMXRfrv23i4Zn47rR6nHDrt6rtVIR5m8P3YWOV/+fmDPyz/4Ha0M8wIFVvD4SQ== Date: Mon, 10 Apr 2023 00:48:07 +0000 Message-Id: <20230410004807.7839-1-antero@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: njytkote8rij9mt8rofqjwiyjr7brh9n X-MBO-RS-ID: be6e67b77889a036c61 Received-SPF: pass client-ip=80.241.56.171; envelope-from=antero@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches X-Patchwork-Original-From: Antero Mejr via Guix-patches via From: Antero Mejr Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-totp): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ec2078f44c..6e7dd5cdc3 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -36663,6 +36663,30 @@ (define-public emacs-tintin-mode accomplish different tasks.") (license license:asl2.0)))) +(define-public emacs-totp + (let ((commit "a5e059b8475b32bc7f5ddadda248cf84449ed722") ;no releases + (revision "0")) + (package + (name "emacs-totp") + (home-page "https://github.com/juergenhoetzel/emacs-totp") + (version (git-version "0.1.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b76fxk9r3n9zii75q1957ivb6ap5px5h87kagxz083nl77jky7a")))) + (build-system emacs-build-system) + (synopsis "Generate Time-based One-time Passwords (TOTP) in Emacs") + (description + "emacs-TOTP implements @acronym{TOTP, Time-based One-time Passwords} as +specified in RFC 6238. It supports reading secrets in HEX and multiple base32 +variations, including non-standard base32 encodings.") + (license license:gpl3+)))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar