mountainraptor / bits-key-manager Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Device.pem is used for security certificates. Deleting this key can make the system unusable.
You can upload keys, now download keys
When creating a key using generate or upload the key appears but is a zero file size.
This is caused by create forcing a copy=true in bits/lib/key/key-manager.js
create({filepath=null}={}) {
return this.addKeyFromFilepath(filepath, {copy: true});
}
It could be fixed by updating either the create to allow specification of copy or not, or adding a check to addKeyFromFilepath().
if (copy) {
// If copy=true and the file is already in the keys directory it causes problems
let copyClobberFree = path.relative(this._keysDir + '/' + path.basename(filepath), filepath);
if (copy && copyClobberFree) {
const filename = path.basename(filepath);
const dst = path.resolve(this._keysDir, filename);
return Promise.resolve()
In the meantime it could probably be fixed by calling addKeyFromFilepath directly.
Create new public/private key pairs
Probably should not just go around deleting keys without giving the users a chance to back out.
Most errors are in browser console, send to notification center.
*The hover doesn't work for mobile until you tap.
*The download stays as pending on Android (Google Pixel Marshmallow)
Showing the file hash is much more unreliable than using a key fingerprint.
Change icon color to indicate public and private. Also add in title something like (public) or (private).
Allow derivation of public key from private key.
Allow download of public key from private key.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.