From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <lstechauner@dana.proxmox.com> Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 4EEE474DFE for <pve-devel@lists.proxmox.com>; Tue, 20 Apr 2021 14:13:44 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3CEFA22B12 for <pve-devel@lists.proxmox.com>; Tue, 20 Apr 2021 14:13:14 +0200 (CEST) Received: from dana.proxmox.com (unknown [94.136.29.99]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3A2A222B0A for <pve-devel@lists.proxmox.com>; Tue, 20 Apr 2021 14:13:13 +0200 (CEST) Received: by dana.proxmox.com (Postfix, from userid 10037) id 228301C3198; Tue, 20 Apr 2021 14:13:07 +0200 (CEST) From: Lorenz Stechauner <l.stechauner@proxmox.com> To: pve-devel@lists.proxmox.com Date: Tue, 20 Apr 2021 14:11:55 +0200 Message-Id: <20210420121155.87864-1-l.stechauner@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 2 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records RDNS_NONE 1.274 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record Subject: [pve-devel] [PATCH access-control] fix typo in oathkeygen: randon -> random X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/> List-Post: <mailto:pve-devel@lists.proxmox.com> List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe> X-List-Received-Date: Tue, 20 Apr 2021 12:13:44 -0000 Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com> --- oathkeygen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oathkeygen b/oathkeygen index 89e385a..82e4eec 100755 --- a/oathkeygen +++ b/oathkeygen @@ -6,6 +6,6 @@ use MIME::Base32; #libmime-base32-perl my $test; open(RND, "/dev/urandom"); -sysread(RND, $test, 10) == 10 || die "read randon data failed\n"; +sysread(RND, $test, 10) == 10 || die "read random data failed\n"; print MIME::Base32::encode_rfc3548($test) . "\n"; -- 2.20.1