* Generates a legacy fingerprint with a random suffix. * Used as a fallback when enhanced fingerprinting fails.
()
| 133 | * Used as a fallback when enhanced fingerprinting fails. |
| 134 | */ |
| 135 | function calculateLegacyFingerprint(): string { |
| 136 | const randomSuffix = randomBytes(6).toString('base64url').substring(0, 8) |
| 137 | return `codebuff-cli-${randomSuffix}` |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Cached fingerprint promise. Populated on first call and reused for the |
no outgoing calls
no test coverage detected