On Thu, 18 Jun 2026 at 09:38, Ian Norton <[email protected]> wrote: > > On Fri, 12 Jun 2026, Daniel Stenberg via curl-users wrote: > > > On Fri, 12 Jun 2026, Ian Norton via curl-users wrote: > > > > curl -O URL —-hash sha256:HASH_VALUE > > > Does this sound like a good idea? <snip> > I'm coming from a place where in my org I've already "solved" this > use-case with a python app that will exit non-zero if it can't > download, or if the thing it downloaded didn't have a matching digest. > But of course, this is a python tool and requires all the associated > deps (and isn't especially fast) > > I'll try to make a curl PR and also try out the different input/arg > variations and see if I can find one that feels right.
I've just seen Bruce's PR. That's given me some more things to think about. Perhaps what I/we actually want is a pipe/filter app that refuses to output if the digest doesn't match Ian -- -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html
