Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnmp.trust does not compile #7

Closed
yoursunny opened this issue Mar 27, 2022 · 1 comment
Closed

dnmp.trust does not compile #7

yoursunny opened this issue Mar 27, 2022 · 1 comment

Comments

@yoursunny
Copy link

dnmp.trust is using the replace() function that is unimplemented in the current version of the schema compiler.
Consequently, it is not compiling properly.
Please update the schema so that it does not use the replace() function.

$ ./schemaCompile -vv doc/dnmp.trust 
VerSec Schema Compiler Copyright (C) 2020 Pollere Inc., v5.1.0-1-gab45368
doc/dnmp.trust:32.17-24: syntax error, unexpected string, expecting ')'
doc/dnmp.trust:32.35-41: syntax error, unexpected literal, expecting eof or string
Publication #command:
  parameters: target pType pArgs
  tags: /_network/_domain/target/_topic/_roleId/pType/pArgs/_origin/_cTS

Publication #wirePrefix:
  parameters: target
  tags: /_ndnprefix/_domain/target

Certificate templates:
  cert userCert: /"AliceNetOps"/"dnmp"/"user"/_roleId/"KEY"/_/_/_
  cert opCert: /"AliceNetOps"/"dnmp"/"operator"/_roleId/"KEY"/_/_/_
  cert dnmpCert: /"AliceNetOps"/"dnmp"/"KEY"/_/_/_
  cert netCert: /"AliceNetOps"/"KEY"/_/_/_

binary schema  is 354 bytes
@kmnichols
Copy link
Contributor

dnmp.trust is no longer being used and should have been deleted when we updated the compiler. I've done that now. It's best to use the examples under DCT/examples which have application examples to run and try out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants