Fix linting in PGP operations
This commit is contained in:
parent
60c8da7bbb
commit
dcd8f98e8c
@ -54,7 +54,7 @@ const PGP = {
|
|||||||
4096: 2048,
|
4096: 2048,
|
||||||
256: 256,
|
256: 256,
|
||||||
384: 256,
|
384: 256,
|
||||||
}[keySize]
|
}[keySize];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
@ -104,16 +104,16 @@ const PGP = {
|
|||||||
primary: {
|
primary: {
|
||||||
nbits: keySize,
|
nbits: keySize,
|
||||||
flags: flags,
|
flags: flags,
|
||||||
expire_in: 0
|
expire_in: 0 // eslint-disable-line camelcase
|
||||||
},
|
},
|
||||||
subkeys: [{
|
subkeys: [{
|
||||||
nbits: PGP.getSubkeySize(keySize),
|
nbits: PGP.getSubkeySize(keySize),
|
||||||
flags: kbpgp.const.openpgp.sign_data,
|
flags: kbpgp.const.openpgp.sign_data,
|
||||||
expire_in: 86400 * 365 * 8 // 8 years from kbpgp defaults
|
expire_in: 86400 * 365 * 8 // eslint-disable-line camelcase
|
||||||
}, {
|
}, {
|
||||||
nbits: PGP.getSubkeySize(keySize),
|
nbits: PGP.getSubkeySize(keySize),
|
||||||
flags: kbpgp.const.openpgp.encrypt_comm | kbpgp.const.openpgp.encrypt_storage,
|
flags: kbpgp.const.openpgp.encrypt_comm | kbpgp.const.openpgp.encrypt_storage,
|
||||||
expire_in: 86400 * 365 * 2 // 2 years from kbpgp defaults
|
expire_in: 86400 * 365 * 2 // eslint-disable-line camelcase
|
||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -147,7 +147,7 @@ const PGP = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user