File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1971,7 +1971,9 @@ There are 5 steps to set this up:
1971
1971
This uses the `Adding new rest endpoints`_ mechanism.
1972
1972
4. configure roundup's config.ini [web] jwt_secret with at least 32
1973
1973
random characters of data. (You will get a message
1974
- ``Support for jwt disabled by admin.`` if it's not long enough.)
1974
+ ``Support for jwt disabled by admin.`` if it's not long
1975
+ enough.) If you have openssl installed, you can use the output
1976
+ of ``openssl rand -base64 32``.
1975
1977
5. add an auditor to make sure that users with this role are appending
1976
1978
timelog links to the ``times`` property of the issue.
1977
1979
@@ -2212,7 +2214,8 @@ Final steps
2212
2214
See the `upgrading directions`_ on how to use the ``updateconfig``
2213
2215
command to generate an updated copy of config.ini using
2214
2216
roundup-admin. Then set the ``JWT_secret`` to at least 32 characters
2215
- (more is better up to 512 bits).
2217
+ (more is better up to 512 bits). The output of
2218
+ ``openssl rand -base64 32`` will fulfill the minimum requirements.
2216
2219
2217
2220
Writing an auditor that uses "db.user.get_roles" to see if the user
2218
2221
making the change has the ``user:timelog`` role, and then comparing
You can’t perform that action at this time.
0 commit comments