n8n-nodes-aes
Version:
n8n community node to encrypt and decrypt data using crypto-js.
54 lines • 1.59 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.PgpKey = void 0;
class PgpKey {
constructor() {
this.name = 'pgpKey';
this.displayName = 'PGP Key API';
this.properties = [
{
displayName: 'Type',
name: 'type',
type: 'options',
options: [
{
name: 'Public',
value: 'public',
},
{
name: 'Private',
value: 'private',
},
],
default: 'public',
description: 'Is this a private key or public key, Public is used to encrypt and Private is used to decrypt',
},
{
displayName: 'Key',
name: 'key',
type: 'string',
typeOptions: {
password: false,
rows: 5,
},
default: '',
},
{
displayName: 'Passphrase',
name: 'passphrase',
type: 'string',
typeOptions: {
password: true,
},
default: '',
displayOptions: {
show: {
type: ['private'],
},
},
},
];
}
}
exports.PgpKey = PgpKey;
//# sourceMappingURL=PgpKey.credentials.js.map
;