Skip to content

sample implementation in bash for encrypting report files to Finanssivalvonta (FIN-FSA) with openssl

License

Notifications You must be signed in to change notification settings

dgm9704/bofcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

see also

my dotnet library for doing the encryption

my dotnet library for handling XBRL reports

my dotnet library for handling AIFMD reports

my dotnet library for handling FIN-FSA headers

bofcrypt.sh

A sample implementation for encrypting report files for sending to Finanssivalvonta (FIN-FSA)

Uses openssl for encryption

The public key "fin-fsa-pub.pem" was extracted from fin-fsa website.

(There is also a public/private key pair included for internal testing only.)

The result has been checked against FIN-FSA testing environment for reporters. See: https://prod.finanssivalvonta.fi/en/publications-and-press-releases/Reporting-release/2020/reporting_release_24_2020/

Please see the wiki for more details

All comments, suggestions, bugs etc are welcome!

usage

zip report.zip report.xbrl 

./bofcrypt.sh keys/fin-fsa-pub.pem report.zip > report.encrypted.xml 

./bofcrypt.sh keys/fin-fsa-pub.pem header.xml > header.encrypted.xml 

zip reportpackage.zip header.encrypted.xml report.encrypted.xml

About

sample implementation in bash for encrypting report files to Finanssivalvonta (FIN-FSA) with openssl

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages