WIP self-sovereign-id, an SSI prototype
vaeringjar b0f1ba853c Cleaned up the TextCrypto component a little bit. | 5 years ago | |
---|---|---|
public | 5 years ago | |
src | 5 years ago | |
.browserslistrc | 5 years ago | |
.eslintrc.js | 5 years ago | |
.gitignore | 5 years ago | |
LICENSE_agpl.txt | 5 years ago | |
README.org | 5 years ago | |
babel.config.js | 5 years ago | |
package-lock.json | 5 years ago | |
package.json | 5 years ago | |
postcss.config.js | 5 years ago |
self-sovereign-id, an SSI frontend prototype. Built with vue1.
-------------------------------------------------------------------------------
Copyright 2019 vaeringjar. Code distributed under the AGPLv3+. Media distributed under the CC BY-SA 4.02.
NOTE: Eventually an ssi-backend project will handle some of this.
# Generate a test private key
openssl genpkey -algorithm RSA -out key.pem -pkeyopt \
rsa_keygen_bits:512 -pkeyopt rsa_keygen_pubexp:3 ;
# Write out the test public key
openssl rsa -in key.pem -pubout > key.pub
# This should print out all the details about the key:
openssl rsa -text -inform pem -in key.pem
# Replace newlines with escaped newlines for the json.
awk -vRS="\n" -vORS="\\\n" '1' key.pem
awk -vRS="\n" -vORS="\\\n" '1' key.pub
# Printing the fingerprint.
# Can also replace sha256 for md5 to get a shorter fingerprint.
openssl rsa -pubout -outform DER -in key.pem | openssl sha256 -c
First install npm. Then:
# Project setup
npm install
# Compiles and hot-reloads for development
npm run serve
# Compiles and minifies for production
npm run build
# Run your tests
npm run test
# Lints and fixes files
npm run lint