@onboardbase/cli
Version:
[](https://www.npmjs.com/package/@onboardbase/cli) [](https://www.npmjs.com/package/@onboardbase/cli) [ • 482 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getEncryptionPassphrase = void 0;
const utils_1 = require("../utils");
const getEncryptionPassphrase = async () => {
// Use the user's machine ID as the encryption passphrase meaning only the user's device can decrypt the secret;
const ENCRYTION_PASSPHRASE = await (0, utils_1.getMachineID)();
return ENCRYTION_PASSPHRASE;
};
exports.getEncryptionPassphrase = getEncryptionPassphrase;