The IDES Receiver is a Single-Page Application that can decrypt and decompress zip files received from the IRS via the IDES gateway.
It is published at http://shadiakiki1986.github.io/IDES-Receiver/
It does so serverlessly, purely on your local machine in your own browser, in 3 steps:
- Import your PEM-formatted RSA Private key
- Open the received zip file
- and generate the XML content
- General: modern browser, tested on firefox 41.02
- Generating the XML file: https://github.com/eligrey/FileSaver.js/#supported-browsers
Check the LICENSE file for the full text
The following is the software I developed to generate the compressed and signed zip files submitted to IDES
- fatca-ides-php: Php library that converts bank client data to file format submittable for FATCA at IDES gateway
- IDES-Data-Preparation-Php: Php implementation of submitting data to www.idesgateway.com. Uses
fatca-ides-php
- Could use the published version at http://shadiakiki1986.github.io/IDES-Receiver/
- or just clone the repository locally
- and run
python -m SimpleHTTPServer
from thewww
folder - or just
firefox www/index.html
The SPA is published at http://shadiakiki1986.github.io/IDES-Receiver/
If it is desired to install the IDES Receiver on your local server:
make install
First checkout of remote branch locally
git checkout -b gh-pages origin/gh-pages
Copying files from master to gh-pages
make publish
If there were any "new" files that were added, a "git add" is needed in "gh-pages" branch followed by a commit and push
Finally, return to master branch
git checkout master
- update cipher from cbc to ecb (or other way around?)
- undefined cipher: is this cbc vs ecb? (check console log 'decrypting payload') when deciphering the sample I provide on the page vs the example zip file i have in the shadi-configs
- if rsa private key does not correspond to the zip file, a console error shows "encryption block is invalid"