Skip to content

Smartbox: Tax form signing #46

@semyon2105

Description

@semyon2105

The current implementation handles the login scenario, but tax forms have a different structure. Tax forms differ greatly from the login one, the nodes there have varying names, structure and contents.

I'm working on another Smartbox implementation in parallel where I decided to delegate XML DSig template construction and signing to xmlsec C library. That XML-DSig standard looks pretty scary, so I chose not to attempt constructing the signed XML manually 😅. I was able to submit a valid tax form with that library. That said, all the C FFI with XmlSec/OpenSSL/NSS is pretty nasty. I'll share the code in the next few weeks on Github in case you're interested.

The easiest way to get the example XML is to submit an "OLZ" form in test.purs.gov.rs as it's the simplest one to fill out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions