Re: Relax blocking requirement of gcm_update?

2024-03-09 Thread Justus Winter
Hi Niels :) Niels Möller writes: > While looking at extended tests of the aead update function (for the > associated data), I stumbled on a restriction of gcm_update that is > different from most (all?) other update functions in Nettle. According > to the docs, > > -- Function: void gcm_update

Mailing list archive is not working

2023-11-14 Thread Justus Winter
Hi, https://lists.lysator.liu.se/mailman/hyperkitty/list/nettle-bugs@lists.lysator.liu.se/ shows zero mails this year. Not sure where to raise that, so I'm raising this here. Best, Justus signature.asc Description: PGP signature ___ nettle-bugs

OpenPGP v6 & PQC algorithm wishlist

2023-11-10 Thread Justus Winter
Hello :) I'd like to share some algorithms that we'll need for the next revision of OpenPGP and the upcoming PQC algorithms for OpenPGP, just to give you an early heads up because I know that implementing these things correctly takes a lot of time and effort, and we don't have the expertise to

Re: Preparing for Nettle-3.9

2023-05-09 Thread Justus Winter
Niels Möller writes: >> We have quite a few >> tests: we instantiate it with every compatible cipher and do a roundtrip >> test, we have the test vectors from RFC7253, we have an additional set >> of test vectors with 15 byte nonces published by dkg, > > Do you have any testvectors with a dozen

Re: Preparing for Nettle-3.9

2023-05-08 Thread Justus Winter
Hi Niels :) Niels Möller writes: > * Support for OCB authenticated encryption mode. Most appreciated! I read the documentation and found only two minor issues (patches sent). The interface looks good. I have added support for OCB in our Rust bindings on 2022-02-03 in a feature branch.

Re: OCB support

2023-02-22 Thread Justus Winter
Hi Niels :) "Niels Möller" writes: > I've now merged OCB support to the master branch. Some changes from the > development branch: Sweet! I can confirm that it performs as expected on our test vectors. > * I moved the corresponding nettle_aead struct to an internal header for > now. Used

OCB support (was: The *_encrypt_message functions)

2022-12-16 Thread Justus Winter
Hi Niels :) ni...@lysator.liu.se (Niels Möller) writes: > Hi, when working on OCB, and trying to have some consistency between > similar functions, I'm looking at the various "all-in-one" > *_message_encrypt and *_message_decrypt functions. They are motivated in > part by convenience, for

Please make OCB a priority (was: Status update)

2022-03-22 Thread Justus Winter
Hi Niels :) ni...@lysator.liu.se (Niels Möller) writes: > At some point, we need to stop to make a new release, despite a lot of > great ongoing work. Opinions on release priorities and any "must haves" > before a new release are welcome. OCB is the only mandatory-to-implement AEAD mode in the

Re: Feature request: OCB mode

2022-02-16 Thread Justus Winter
ni...@lysator.liu.se (Niels Möller) writes: > Justus Winter writes: > >>> I've given it a try, see branch ocb-mode. Based on RFC 7253. Passes >>> tests, but not particularly optimized. >> >> I have wrapped it in our Rust bindings, glued Sequoia to it, and did

Re: Feature request: OCB mode

2022-02-08 Thread Justus Winter
Hello Niels :) sorry for not following up earlier. Thanks for working on it! ni...@lysator.liu.se (Niels Möller) writes: > ni...@lysator.liu.se (Niels Möller) writes: > >> If someone wants to work on it, please post to the list. I might look >> into it myself, but as you have noticed, I have

Re: SHA1 Collision Detection

2020-11-03 Thread Justus Winter
"Neal H. Walfield" writes: > I'm not that familiar with Nettle's API, so I don't know if the > following is sufficiently idiomatic. > > That said, we could do the following: we could add a flag to the sha1 > context to indicate to the update function that it should try to > detect collision

Dead links to bindings (was: Rust bindings)

2019-10-02 Thread Justus Winter
ni...@lysator.liu.se (Niels Möller) writes: > Justus Winter writes: > >> Do we need to do anything else to be listed on >> https://www.lysator.liu.se/~nisse/nettle/ ? > > If you want to make it really easy for me, please send a patch, the file > on the web should be

Re: Rust bindings

2019-09-24 Thread Justus Winter
Justus Winter writes: >> Regarding the Rust bindings, what's the best place to point other Rust >> users? https://crates.io/crates/nettle, or >> https://sequoia-pgp.gitlab.io/nettle-rs/nettle/, or somewhere else? > > https://crates.io/crates/nettle is the preferred pla

Re: Some .stamp files slipped into the tarball

2019-07-18 Thread Justus Winter
ni...@lysator.liu.se (Niels Möller) writes: > Justus Winter writes: > >> I read the reference, and I don't see how it applies here. > > Right, it's a bit different. > >> For the >> record, this is the build failure that I'm referring to: >> >> % tar x

Re: Rust bindings

2019-07-17 Thread Justus Winter
ni...@lysator.liu.se (Niels Möller) writes: > Have you looked at nettle's pgp.h? No. > This code is not really in a useful state. It aims to be able to write > out a public RSA key in openpgp format, and doesn't quite succeed at > that. Well, a key packet on its own is not useful, you also

Re: Some .stamp files slipped into the tarball

2019-07-17 Thread Justus Winter
ni...@lysator.liu.se (Niels Möller) writes: > Justus Winter writes: > >> just a small bug report, there are some .stamp files that got included >> in the release by accident. I noticed because it caused build problems, >> likely only due to the fact that my build proce

Some .stamp files slipped into the tarball

2019-07-16 Thread Justus Winter
Hi :) just a small bug report, there are some .stamp files that got included in the release by accident. I noticed because it caused build problems, likely only due to the fact that my build process copied the files once, changing the mtimes in the process. % tar tf nettle-3.5.1.tar.gz |

Rust bindings

2019-07-16 Thread Justus Winter
Hello :) I just wanted to say hi, and announce the availability of bindings for the Rust programming language. As it is idiomatic for bindings to foreign code, there are two packages. First, there is the almost completely autogenerated crate (crate is Rust-lingo for library) 'nettle-sys', which