From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47689 invoked by alias); 1 Jun 2015 18:11:55 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 47676 invoked by uid 89); 1 Jun 2015 18:11:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-16.arcor-online.net Received: from mail-in-16.arcor-online.net (HELO mail-in-16.arcor-online.net) (151.189.21.56) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 01 Jun 2015 18:11:53 +0000 Received: from mail-in-12-z2.arcor-online.net (mail-in-12-z2.arcor-online.net [151.189.8.29]) by mx.arcor.de (Postfix) with ESMTP id 3m0l2G22m8zDtl for ; Mon, 1 Jun 2015 20:11:50 +0200 (CEST) Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) by mail-in-12-z2.arcor-online.net (Postfix) with ESMTP id 42CC22E8099 for ; Mon, 1 Jun 2015 20:11:50 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-12.arcor-online.net 3m0l2G185dz194w Received: from Gertrud (p54B471EC.dip0.t-ipconnect.de [84.180.113.236]) (Authenticated sender: stromeko@arcor.de) by mail-in-12.arcor-online.net (Postfix) with ESMTPSA id 3m0l2G185dz194w for ; Mon, 1 Jun 2015 20:11:50 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: setup References: <87382fdvjp.fsf@Rainer.invalid> <20150531102421.GB4329@calimero.vinschen.de> Date: Mon, 01 Jun 2015 18:11:00 -0000 In-Reply-To: <20150531102421.GB4329@calimero.vinschen.de> (Corinna Vinschen's message of "Sun, 31 May 2015 12:24:21 +0200") Message-ID: <878uc3l2my.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-06/txt/msg00007.txt.bz2 Corinna Vinschen writes: > On May 29 21:37, Achim Gratz wrote: >>=20 >> The new SHA512 checksums are rather lengthy. Could we switch them to >> Base64 (perhaps the URL and file safe variant) instead of the current >> hex encoding instead (maybe with an SHA512: prefix if we want to support >> both)? > > Not for the time being. Sombody would have to add code to setup as well > as upset to make this work. Since it seems you plan to use libcrypto from OpenSSL anyway: https://gist.github.com/barrysteyn/7308212#file-base64decode-c Otherwise I'd prefer something less obtuse, there is C++ code with compatible license or I=C2=A0could roll my own. For upset, I don't know what interface you're using. For the object interface you'd simply switch from hexdigest() to b64digest() and for the functional interface from sha512_hex() to sha512_base64(). Regards, Achim. --=20 +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada