- From: Mo McRoberts <Mo.McRoberts@bbc.co.uk>
- Date: Tue, 19 Mar 2013 08:49:43 +0000
- To: Melvin Carvalho <melvincarvalho@gmail.com>
- CC: Henry Story <henry.story@bblfish.net>, public-webid <public-webid@w3.org>
curiously, the ASN.1 modules for RSA and DSA (in the context of PKIX) differ in terms of naming… where RSA speaks of 'modulus' and 'publicExponent', DSA is exclusively 'p', 'q', and 'g' for the parameters and 'y' for the key itself. I can't help but wonder if consistency should perhaps outweigh friendlier naming (such that 'p' in an DSA key structure maps to 'p' in a set of RDF triples). rdfs:label and rdfs:comment within the ontology of course can go a long way in clarifying things… M. On Mon 2013-Mar-18, at 19:02, Melvin Carvalho <melvincarvalho@gmail.com> wrote: > > > On 18 March 2013 19:44, Henry Story <henry.story@bblfish.net> wrote: > > On 18 Mar 2013, at 18:08, Melvin Carvalho <melvincarvalho@gmail.com> wrote: > >> >> >> On 17 March 2013 22:31, Henry Story <henry.story@bblfish.net> wrote: >> >> On 17 Mar 2013, at 21:56, Melvin Carvalho <melvincarvalho@gmail.com> wrote: >> >>> http://www.w3.org/ns/auth/cert >>> >>> "The modulus of an RSA public and private key. Or the modulus of a DSA Key." >>> >>> Yet there is no class for a DSA public key. >>> >>> It would be great if this could be added as I'm currently looking into an integration between WebID and a payments system that uses DSA. >> >> Sounds like a good idea. Would be worth opening an issue for. >> >> Thanks for the advice, Henry. I've opened an issue. >> >> Could we break down what needs to be done to get this actioned, are there any bottle necks? > > There is probably very little to do. One needs to look at how DSA keys can be described, write out those relations, verify them, and then add them to the ontology. > > > Ah good. > > Well as you know, RSA keys are described as follows: > > Private key description: (n, d) is the (modulus, private key exponent) > Public key description: (n, e) is the (modulus, public key exponent) > > In DSA as per: > > Private key description: (x, g, p, q) is the (private key, generator, modulus, sub-group order) > Public key description: (y, g, p, q) is the (public key, generator, modulus, sub-group order) > > Source: https://www.dlitz.net/software/pycrypto/api/current/Crypto.PublicKey.DSA._DSAobj-class.html > Source: https://www.dlitz.net/software/pycrypto/api/current/Crypto.PublicKey.DSA-module.html > > So I think the naming is doable. To start with what do you think of the terms: > > g=generator > p=modulus > q=subGroupOrder > > > > >> >> >> Henry >> >> >> Social Web Architect >> http://bblfish.net/ >> >> > > Social Web Architect > http://bblfish.net/ > > -- Mo McRoberts - Analyst - BBC Archive Development, Zone 1.08, BBC Scotland, 40 Pacific Quay, Glasgow G51 1DA, Room 7066, BBC Television Centre, London W12 7RJ, 0141 422 6036 (Internal: 01-26036) - PGP key CEBCF03E ----------------------------- http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -----------------------------
Received on Tuesday, 19 March 2013 08:50:14 UTC