File tree 1 file changed +6
-0
lines changed
packages/backend/src/services/auth
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,14 @@ const { Context } = require("../../util/context");
21
21
const { get_user, get_app } = require ( "../../helpers" ) ;
22
22
23
23
// TODO: add these to configuration; production deployments should change these!
24
+
25
+ // THIS IS NOT A LEAK
26
+ // We use this to obscure user UUIDs, as some APIs require a user identifier
27
+ // for abuse prevention. However, there are no services in selfhosted Puter
28
+ // that currently make use of this, and we use different values on `puter.com`.
24
29
const PRIVATE_UID_NAMESPACE = '1757dc3f-8f04-4d77-b939-ff899045696d' ;
25
30
const PRIVATE_UID_SECRET = 'bf03f0e52f5d93c83822ad8558c625277ce3dddff8dc4a5cb0d3c8493571f770' ;
31
+ // THIS IS NOT A LEAK (see above)
26
32
27
33
class Actor extends AdvancedBase {
28
34
static MODULES = {
You can’t perform that action at this time.
0 commit comments