You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
devingfx fa30840b0d Firefox compat 3 years ago
README.md Firefox compat 3 years ago
app.html Firefox compat 3 years ago
app.js Update file load and save + parent selection get and set + debug bookmarklet compiler + frame view image (only) 3 years ago
kompilo.js Update file load and save + parent selection get and set + debug bookmarklet compiler + frame view image (only) 3 years ago
konstrui.js CSS konstrui + tab clean 3 years ago
lang.js Bug correction navigator.language unconsistency 3 years ago
layout.css CSS layout 3 years ago
provo.html Split and rekonstrui 3 years ago
ui.js Bug correction Data.type undefined between 2 attributeChangeCallback 3 years ago

README.md

Kriptopter

mini web app to use WebCrypto

Install

git clone https://git.p2p.legal/dig/kriptopter

Build

Build a single-page-app, embedding local ressources into 1 html file:

node konstrui app.html kriptopter

Usage

Standalone

Open the file kriptopter in a browser.
(Tested only under Iron/Chromium 63.0.3300.0 and Firefox 60.0.2.6730, please do the test in other browser and submit an issue, with a minimum stack trace, if you want to help )

Note on Firefox: you have to activate web components disabled by default in about:config, you need to set dom.webcomponents.customelements.enabled and dom.webcomponents.shadowdom.enabled to true for the app to work.

Bookmarklet

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:

node kompilo

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 version (not secure):

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)  ))

Roadmap

  • Implement WebCrypto
    • Simple password (1.0.0)
    • Assymetric keypair
    • Choose algorythm
      • [~] WebCrypto spec (1.5.0)
      • External algorythms
    • Key derivation
    • Encrypt / decrypt (1.0.0)
    • Signature
  • Different input
    • Text (1.0.0)
    • File read/save (1.5.0)
    • File drag n drop
    • External page content (1.5.0)
  • App format
    • Single page webapp (1.0.0)
    • Bookmarklet (1.2.0)
    • Browser extension + local electron app