Hello module-authors,
I’d like feedback on a new CPAN distribution I’m preparing:
Crypt::TSD. It implements reading and writing of RFC 5544 “Syntax for
Binding Documents with Time-Stamps” containers (file extension .tsd;
media type “application/timestamped-data” per RFC 5955).
In practice, .tsd is used notably in Italy; globally, adoption appears
limited compared to RFC 3161 Time-Stamp Tokens and ETSI/eIDAS containers
(CAdES/XAdES/PAdES/ASiC).
Still, .tsd exists in the wild and there is no dedicated CPAN module
covering it. Based on my survey of open-source options, the only Open
Source library exposing APIs for RFC 5544/.tsd that I found is Bouncy
Castle (Java); Crypt::TSD would provide a Perl alternative.
Planned scope:
- Read .tsd files and extract the original content and associated
time-stamp tokens.
- Create .tsd files from content and existing RFC 3161 tokens.
- Provide helpers for basic structural checks; further verification
utilities may follow.
- Provide command line scripts to read/write .tsd files.
Before first upload, I’d appreciate feedback on:
- The namespace: does Crypt::TSD look appropriate (alternatives:
Crypt::TimestampedData, Crypt::RFC5544)?
- Any API/naming concerns or prior art I should align with.
Thanks in advance for your guidance. I’m happy to adjust naming and API
based on suggestions.
Best regards,
Guido Brugnara