From 1a86a6b904ec417f518f7b20ca91397a8c6838a1 Mon Sep 17 00:00:00 2001 From: dig Date: Mon, 9 Jul 2018 03:25:24 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ef077d0..d01ce41 100644 --- a/README.md +++ b/README.md @@ -9,23 +9,45 @@ mini web app to use WebCrypto git clone https//git.p2p.legal/dig/kriptopter ``` +## Build +Build a single-page-app, embedding local resseource un 1 html file: +```javascript +node konstrui app.html kriptopter +``` + ## Usage ### Standalone -Open the file `kriptopter` in a browser. +Open the file `kriptopter` in a browser. _(Tested only under Iron/Chromium 63.0.3300.0, please do the test in other browser and submit an issue, with a minimum stack trace, if you want to help )_ ### Bookmarklet -To compile the app to be used as `javascrip:` url in a bookmark, some characters need to be escaped, +To compile the app to be used as `javascript:` url in a bookmark, some characters need to be escaped, you can use `kompilo.js` with nodejs: ```javascript node kompilo ``` -it will generate a `kriptoptlet` file containing the text to copy/paste in a new bookmark. - -bookmarklet online +it will generate a `kriptoptlet` file containing the text to copy/paste in a new bookmark's url part. +Or you can use the online vversion (not secure): +``` +bookmarklet online +``` ## Roadmap +- [ ] Implement WebCrypto + - [x] Simple password + - [ ] Assymetric keypair + - [ ] Choose algorythm + - [~] WebCrypto spec + - [ ] External algorythms + - [ ] Key derivation + - [x] Encrypt / decrypt + - [ ] Signature +- [ ] Different input + - [x] Text + - [x] File read/save + - [ ] File drag n drop + - [x] External page content