From patchwork Tue Aug 17 19:51:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 32170 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 1AE8327BC78; Tue, 17 Aug 2021 20:52:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D95A827BC6B for ; Tue, 17 Aug 2021 20:52:23 +0100 (BST) Received: from localhost ([::1]:59434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG58I-0004AX-UA for patchwork@mira.cbaines.net; Tue, 17 Aug 2021 15:52:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG57y-0003rh-Pj for guix-patches@gnu.org; Tue, 17 Aug 2021 15:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mG57y-0008Js-Ik for guix-patches@gnu.org; Tue, 17 Aug 2021 15:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mG57y-0000X9-Gn for guix-patches@gnu.org; Tue, 17 Aug 2021 15:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50100] [PATCH] gnu: Add python-android-otp-extractor. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Aug 2021 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50100 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50100@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16292299022023 (code B ref -1); Tue, 17 Aug 2021 19:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Aug 2021 19:51:42 +0000 Received: from localhost ([127.0.0.1]:54171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG57P-0000WK-P5 for submit@debbugs.gnu.org; Tue, 17 Aug 2021 15:51:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:45396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG57L-0000WA-2x for submit@debbugs.gnu.org; Tue, 17 Aug 2021 15:51:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG57K-00037V-DY for guix-patches@gnu.org; Tue, 17 Aug 2021 15:51:22 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:47558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG57G-0007qY-HW for guix-patches@gnu.org; Tue, 17 Aug 2021 15:51:21 -0400 Date: Tue, 17 Aug 2021 19:51:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1629229875; bh=ESF7Li/lSJtpD03ayeX0SsvwCzFLgHhGAzagFlu/NK8=; h=Date:To:From:Reply-To:Subject:From; b=WXtEC0ywNFkz8NiKH8w/niFPm5EuFfc+iImTOZxBaATymxNsGiRPbCUTMBdZ1xCwY K7SGdSUTlekYJceQlmIOqpuda2ulbQszGBQBKOBrYoO1ERrkCgWv02OnOTS94VRdPM k1MBBZSQwDdUMvTD+DaAJV6mnfGnRTA9t8NCCb/c= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.18; envelope-from=phodina@protonmail.com; helo=mail1.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/android.scm (python-android-otp-extractor): New variable. --- 2.32.0 diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index eb538f6540..5510aa6a29 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -916,6 +916,36 @@ safest way, on a file image.") useful for reverse engineering, analysis of Android applications and more.") (license license:asl2.0))) +(define-public python-android-otp-extractor +(package + (name "python-android-otp-extractor") + (version "cf282c71b178faa893aacf70b46ba9a78e694c86") ; no tags + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/puddly/android-otp-extractor") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05la9rms7vgzpgk0qhhwqzsdggdnakgppdpp1wm2pzcg7rn8yp21")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; no tests + (propagated-inputs `(("adb" ,adb) + ("python-cryptography" ,python-cryptography) + ("python-coloredlogs" ,python-coloredlogs))) + (synopsis "Extracts OTP tokens from rooted Android devices") + (description "Many OTP apps don't support exporting or backing up their OTP +secrets. Switching apps would require you to regenerate all of your tokens, +which can be tedious if you have a lot. This application can extract your +tokens from popular Android OTP apps and export them in a standard format +or just display them as QR codes for easy importing.") + (home-page "https://github.com/puddly/android-otp-extractor") + (license license:gpl3))) + (define-public fdroidserver (package (name "fdroidserver")