cryptimeleon / subzero Goto Github PK
View Code? Open in Web Editor NEWA declarative domain-specific language for the specification of zero knowledge protocols
Home Page: https://cryptimeleon.org/subzero/
A declarative domain-specific language for the specification of zero knowledge protocols
Home Page: https://cryptimeleon.org/subzero/
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.
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? :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.