GithubHelp home page GithubHelp logo

cryptimeleon / subzero Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 45.84 MB

A declarative domain-specific language for the specification of zero knowledge protocols

Home Page: https://cryptimeleon.org/subzero/

Java 48.10% JavaScript 3.17% HTML 0.09% Xtend 31.29% Dockerfile 0.15% Shell 0.85% Svelte 16.35%

subzero's People

Contributors

janbobolz avatar jeremyfell avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

subzero's Issues

Errors with pp

The following protocol definition:

[Pointcheval Sanders credential showing]

pp: g~, X~, Y_1~, Y_2~
witness: age, pos, r

e(sigma_1', X~) * e(sigma_1', Y_1~^age * Y_2~^pos) * e(sigma_1', g~)^r = e(sigma_2', g~) // valid signature
& (age < 18 | pos = 17) // young or student

Has the issue that (1) the tilde symbol is not part of the LaTeX preview in the pp (it works in the proof statement, though) and (2) when trying to compile that protocol, the following exception is thrown:

[WARNING] /subzero/xtext-service/generate
java.lang.NullPointerException: Cannot invoke "org.cryptimeleon.subzero.model.GroupType.toString()" because the return value of "java.util.Map.get(Object)" is null
    at org.cryptimeleon.subzero.generator.TestClassGenerator.createVariableInitialization (TestClassGenerator.java:278)
    at org.cryptimeleon.subzero.generator.TestClassGenerator.buildClass (TestClassGenerator.java:118)
    at org.cryptimeleon.subzero.generator.TestClassGenerator.generate (TestClassGenerator.java:47)
    at org.cryptimeleon.subzero.generator.CodeGenerator.generate (CodeGenerator.java:32)
    at org.cryptimeleon.subzero.generator.SubzeroGenerator.doGenerate (SubzeroGenerator.java:52)
    at org.eclipse.xtext.generator.GeneratorDelegate.doGenerate (GeneratorDelegate.java:44)
    at org.eclipse.xtext.generator.GeneratorDelegate.generate (GeneratorDelegate.java:35)
    at org.eclipse.xtext.web.server.generator.GeneratorService.compute (GeneratorService.java:108)
    at org.eclipse.xtext.web.server.generator.GeneratorService.compute (GeneratorService.java:41)
    at org.eclipse.xtext.web.server.model.XtextWebDocument.getCachedServiceResult (XtextWebDocument.java:67)
    [...]

Commenting out the pp line makes the whole thing work.

Parentheses in LaTeX preview

Currently, a*(b+c) renders as a*b+c in the LaTeX preview. Same issue with foo ∧ (bar ∨ bar2).

The LaTeX preview generator should be made aware of operator precedence.

@jeremyfell can you take this? :)

Fix mobile layout

Currently, the layout on small screens is broken:
Image on 2021-08-13 09 37 27 AM

This is not incredibly high priority, but would probably be nice if the layout was more responsive :)

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.