This gist is building eml-parse-js for browser.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| # AWS Signature V4 | |
| - https://docs.aws.amazon.com/ja_jp/general/latest/gr/signature-version-4.html | |
| ## How to use (Deno) | |
| ```shell | |
| export AWS_ACCESS_KEY_ID="(Your AWS Access Key ID)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| export PASS="(Your Password)" | |
| function encrypt() { | |
| openssl enc -e -aes-256-cbc -pass "env:PASS" -iter 100 | base64 | |
| } | |
| function decrypt() { | |
| base64 --decode | openssl enc -d -aes-256-cbc -iter 100 -pass "env:PASS" |
- Install Node.js
- Run
npm install - Copy mbox file on this directory.
-
$ cp /path/to/your/mbox/file ./