diff --git a/src/packet/signature.js b/src/packet/signature.js index efa6c515..50e7ca89 100644 --- a/src/packet/signature.js +++ b/src/packet/signature.js @@ -445,7 +445,9 @@ Signature.prototype.read_sub_packet = function (bytes) { this.notation = this.notation || {}; this.notation[name] = value; - } else throw new Error("Unsupported notation flag."); + } else { + util.print_debug("Unsupported notation flag "+bytes.charCodeAt(mypos)); + } break; case 21: // Preferred Hash Algorithms @@ -504,7 +506,7 @@ Signature.prototype.read_sub_packet = function (bytes) { this.embeddedSignature.read(bytes.substr(mypos)); break; default: - throw new Error("Unknown signature subpacket type " + type + " @:" + mypos); + util.print_debug("Unknown signature subpacket type " + type + " @:" + mypos); } };