libsodium is missing xchacha20 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libsodium (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Ever since I tried I always found that Ubuntu libsodium-dev package is forcing --enable-minimal configure option. Sadly, this reduces the available library features, including support for xchacha20.
This forces people not to use the package and go for libsodium sources when you build such things like dnscrypt-wrapper [1]
I raised a question to libsodium developers [2] about the most sensible approach and the response was that other distributions are shipping without this configure option.
It very much makes sense for Ubuntu to keep a consistent feature set.
Therefore I'd like to request dropping --enable-minimal from libsodium.
Thank you,
Maciej
[1] https:/
[2] https:/
Hi, ENABLE( minimal, STRING( --enable- minimal, minimal= "yes" LIBRARY_ MINIMAL_ DEF="#define SODIUM_ LIBRARY_ MINIMAL 1" [MINIMAL] , [1], [Define for a minimal build, without deprecated functions and functions that high-level APIs depend on]) [MINIMAL] , [test x$enable_minimal = xyes]) SODIUM_ LIBRARY_ MINIMAL_ DEF
enable-minimal is not the default by upstreams configure
103 AC_ARG_
104 [AS_HELP_
105 [Only compile the minimum set of functions required for the high-level API])],
106 [
107 AS_IF([test "x$enableval" = "xyes"], [
108 enable_
109 SODIUM_
110 AC_DEFINE(
111 ], [
112 enable_minimal="no"
113 ])
114 ],
115 [
116 enable_minimal="no"
117 ])
118 AM_CONDITIONAL(
119 AC_SUBST(
I wondered if /usr/lib/ x86_64- linux-gnu/ pkgconfig/ libsodium. pc might carry something that you might have meant but it does not.
Nor do I find anything about minimal in the recent builds [1]
The same is true for all builds that I checked back until 16.04
I also checked the content of debian/* in Xenial->Disco and it is nowhere to be seen.
You said on [2] that you checked and we add this option, but right now I can't find that - sorry.
I beg your pardon, but could you outline where exactly we enable this in your opinion?
[1]: https:/ /launchpadlibra rian.net/ 408070724/ buildlog_ ubuntu- disco-amd64. libsodium_ 1.0.17- 1_BUILDING. txt.gz /github. com/jedisct1/ libsodium/ issues/ 731
[2]: https:/