mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-17 05:45:00 +00:00
small fixes
This commit is contained in:
@@ -38,6 +38,7 @@ import config from '../config';
|
||||
* 3 = PGP MESSAGE
|
||||
* 4 = PUBLIC KEY BLOCK
|
||||
* 5 = PRIVATE KEY BLOCK
|
||||
* 6 = SIGNATURE
|
||||
*/
|
||||
function getType(text) {
|
||||
var reHeader = /^-----BEGIN PGP (MESSAGE, PART \d+\/\d+|MESSAGE, PART \d+|SIGNED MESSAGE|MESSAGE|PUBLIC KEY BLOCK|PRIVATE KEY BLOCK|SIGNATURE)-----$\n/m;
|
||||
|
||||
Reference in New Issue
Block a user