Skip to content

Decryption of CDOC 1.0 container encrypted by JDigiDoc 3.12.0-785 results with broken datafile content #7

Description

@sgaktors

Decryption of CDOC 1.0 container encrypted by JDigiDoc 3.12.0-785 results with broken datafile content. E.g decryption works without errors, however the org.openeid.cdoc4j.DataFile content differs from the expected.
The decryption of the same cdoc container using JDigiDoc 3.x library works fine.

CDOC Library used for decryption: org.open-eid.cdoc4j 1.3.

Container and algorithm details:

...
</denc:CipherValue></denc:CipherData>denc:EncryptionProperties<denc:EncryptionProperty Name="LibraryVersion">JDigiDoc|3.12.0-785</denc:EncryptionProperty><denc:EncryptionProperty Name="DocumentFormat">ENCDOC-XML|1.0</denc:EncryptionProperty><denc:EncryptionProperty Name="Filename">XX-response.xml</denc:EncryptionProperty><denc:EncryptionProperty Name="OriginalMimeType">text/xml</denc:EncryptionProperty><denc:EncryptionProperty Name="OriginalSize">8843</denc:EncryptionProperty></denc:EncryptionProperties></denc:EncryptedData>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions