Branch: Tag:

2019-03-19

2019-03-19 12:33:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '722771973bd' into patches/lyslyskom22891031

* commit '722771973bd': (6177 commits)
Verify that callablep responses are aligned with reality.
...

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-02-03

2018-02-03 09:48:55 by Peter Bortas <bortas@gmail.com>

Merge branch '8.1' into peter/travis

2018-01-13

2018-01-13 18:24:50 by Martin Nilsson <nilsson@fastmail.com>

Type fix.

2017-09-22

2017-09-22 13:03:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of PIKE-39 (#8039).

2017-09-22 12:27:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA.State: Fix bugs in LFUN::_equal().

Crypto.RSA.PSSState()->_equal() interfered with _equal()
for the other states.

2017-09-21

2017-09-21 13:31:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Implemented jwk().

Support generation of JSON Web Keys (JWKs) from RSA objects.

Fixes some of PIKE-39 (#8039).

2017-09-21 07:56:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA.OAEP: Fixed typo.

2016-12-27

2016-12-27 11:38:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed multiple warnings.

Fixes several testsuite failures.

2016-12-22

2016-12-22 17:20:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Support initialization from a JWK mapping.

2016-05-31

2016-05-31 08:52:28 by Magnus Holmgren <holmgren@lysator.liu.se>

Documentation breakage

When preparing a new Debian package of 8.0.240, I noticed that some
documentation disappeared, apparently due to the following. The error
in Nettle.Sign is already corrected but not the others, AFAICT, and
I'm guessing that @exp should be @expr. Patch below, which I home
someone can apply right away.

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/src/modules/Gmp/mpz_glue.c, lines: 668..668), "DocParser", "@exp cannot be used like this: @exp{ ... @}")>

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/__builtin.pmod/Nettle.pmod/Sign.pike, lines: 102..102), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/Crypto.pmod/ECC.pmod, lines: 286..286), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>

ERROR: <Invalid error container: Tools.AutoDoc.AutoDocError(SourcePosition(File: /build/pike8.0-8.0.240/lib/modules/Crypto.pmod/RSA.pmod, lines: 368..368), "DocParser", "@item is not allowed inside @array (allowed children are: @elem)")>

2016-04-28

2016-04-28 15:15:05 by Chris Angelico <rosuav@gmail.com>

Docs formatting to fix build error

2016-04-27

2016-04-27 14:44:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.RSA]: Fixed cut and paste error.

2016-04-27 14:44:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [Crypto.RSA]: Fixed cut and paste error.

2016-04-27 14:35:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Some API changes for jose_sign().

Changed argument order and added defaults for the hash algorithm.

2016-04-27 14:35:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [RSA]: Minor doc change for jose_decode().

2016-04-27 14:35:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Add some support for JOSE JWS signatures.

2016-04-27 14:34:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added algorithm identifiers from JWA (RFC 7518:3.1).

Fixes some of [bug 7671 (#7671)].

2016-04-19

2016-04-19 19:23:17 by Martin Nilsson <nilsson@fastmail.com>

SHA256 is assumed due to Nettle version requirements.

2016-04-19 14:52:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Some API changes for jose_sign().

Changed argument order and added defaults for the hash algorithm.

2016-04-19 12:25:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [RSA]: Minor doc change for jose_decode().

2016-04-19 10:31:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Add some support for JOSE JWS signatures.

2016-04-17

2016-04-17 12:30:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA [SSL.Context]: Fixed some warnings.

2016-04-14

2016-04-14 10:12:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto: Added algorithm identifiers from JWA (RFC 7518:3.1).

Fixes some of [bug 7671 (#7671)].

2016-04-05

2016-04-05 13:31:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Throw an error on large e in generate_key().

This makes the testsuite happy on platforms without hogweed.

2016-03-14

2016-03-14 16:15:06 by Martin Nilsson <nilsson@fastmail.com>

Use random_string instead of Crypto.Random.random_string

2015-11-28

2015-11-28 12:48:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed some types.

Fixes warnings generated by SSL.Context [LysLysKOM 21537223].

2015-11-23

2015-11-23 14:13:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Added support for RSAES-OAEP (RFC 3447:7.1).

2015-11-21

2015-11-21 13:17:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Added pkcs_signature_algorithm_id() for PSS.

2015-11-15

2015-11-15 18:20:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed multiple typing errors.

Values of type Crypto.RSA.LowState should be possible to
assign to variables declared as Crypto.RSA.State without
drowning in warnings...

Also restores the default return value of name() to "RSA".

2015-11-14

2015-11-14 12:42:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Cleaned up RSASSA-PSS API.

It is now possible to get a PSS signature object from an RSA state by
indexing it with "PSS". Eg

Crypto.RSA.State rsa = ...;
string(8bit) sign = rsa->PSS->pkcs_sign(message, hash);
int(0..1) ok = rsa->PSS->pkcs_verify(message, hash, sign);

Also adds a corresponding symbol "PKCS1_5" for the traditional (and
default) PKCS#1 1.5 style signatures.

2015-11-09

2015-11-09 13:34:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Added pss_{sign,verify}() implementing RSASSA-PSS.

Note: This is a temporary API as it is not compatible with
the __builtin.Nettle.Sign API.

2015-05-26

2015-05-26 10:33:42 by Martin Nilsson <nilsson@opera.com>

Removed trailing spaces.

2015-04-29

2015-04-29 12:23:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed some more warnings with old Nettle.

Fixes remainder of [bug 7469 (#7469)] and [bug 7477 (#7477)].

2015-04-29 12:23:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed some more warnings with old Nettle.

Fixes remainder of [bug 7469 (#7469)] and [bug 7477 (#7477)].

2015-04-28

2015-04-28 12:41:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed warnings with old Nettle. Fixes remainder of [bug 7469 (#7469)].

2015-04-28 12:40:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Fixed warnings with old Nettle. Fixes remainder of [bug 7469 (#7469)].

2015-03-24

2015-03-24 15:25:03 by Martin Nilsson <nilsson@opera.com>

Improve a comment.

2015-03-24 00:00:19 by Martin Nilsson <nilsson@opera.com>

Stop caching the RSA key size.

2015-02-09

2015-02-09 13:19:33 by Martin Nilsson <nilsson@opera.com>

Use side channel silent powm.

2015-02-09 13:18:12 by Martin Nilsson <nilsson@opera.com>

Use side channel silent powm.

2014-12-04

2014-12-04 19:27:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Improved robustness of compat generate_key().

2014-12-04 19:27:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Sign: Fixed indent.

2014-12-04 19:27:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Break compilation circularity.

There's a circularity between Crypto.RSA and Standards.PKCS.RSA.

2014-11-27

2014-11-27 14:19:54 by Martin Nilsson <nilsson@opera.com>

Use faster and better looking padding. This however limits us to 2147483648 bit RSA keys.

2014-11-04

2014-11-04 15:07:45 by Martin Nilsson <nilsson@opera.com>

Move deprecated code to compat. Something is wrong with the method overloading / variant, so generate_key compat is disabled.

2014-09-30

2014-09-30 16:20:55 by Martin Nilsson <nilsson@opera.com>

this_program:: -> this::

2014-09-23

2014-09-23 17:11:20 by Martin Nilsson <nilsson@opera.com>

Moved the compat generate_key into the deprecated section.

2014-09-07

2014-09-07 19:58:34 by Martin Nilsson <nilsson@opera.com>

Fail signatures with the wrong size. This may be a compatibility issue.

2014-09-06

2014-09-06 11:58:05 by Martin Nilsson <nilsson@opera.com>

Added some references to PKCS#1

2014-09-06 00:55:09 by Martin Nilsson <nilsson@opera.com>

Signatures needs to be padded to the full size.

2014-08-14

2014-08-14 14:51:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Break compilation circularity.

There's a circularity between Crypto.RSA and Standards.PKCS.RSA.

2014-08-14 14:51:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Sign: Fixed indent.

2014-08-14 14:51:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.Sign: Added sub-class State.

This makes the Crypto.Sign API to behave closer to the other Crypto APIs.

This affects code that uses Crypto.RSA and Crypto.DSA (which now are
modules and not classes).

Crypto.ECC.Curve.ECDSA is currently unmodified.

2014-08-14 14:51:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Crypto.RSA: Improved robustness of compat generate_key().