UNPKG

@onboardbase/cli

Version:

[![Version](https://img.shields.io/npm/v/@onboardbase/cli.svg)](https://www.npmjs.com/package/@onboardbase/cli) [![Downloads/week](https://img.shields.io/npm/dw/@onboardbase/cli.svg)](https://www.npmjs.com/package/@onboardbase/cli) [![License](https://img

11 lines (10 loc) 482 B
"use strict"; 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;