]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Magicsig::generate is now static
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Jun 2014 19:50:40 +0000 (21:50 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Jun 2014 19:50:40 +0000 (21:50 +0200)
commit0bc122ff58d039dfbd7b9005eb4267df0d67a883
treefa587021b89305514b2b6d12870538402757fd04
parent537dff7987b9b8e2080afe68c49cc046b057a335
Magicsig::generate is now static

This also fixes a problem with "initial salmon slap", which was a
problem for newly registered accounts which would have their first
salmon slap fail to distribute since there was a problem with Magicsig
keys. Apparently we have to re-read them with importKeys so the
Crypt_RSA objects publicKey and privateKey match later instances of them.

I think it may have been that generate() doesn't specify a signatureMode,
but I leave experimentation of that to the future.
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/classes/Magicsig.php
plugins/OStatus/lib/magicenvelope.php