Mettre à jour 'README.md'
This commit is contained in:
parent
4f7fd380d4
commit
1a86a6b904
32
README.md
32
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.
|
||||
|
||||
<a href="javascript: win=window.open('','','titlebar=no,location=no'); fetch('https'+'://git.p2p.legal/dig/kriptopter/raw/master/kriptopter').then(res=>res.text()).then(app=>win.document.write(app) ))">bookmarklet online</a>
|
||||
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):
|
||||
```
|
||||
<a href="javascript: win=window.open('','','titlebar=no,location=no'); fetch('https://git.p2p.legal/dig/kriptopter/raw/master/kriptopter').then(res=>res.text()).then(app=>win.document.write(app) ))">bookmarklet online</a>
|
||||
```
|
||||
|
||||
## 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
|
||||
|
|
Loading…
Reference in New Issue