Actions
Feature #2610
openoptimize GnuTLS fallback
Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
11/02/2017
Due date:
% Done:
0%
Spec Reference:
Description
The osmo_get_rand_id() uses GnuTLS as a fallback in case of getrandom is unavailable or fails.
It's been suggested to use static variable to cache the failure of getrandom and always use GnuTLS fallback after first getrandom failure.
The getrandom calls are compiled-time option and used only if available.
To test this properly we first have to merge osmo_get_rand_id() support into osmo-*, than create test suite which measures the impact of getrandom calls. This requires following:- getrandom support is compiled-in (default if available)
- gnutls fallback is enabled (default unless embedded build is used)
- getrandom always fails (not sure how to make this happen)
Related issues
Updated by msuraev about 6 years ago
- Related to Bug #1694: integrate debian patches added
Updated by laforge over 4 years ago
- Related to Bug #3909: osmo_get_rand_id() fails in containerised environment added
Actions