From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PQmpy-0006rW-9b for mharc-grub-devel@gnu.org; Thu, 09 Dec 2010 15:11:34 -0500 Received: from [140.186.70.92] (port=36003 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQmpr-00068E-Mx for grub-devel@gnu.org; Thu, 09 Dec 2010 15:11:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQmil-0000qG-8x for grub-devel@gnu.org; Thu, 09 Dec 2010 15:04:08 -0500 Received: from mail03.websecurestores.com ([209.147.121.136]:2756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQmil-0000pr-0U for grub-devel@gnu.org; Thu, 09 Dec 2010 15:04:07 -0500 Received: from c-75-70-110-173.hsd1.co.comcast.net [75.70.110.173] by mail03.websecurestores.com with SMTP; Thu, 9 Dec 2010 12:03:11 -0800 From: "Jordan" To: Date: Thu, 9 Dec 2010 13:02:40 -0700 Message-ID: <000a01cb97dc$0900d580$9902a8c0@tystent3> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01CB97A1.5CA1FD80" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcuX3Ahs+KmELRGIQP+YDBNMqNKf7g== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3664 X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ Subject: why is crypt package missing dsa, rsa, elgamal, etc? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2010 20:11:31 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000B_01CB97A1.5CA1FD80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This is my first-ever query in this forum - please be kind ! I've been poking around in the GRUB2 code lately, and noticed that part of the libgcrypt package doesn't get included in the built modules. I see how the Python script translates the standard libgcrypt source files into new ones that can compile in the GRUB build environment, but I also notice that DSA, RSA, ElGamal, ECC, PrimeGen(?) do not actually get compiled. Perhaps this is because they rely on some other functionality that isn't present, such as MPI (multiple-precision integers) ? (a side effect is that several source files are translated and then not used.) What would it take to get them working? Has anyone looked at this before to size it up? I have an application to verify a DSA signature during the bootloader, and without it I'll have to propose a different approach to my customer. Thanks, Jordan ------=_NextPart_000_000B_01CB97A1.5CA1FD80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

This is my first-ever query in this forum – = please be kind !

 

I’ve been poking around in the GRUB2 code = lately, and noticed that part of the libgcrypt package doesn’t get included in = the built modules.  I see how the Python script translates the standard libgcrypt source files into new ones that can compile in the GRUB build environment, but I also notice that DSA, RSA, ElGamal, ECC, PrimeGen(?) = do not actually get compiled.  Perhaps this is because they rely on some = other functionality that isn’t present, such as MPI (multiple-precision integers) ?  (a side effect is that several source files are = translated and then not used.)

 

What would it take to get them working?  Has = anyone looked at this before to size it up?

 

I have an application to verify a DSA signature = during the bootloader, and without it I’ll have to propose a different = approach to my customer.

 

Thanks,

Jordan

 

------=_NextPart_000_000B_01CB97A1.5CA1FD80-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PQqix-00072B-0B for mharc-grub-devel@gnu.org; Thu, 09 Dec 2010 19:20:35 -0500 Received: from [140.186.70.92] (port=56484 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQqit-00070F-2j for grub-devel@gnu.org; Thu, 09 Dec 2010 19:20:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQqir-0005OJ-2t for grub-devel@gnu.org; Thu, 09 Dec 2010 19:20:30 -0500 Received: from mail-fx0-f48.google.com ([209.85.161.48]:35951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQqiq-0005Nv-QA for grub-devel@gnu.org; Thu, 09 Dec 2010 19:20:29 -0500 Received: by fxm2 with SMTP id 2so2926320fxm.35 for ; Thu, 09 Dec 2010 16:20:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Mtad5V8MlIgFcU+yxpa7qHMWeVgu61+NzHZVcYvIm98=; b=IeIr8g0aGSC73+6fzic7TfgZdVsU3G1zUl1tc9MCdwLfBvO82pT4fOQNpxxjNzHImS EDYeLCFTPp2H64Cyn7rXi3siQnuo+A/OXb9Co6tsYHaHKcngQrtWGq102FcWzqf5gZuj URARnZzHoSjKeFtynaJW+atDWcudC4i/wWI4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=AMBN4zPt9bS1avGwzxZoyvuv3wxwncJkLqxVmVIx5aCYaU7Kk0pRQK5ylGJkjtW2QA xVNtCkeeqf8ps2dSArESAzKRzloMChYY/tasmEMtuSSDIz0XiSUwqz+VIdeGZfteKkOE sEaQhroxARE8XA+tKJyFXs8qM8Zuk/J2QmMVc= Received: by 10.223.114.65 with SMTP id d1mr127842faq.36.1291940427629; Thu, 09 Dec 2010 16:20:27 -0800 (PST) Received: from debian.bg45.phnet (gprs37.swisscom-mobile.ch [193.247.250.37]) by mx.google.com with ESMTPS id y1sm739557fak.39.2010.12.09.16.20.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 16:20:26 -0800 (PST) Message-ID: <4D01723B.2090809@gmail.com> Date: Fri, 10 Dec 2010 01:20:11 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: grub-devel@gnu.org References: <000a01cb97dc$0900d580$9902a8c0@tystent3> In-Reply-To: <000a01cb97dc$0900d580$9902a8c0@tystent3> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigFEE5D09007B842BFA9C2AB2A" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: why is crypt package missing dsa, rsa, elgamal, etc? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 00:20:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFEE5D09007B842BFA9C2AB2A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/09/2010 09:02 PM, Jordan wrote: > > This is my first-ever query in this forum =E2=80=93 please be kind ! > > =20 > > I=E2=80=99ve been poking around in the GRUB2 code lately, and noticed t= hat > part of the libgcrypt package doesn=E2=80=99t get included in the built= > modules. I see how the Python script translates the standard > libgcrypt source files into new ones that can compile in the GRUB > build environment, but I also notice that DSA, RSA, ElGamal, ECC, > PrimeGen(?) do not actually get compiled. Perhaps this is because > they rely on some other functionality that isn=E2=80=99t present, such = as MPI > (multiple-precision integers) ? (a side effect is that several source > files are translated and then not used.) > > =20 > Just nobody worked on them yet. We needed ciphers and hashes for some purposes so they were imported. If you need asymetric patches are welcome to include them. > > What would it take to get them working? Has anyone looked at this > before to size it up? > > =20 > > I have an application to verify a DSA signature during the bootloader, > and without it I=E2=80=99ll have to propose a different approach to my = customer. > > =20 > > Thanks, > > Jordan > > =20 > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigFEE5D09007B842BFA9C2AB2A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk0BckAACgkQNak7dOguQgkhqwEAoJ6PHcKLjR2kr40QyhbDxDJ4 5lkXEGAs2hL0+TbZQYEA/291ROT1h44EmGkmEqbMbVE6uTrtYZdSSPPhyb1n9qOS =lkRC -----END PGP SIGNATURE----- --------------enigFEE5D09007B842BFA9C2AB2A--