Skip to content

Commit

Permalink
Merge pull request #20 from FortKnoxster/wallet
Browse files Browse the repository at this point in the history
Refactored key container to support private wallet
  • Loading branch information
mickeyjoes authored Sep 2, 2021
2 parents 3dced96 + 546c701 commit 3445856
Show file tree
Hide file tree
Showing 10 changed files with 11,079 additions and 162 deletions.
57 changes: 4 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,80 +1,31 @@
![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)
![Join Telegram](https://img.shields.io/badge/Join-Telegram-blue?logo=telegram&link=https://t.me/FortKnoxster)

# FortKnoxster Crypto Web

FortKnoxster Crypto Web is an open source, cross-browser cryptographic library implementing the Web Cryptography API. FortKnoxster Crypto Web supports symmetric keys and asymmetric key pair generation, key derivation, key wrap/unwrap, encryption, decryption, signing and verification.
It is the core end-to-end encryption library used in FortKnoxster Web Apps.

## Documentation
TODO

## Getting Started

For development the recommended way is to link this package from where you are using it.

In importing project run below commands:


```
(cd ../fkx-crypto-web; npm link)
npm link fkx-crypto-web
or
(cd ../fkx-crypto-web; npm link) && npm link fkx-crypto-web
(cd ../fkx-crypto-web; npm link) && npm link fkx-crypto-web
```

## Development
TODO


## Testing
[Debug](https://github.com/avajs/ava/blob/main/docs/recipes/debugging-with-chrome-devtools.md)

[Debug](https://github.com/avajs/ava/blob/main/docs/recipes/debugging-with-chrome-devtools.md)

### Troubleshooting
If error similar to this:
```
mickey@minux-x1:~/Dev/fkx-web-app$ (cd ../fkx-crypto-web; npm link) && npm link fkx-crypto-web
npm ERR! path /home/mickey/Dev/fkx-crypto-web
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '/home/mickey/Dev/fkx-crypto-web' -> '/usr/lib/node_modules/fkx-crypto-web'
npm ERR! { Error: EACCES: permission denied, symlink '/home/mickey/Dev/fkx-crypto-web' -> '/usr/lib/node_modules/fkx-crypto-web'
npm ERR! stack: 'Error: EACCES: permission denied, symlink \'/home/mickey/Dev/fkx-crypto-web\' -> \'/usr/lib/node_modules/fkx-crypto-web\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '/home/mickey/Dev/fkx-crypto-web',
npm ERR! dest: '/usr/lib/node_modules/fkx-crypto-web' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mickey/.npm/_logs/2018-09-28T11_48_04_023Z-debug.log
mickey@minux-x1:~/Dev/fkx-web-app$
npm test
```

Then try below steps to remove any global installs (with -g):

Step 1)
From https://github.com/creationix/nvm
Run: wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
Open new terminal and verify installation with:
command -v nvm

Step 2)
nvm install stable

For linux use instead of above link commands:

(cd ../fkx-crypto-web; npm link) && npm link fkx-crypto-web

## License

[APACHE](LICENSE)

Loading

0 comments on commit 3445856

Please sign in to comment.