🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7553

Bug#1109762: ITP: leancrypto -- library for quantum-safe cryptographic algorithms

#7553
From: Simon Josefsson
Date: Sat, 05 Dec 2026 08:20
96 lines
7101 bytes
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

David Mar=EDn Carre=F1o <davefx@davefx.com> writes:

> How would you like to proceed? I'm happy to do the grunt work and
> co-maintain it under the pkg-security team (I took the liberty of adding
> myself to Uploaders in the branch, but that's entirely up to you). I'm
> not a DD or DM, so I'd need you, or someone, to sponsor the upload.
> Experimental first, as you originally planned, sounds right to me.

Thanks for continuing this work!  Getting leancrypto into the archive
would be great.  I'm happy to review and sponsor uploads.

I do think the question of having leancrypto in the archive is different
from the question if GnuTLS in Debian should link to leancrypto.  I'll
defer the second decision to those who are more active in GnuTLS
packaging, it is easy to have a lot of opinions about the latter.
Further, it is easy to infer a negative decision about if GnuTLS should
link to leancrypto to a negative decision about having leancrypto in the
archive, but I think those issues ought to be separate.  The use-cases
of leancrypto in the archive for me are still valid even if GnuTLS would
not use it.  Consider if separating these two discussions into separate
e-mail threads would help, although to some extent maybe too late now.

>   https://salsa.debian.org/davefx/leancrypto/-/tree/debian/latest
>   https://salsa.debian.org/debian/leancrypto/-/merge_requests/1

I merged this, and pushed signed upstream/pristine-tar branches.  Feel
free to continue to develop in the /debian/leancrypto/ namespace.  I
sent you a Salsa invite as Maintainer of the package.  Review can happen
continously and anything can be changed in that Salsa repo up until the
NEW upload is accepted.  Please at least the PGP sign git tags you push,
if not the commits too.

> There are a few things I'd like your opinion on before going further:
>
>  1. The SONAME is major.minor (libleancrypto.so.1.9), so every minor
>     upstream release would mean a library transition, and upstream
>     releases fairly often (1.7.x, 1.8.0, 1.9.0 and 1.9.1 in the last
>     nine months). Upstream's 1.9.0 changelog says this is on purpose,
>     because minor releases may change the ABI. I've asked Stephan
>     whether a stable SONAME with versioned symbols could be an option
>     later on (https://github.com/smuellerDD/leancrypto/issues/102).
>     Until then it means a small transition with every minor release.

Please send some documentation links to upstream explaining that SONAME
cannot be infered from SemVer versions automatically like that.  As a
minimal change, I suggest using 'major' (instead of 'major.minor') as
the SONAME version for simplicity.  Maybe you can make a patch to
achieve that?

> Full disclosure, in the spirit of the recent GR: I did this work with
> the help of an AI coding assistant, and also used it for a separate
> review pass over the result.

Thanks for disclosing that.  It puts me off to spend human review time
right now, but you seem to be committed to make human-based improvement
of the package so please continue and I'll hopefully wake up in a better
mode some other day.  Strangely, the act of disclosing that you used
LLMs makes it easier for me to disregard the concerns with use of LLMs.

I think that since the Salsa build looks fine from a CI perspective, the
upload to NEW for experimental is only pending more debian/copyright
review time.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQOEBAEWCgMsFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmsTx/sbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyFBxzaW1vbkBqb3NlZnNzb24ub3JnwhwmAJgzBFyS
zrQWCSsGAQQB2kcPAQEHQAiHK2SL4a8QwZCvX1fkJU5l8aNp2jmw7hrcOfGGsZTr
tCVTaW1vbiBKb3NlZnNzb24gPHNpbW9uQGpvc2Vmc3Nvbi5vcmc+iJYEExYIAD4C
GwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AWIQSx0r0Tdb7LeEz0+MTXPPY4xTwG
vgUCatfMtwUJD2HCAwAKCRDXPPY4xTwGvue9AP40ROc4bUzq1zxU43T76rWP+6jv
mKO/CaPer1S2fZMOtQEAuMKQ3X/qP75LtsbJG82TaaIkg2UM5Mw+pp0UOfPJ6Aq4
OARcks9qEgorBgEEAZdVAQUBAQdAMZUbpg1up2WOwPlQn3pPVaRMejyZnScmD7d5
TRzHehwDAQgHiH4EGBYIACYCGwwWIQSx0r0Tdb7LeEz0+MTXPPY4xTwGvgUCatfL
twUJD2HATQAKCRDXPPY4xTwGvocHAP9g1zG1w10/lhb7ksrN9T8xnHTOZNibd27d
k+X+leRCkQD+OWllYuM1N1ZA/a5Qjyv7pnq+hrxeqSg+cnm4ArlDQwa4MwRcks+B
FgkrBgEEAdpHDwEBB0DsUwiDmnlwMSNoSF+ByvW0E6TVXou9PKDa9SpZvKghioj1
BBgWCAAmAhsCFiEEsdK9E3W+y3hM9PjE1zz2OMU8Br4FAmrXy7oFCQ9hwDYAgXYg
BBkWCAAdFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAlySz4EACgkQUXIrCP5HRaKn
TAEAoB+OWrHmYCK8Cjr1DgPUH7JnhPBmR2DbhR5jPRREEugA+gOMeWmL6GOpaPfK
YLcNhzw4ZnAlxSLY1wq1eANBpiQOCRDXPPY4xTwGvjf7AP9MpnBFLDHomavCkXzR
aJEaYqYigvHl7W7qWuswi2FgTQEAg7xKIF4THHLZj4f48rwFG7VW2ts8o/SaYpJM
ogWJlwYACgkQUXIrCP5HRaIwiQD6A1lySbPIr35GYqXKHMm0QMJzH1mF+ZDhpj2x
iALeqs8A/1nMgMqR/2pUTpMCx9BbpNFNLbSSHaMSVx7YH/3tNukA
=QGdb
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <O6T9T-g66a-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <LbFPz-22Zr-9@gated-at.bofh.it> <O6JWW-g0Yv-5@gated-at.bofh.it> <LbFPz-22Zr-9@gated-at.bofh.it> <O6JWW-g0Yv-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Simon Josefsson <simon@josefsson.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel
Subject: Bug#1109762: ITP: leancrypto -- library for quantum-safe cryptographic algorithms
Date: Sat, 05 Dec 2026 09:20:01 +0100
Message-ID: <O6T9T-g66a-1@gated-at.bofh.it>
References: <LbFPz-22Zr-9@gated-at.bofh.it> <O6JWW-g0Yv-5@gated-at.bofh.it> <LbFPz-22Zr-9@gated-at.bofh.it> <O6JWW-g0Yv-5@gated-at.bofh.it>
X-Original-To: David Marín Carreño <davefx@davefx.com>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Dec  5 08:17:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.651
Reply-To: Simon Josefsson <simon@josefsson.org>, 1109762@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1109762
X-Debian-Pr-Package: wnpp
Openpgp: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE;
 url=https://josefsson.org/key-20190320.txt
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2007095
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 96
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1109762@bugs.debian.org,  debian-devel@lists.debian.org,  Andreas
 Metzler <ametzler@bebt.de>
X-Original-Date: Sat, 05 Dec 2026 09:14:51 +0100
X-Original-Message-ID: <8733scqh38.fsf@josefsson.org>
X-Original-References: <87frencg0j.fsf@josefsson.org> <CAHPETy6QmeePWtgdV3RpAukSX-Z__Wi_Da9YtNOTBsg-GHGp_w@mail.gmail.com> <87frencg0j.fsf@josefsson.org> <CAHPETy6QmeePWtgdV3RpAukSX-Z__Wi_Da9YtNOTBsg-GHGp_w@mail.gmail.com>