Code Monkey home page Code Monkey logo

Comments (14)

manpages avatar manpages commented on August 22, 2024

Distros are Archlinux and Debian

Jonns Mostovoys,
DA234FE7

from convergence.

moxie0 avatar moxie0 commented on August 22, 2024

What is a "node?" In general, please confirm bugs against FF5. Convergence hasn't been ported to FF6 yet, and it isn't supported.

from convergence.

manpages avatar manpages commented on August 22, 2024

Sorry, nodes are notaries, ofc.

I'll test it in ff5, sure thing. Sorry for not doing that in the first place.

Though I think that it's obvious that ff6 needs support, and thus testing. But the point taken.

Jonns Mostovoys,
DA234FE7

from convergence.

moxie0 avatar moxie0 commented on August 22, 2024

True enough, I'd just like to keep the "ff6 is broken" problems in the ff6 thread, and there were/are some fundamental changes that needed to be made before we could expect anything to work there. Thanks for all the help.

from convergence.

JackOfMostTrades avatar JackOfMostTrades commented on August 22, 2024

One problem I've run in to related to this: Convergence throws an exception when calling ctypes.NSS.CERT_AsciiToName. After a lot of searching through the nss source code, it turns out libnss enforces the RFC3280 specification that the OU field has a maximum length of 64 characters. This is violated when using more than 2 notaries since Convergence is using this field to hold notary results.

from convergence.

moxie0 avatar moxie0 commented on August 22, 2024

@melknin Damn, that's a good catch, thanks. It seems like we should start shoving the results somewhere else, then. Possibly a v3 extension.

from convergence.

ewanm89 avatar ewanm89 commented on August 22, 2024

Was considering we could write it in as our own x.509 extension, but there is still a 256 character limit there (is it per an extension?)

from convergence.

JackOfMostTrades avatar JackOfMostTrades commented on August 22, 2024

I was able to update the bit of code which updates the OU to instead put the result into one of the v3 extensions (I went with Issuer Alternative Name, although pretty much any would work), but I have not checked whether or not a character limit is imposed.
Either way I ran into an issue on the tooltip end; I couldn't find any method in the Mozilla interface for getting the v3 extensions out of the certificate (http://www.oxymoronical.com/experiments/apidocs/interface/nsIX509Cert).

from convergence.

JackOfMostTrades avatar JackOfMostTrades commented on August 22, 2024

I double-checked and there doesn't appear to be any length restriction on the x509 extensions (instead, the 256 limit is on the number of extensions while the extensions themselves have no explicit maximum length). To test, I was able to encode 270 characters into the IssuerAltName extension.

One possible option is to use the getRawDER method to export the raw certificate and reread it with NSS, but that seems like a pretty ugly hack to me.

from convergence.

ewanm89 avatar ewanm89 commented on August 22, 2024

So, we can dynamically add extensions, as long as each is less than 256 characters was what I was thinking?

from convergence.

ewanm89 avatar ewanm89 commented on August 22, 2024

however we get firefox to read it, it's a hack.

from convergence.

JackOfMostTrades avatar JackOfMostTrades commented on August 22, 2024

Sorry, I totally fumbled my explanation above (clearly hadn't had my coffee yet). What I meant to say is that the v3 extensions do not have a limited length, so we should be fine just picking one and using it.

Fair enough that it being a hack in any case. I've just pushed out an update to my fork (https://github.com/melknin/Convergence); testing requested.

from convergence.

moxie0 avatar moxie0 commented on August 22, 2024

Thanks for the heavy lifting on this, @melknin. I've pushed changes to the master Convergence branch that do the v3 extension tunneling for the verification data, although I switched to the NS "comment" extension. If you folks can confirm that this fixes the bug, we can close it.

from convergence.

moxie0 avatar moxie0 commented on August 22, 2024

This is now fixed in 0.04

from convergence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.