Skip to content

Commit f9d561d

Browse files
committed
docs: document purpose of scary-looking token
1 parent 5066128 commit f9d561d

File tree

1 file changed

+6
-0
lines changed
  • packages/backend/src/services/auth

1 file changed

+6
-0
lines changed

packages/backend/src/services/auth/Actor.js

+6
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ const { Context } = require("../../util/context");
2121
const { get_user, get_app } = require("../../helpers");
2222

2323
// 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`.
2429
const PRIVATE_UID_NAMESPACE = '1757dc3f-8f04-4d77-b939-ff899045696d';
2530
const PRIVATE_UID_SECRET = 'bf03f0e52f5d93c83822ad8558c625277ce3dddff8dc4a5cb0d3c8493571f770';
31+
// THIS IS NOT A LEAK (see above)
2632

2733
class Actor extends AdvancedBase {
2834
static MODULES = {

0 commit comments

Comments
 (0)