Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
riak_control
riak_control-2.1.7-crypto.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File riak_control-2.1.7-crypto.patch of Package riak_control
diff -Ndurp riak_control-2.1.7/src/riak_control_security.erl riak_control-2.1.7-crypto/src/riak_control_security.erl --- riak_control-2.1.7/src/riak_control_security.erl 2017-03-15 22:52:30.000000000 +0200 +++ riak_control-2.1.7-crypto/src/riak_control_security.erl 2018-02-11 00:04:26.716983802 +0200 @@ -152,7 +152,7 @@ valid_userpass(_User, _Pass, _Auth) -> csrf_token(ReqData, Context) -> case get_csrf_token(ReqData, Context) of undefined -> - binary_to_list(riak_core_base64url:encode(crypto:rand_bytes(256))); + binary_to_list(riak_core_base64url:encode(crypto:strong_rand_bytes(256))); Token -> Token end.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor