Closed mwfarb closed 9 years ago
To @mwfarb, is submission token mandatory for registration? The current registration attaches submission token. If the token data is necessary, I will close this issue.
@tenmalin The original submission token can be removed now, but the length field is still required and should be set to 0. The order of fields in the new scheme can be:
lenkeyid = same
keyId = same
lensubtok = same (but now always 0)
lenregid = same
registrationId = same
devtype = same
lennonce = new
nonce = new
lenpubkey = new
pubkey = new
sig_len = new
sig = new
For the new fields, the current implementation already satisfies the requirement to attach signature and public key, but just attach submission token still. It could be removed in the next binary push.
The server has been upgraded now so that it will accept a 0 length submission token aslong as the new signed public key format is used.