/IDES-Receiver

Decrypt and decompress zip files received from the IRS via the IDES gateway

Primary LanguageJavaScriptMIT LicenseMIT

IDES Receiver

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:

  1. Import your PEM-formatted RSA Private key
  2. Open the received zip file
  3. and generate the XML content

Join the chat at https://gitter.im/IDES-Receiver

Supported browsers

Under the hood

License

Check the LICENSE file for the full text

Related software

The following is the software I developed to generate the compressed and signed zip files submitted to IDES

Usage

Dev note 1: Installation

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

Dev note 2: Publishing from master branch to gh-pages branch

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

TODO

  • 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"