Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtaco committed Nov 20, 2014
1 parent c4a14bd commit fc34aeb
Show file tree
Hide file tree
Showing 15 changed files with 109 additions and 138,463 deletions.
19 changes: 11 additions & 8 deletions SIGNED.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - http://gpgtools.org
iQEcBAABAgAGBQJUbUnQAAoJEJgKPw0B/gTfGXoH/iZCijFhVDgOy44W0YyoKZUm
PSvBPf7RgdkJ9d507soEj+feYKtcJTEgoTkZVuCQNsUh90Rq+9RuOtJ+lMeU7BA6
wSwAa9FIpSXnUfCqFgI2v6j6eiNt0Xxp+W8QKp1IIfd3lbnxxewxkNvFfbqvieuc
8XnHFpMEIw6y2ngPYt7HLsU1jcKr3cF7fFlWrvd0Bo98V5Zswc7wzo5xpYPZyO6d
Nhadpp7anDIzUrGUBbWZoVGMyhrJcPb2eGTwmE6o6gk2K1dcy2TWYb2WtmDdX7Ci
STZwumAX/3DO7agnf43InVylq+VTHI/qZaPMznTvPfMwj+o3F/hw9twy3NMQpxk=
=z1Mi
iQEcBAABAgAGBQJUbUn9AAoJEJgKPw0B/gTfWskH/izSZMqfYio243SqonpDRJw2
mDqFeEgRpFKTX3QPpSgJepYk6LOjgZxmW9k7SqRYYm5UvdVWqyTq/e8siOGBkQ5x
Wc+UYfF+84CpXnNfD2x7KC+p0+3iwJd183/0vzq5Y/4GMJ1AqXSmtW56fND+0h+J
qJv2NRk0DaQ459LGGyrThQt7c8zmw0m/wI2FN2bXGyG82gZ/F18VvisfYqvTQ46B
AG9sFBs/VLaTciCUOGb+JbjG9CCG+yhlS25vyH7rQHFy0cIOLPqbw5Yd/+/EDHoV
tW8s5bMlSHm1VdS3cPzR8rTGs4eMU7jy2e+kNnsZMtL8CFJf/JfrbItVRlJFC2I=
=YiSW
-----END PGP SIGNATURE-----
```
Expand All @@ -33,7 +33,7 @@ size exec file contents
bench/
83 main.js 083729d8233d3d24bc1bc77e1fc9005cf4cb0022d873301be3a156976113220d
browser/
1547581 kbpgp.js 16d8c9e2263977e4b2cf1d4c58035763a740af6ad4c17c7f7c7d985fff37fb69
1548150 kbpgp.js 36025ddee3ac59af3c0c8db51cfe3b2edfbc31570bece22e31750c2c2bb618c1
dev/
329 bdecode_hex.iced 9792d642d4fa9b1551f09b055f24c61f222754716f33d1370096e74b384cb92d
753 c5.iced 352c5f659a9b7f3e45af8c5ff72b448c3524715286fa7dde86a235bd09a294bf
Expand Down Expand Up @@ -142,6 +142,9 @@ size exec file contents
919367 kbpgp-1.1.5-min.js 6242445614901d0010b70596bc5a9275a85516e035d27e76b01e9d92ea33f0d8
561373 kbpgp-1.1.5-signed-release.zip 5ad1b699296db1568b2b434f3d95d4d3dfda7cec8e538aa7dfac0cdb4ffcd5c2|3c9b36b35a24209996b1c1ee4c8e80ab6b6ce235074b0bbce39c6bf39f189970
1547581 kbpgp-1.1.5.js 16d8c9e2263977e4b2cf1d4c58035763a740af6ad4c17c7f7c7d985fff37fb69
919718 kbpgp-1.1.6-min.js c5564b93ee1ccc5da8061600ac8f779dfb3058583d05ff26ab0e60b858a7c4fd
561566 kbpgp-1.1.6-signed-release.zip ca29baa70343c4fd4d4bd7cc632723fa45b4069bcb04ff294ba99da2a706dc28|f02b380fd2f3401359220175173775ec1728a1cca6a7a97f0cefb165a503ca55
1548150 kbpgp-1.1.6.js 36025ddee3ac59af3c0c8db51cfe3b2edfbc31570bece22e31750c2c2bb618c1
src/
591 asymmetric.iced f9819323225e9be460c5aa991b99021018f575556ddef2e326316d022ca2c5c8
3188 basekeypair.iced e2c1cab4c5b4314644059a8b22b57c327b569e6a82107825aac629032bf32d2d
Expand Down
76 changes: 47 additions & 29 deletions browser/kbpgp.js
Original file line number Diff line number Diff line change
Expand Up @@ -10169,9 +10169,13 @@ _break()
};

KeyMaterial.prototype.fulfills_flags = function(flags) {
var akf;
var akf, ret;
if (this.is_revoked()) {
return false;
}
akf = this.get_all_key_flags();
return ((akf & flags) === flags) || this.key.fulfills_flags(flags) || (this.is_primary() && (akf === 0) && ((this.key.good_for_flags() & flags) === flags));
ret = ((akf & flags) === flags) || this.key.fulfills_flags(flags) || (this.is_primary() && (akf === 0) && ((this.key.good_for_flags() & flags) === flags));
return ret;
};

KeyMaterial.prototype.get_signed_userids = function() {
Expand All @@ -10191,6 +10195,14 @@ _break()
return KeyMaterial.__super__.push_sig.call(this, packetsig);
};

KeyMaterial.prototype.mark_revoked = function(sig) {
return this.revocation = sig;
};

KeyMaterial.prototype.is_revoked = function() {
return this.revocation != null;
};

return KeyMaterial;

})(Packet);
Expand Down Expand Up @@ -11802,6 +11814,9 @@ _break()
sig: sig,
direction: SKB.UP
}));
break;
case T.subkey_revocation:
subkey.mark_revoked(sig);
}
}
return cb(err);
Expand Down Expand Up @@ -13335,7 +13350,9 @@ _break()
lineno: 156
}));
__iced_deferrals._fulfill();
})(__iced_k);
})(function() {
return __iced_k(err == null ? _this.encryption_subkey = key_material : void 0);
});
} else {
return __iced_k();
}
Expand Down Expand Up @@ -13388,7 +13405,7 @@ _break()
return ret = arguments[1];
};
})(),
lineno: 176
lineno: 178
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand Down Expand Up @@ -13430,7 +13447,7 @@ _break()
return pkcs5 = arguments[2];
};
})(),
lineno: 190
lineno: 192
})));
__iced_deferrals._fulfill();
});
Expand All @@ -13450,7 +13467,7 @@ _break()
return edat = arguments[0];
};
})(),
lineno: 192
lineno: 194
})));
__iced_deferrals._fulfill();
})(function() {
Expand All @@ -13466,7 +13483,7 @@ _break()
return plaintext = arguments[0];
};
})(),
lineno: 193
lineno: 195
})));
__iced_deferrals._fulfill();
})(function() {
Expand All @@ -13482,7 +13499,7 @@ _break()
return packets = arguments[0];
};
})(),
lineno: 194
lineno: 196
})));
__iced_deferrals._fulfill();
})(function() {
Expand Down Expand Up @@ -13544,7 +13561,7 @@ _break()
return inflated = arguments[0];
};
})(),
lineno: 204
lineno: 206
})));
__iced_deferrals._fulfill();
})(function() {
Expand All @@ -13562,7 +13579,7 @@ _break()
return p = arguments[0];
};
})(),
lineno: 206
lineno: 208
})));
__iced_deferrals._fulfill();
})(function() {
Expand Down Expand Up @@ -13639,7 +13656,7 @@ _break()
return i = arguments[2];
};
})(),
lineno: 244
lineno: 246
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand All @@ -13666,7 +13683,7 @@ _break()
return err = arguments[0];
};
})(),
lineno: 256
lineno: 258
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand Down Expand Up @@ -13719,7 +13736,7 @@ _break()
funcname: "Message._verify"
});
_this._verify_sig(sig, esc(__iced_deferrals.defer({
lineno: 270
lineno: 272
})));
__iced_deferrals._fulfill();
})(_next);
Expand Down Expand Up @@ -13762,7 +13779,7 @@ _break()
funcname: "Message._process_generic"
});
_this._decrypt(esc(__iced_deferrals.defer({
lineno: 283
lineno: 285
})));
__iced_deferrals._fulfill();
});
Expand All @@ -13775,7 +13792,7 @@ _break()
funcname: "Message._process_generic"
});
_this._inflate(esc(__iced_deferrals.defer({
lineno: 284
lineno: 286
})));
__iced_deferrals._fulfill();
})(function() {
Expand All @@ -13786,7 +13803,7 @@ _break()
funcname: "Message._process_generic"
});
_this._verify(esc(__iced_deferrals.defer({
lineno: 285
lineno: 287
})));
__iced_deferrals._fulfill();
})(function() {
Expand Down Expand Up @@ -13824,7 +13841,7 @@ _break()
return literal = arguments[1];
};
})(),
lineno: 294
lineno: 296
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand Down Expand Up @@ -13855,7 +13872,7 @@ _break()
return packets = arguments[0];
};
})(),
lineno: 301
lineno: 303
})));
__iced_deferrals._fulfill();
});
Expand All @@ -13876,7 +13893,7 @@ _break()
return literals = arguments[0];
};
})(),
lineno: 302
lineno: 304
})));
__iced_deferrals._fulfill();
})(function() {
Expand Down Expand Up @@ -13913,7 +13930,7 @@ _break()
return err = arguments[0];
};
})(),
lineno: 311
lineno: 313
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand Down Expand Up @@ -13951,7 +13968,7 @@ _break()
return literals = arguments[1];
};
})(),
lineno: 320
lineno: 322
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand All @@ -13973,7 +13990,7 @@ _break()
return literals = arguments[1];
};
})(),
lineno: 322
lineno: 324
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand All @@ -13994,7 +14011,7 @@ _break()
return literals = arguments[1];
};
})(),
lineno: 324
lineno: 326
}));
__iced_deferrals._fulfill();
})(__iced_k);
Expand All @@ -14019,12 +14036,12 @@ _break()
exports.Message = Message;

exports.do_message = do_message = function(_arg, cb) {
var armored, data, data_fn, err, keyfetch, literals, msg, proc, raw, strict, warnings, ___iced_passed_deferral, __iced_deferrals, __iced_k, _ref1;
var armored, data, data_fn, err, esk, keyfetch, literals, msg, proc, raw, strict, warnings, ___iced_passed_deferral, __iced_deferrals, __iced_k, _ref1;
__iced_k = __iced_k_noop;
___iced_passed_deferral = iced.findDeferral(arguments);
armored = _arg.armored, raw = _arg.raw, keyfetch = _arg.keyfetch, data_fn = _arg.data_fn, data = _arg.data, strict = _arg.strict;
literals = null;
err = msg = warnings = null;
err = msg = warnings = esk = null;
if (armored != null) {
_ref1 = armor.decode(armored), err = _ref1[0], msg = _ref1[1];
} else if (raw != null) {
Expand Down Expand Up @@ -14056,19 +14073,20 @@ _break()
return literals = arguments[1];
};
})(),
lineno: 366
lineno: 368
}));
__iced_deferrals._fulfill();
})(function() {
return __iced_k(warnings = proc.warnings);
warnings = proc.warnings;
return __iced_k(esk = proc.encryption_subkey);
});
} else {
return __iced_k();
}
});
})(this)((function(_this) {
return function() {
return cb(err, literals, warnings);
return cb(err, literals, warnings, esk);
};
})(this));
};
Expand Down Expand Up @@ -45793,7 +45811,7 @@ module.exports={
"keybase"
],
"author": "Maxwell Krohn",
"version": "1.1.5",
"version": "1.1.6",
"license": "BSD-3-Clause",
"main": "./lib/main.js",
"directories": {
Expand Down
27 changes: 0 additions & 27 deletions rel/kbpgp-1.1.1-min.js

This file was deleted.

Binary file removed rel/kbpgp-1.1.1-signed-release.zip
Binary file not shown.
Loading

0 comments on commit fc34aeb

Please sign in to comment.