CogniCrypt icon indicating copy to clipboard operation
CogniCrypt copied to clipboard

Code error on generated template at Digital Signature task

Open enriozuni opened this issue 3 years ago • 1 comments

The generated template regarding Digitally sign documents task introduces code errors as is shown in the image below.

dig_sign_template_error

After some research, this most probably stems from how CrySLCodeGenerator class is implemented. In this type of task, we use CrySL rules during the code generation process. The generation of the template is specified in SecureSigner class, together with all the details of the methods it contains. The vfy() method where the error is happening, actually wants to use the second part of the calls as specified in the ORDER section of Signature rule. The first part is actually being used, as it happens in sign() method, also shown in the first lines at the image above; this is what causes the error.

enriozuni avatar Apr 17 '21 16:04 enriozuni

Fixed by #433. grafik

svenfeld avatar Aug 14 '22 12:08 svenfeld