-
Notifications
You must be signed in to change notification settings - Fork 6
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
It is not possible to specify whether binary or source code export is allowed. #15
Comments
You wrote:
If I understand you correctly, what you want to do is to add support in SEMLA for interpreting a license file. A design decision for the default SEMLA implementation is that it does not require the license manager to interpret anything in the Modelica code. It is expected that the Protection annotation is processed by the tool. For context, here is the relevant section of the spec (https://specification.modelica.org/maint/3.6/annotations.html#licensing). SEMLA already supports protecting classes using a tool specific license manager. The Library Vendor trusts the tool, and the tool needs to do certain checks to ensure that classess are protected. |
But this does not explain how the Modelica tool can know whether it is allowed to export code for a Model in an encrypted library, e.g. a source code FMU. Or how do you think this could be solved? |
@axelmartenssonmodelon this is the part of the specification that I meant
|
To know whether binary or source code export is allowed, a tool could ask the LVE for the license file. If this license file is to be used in SEMLA it must have the extension ".mo" (not ".mo_lic" which the example in the Modelica spec has), because it is only files with the ".mo" extension that get encrypted. |
SEMLA does not support the license annotation of 18.9.2 to define whether binary or source export is possible.
The text was updated successfully, but these errors were encountered: