allow storing private keys in the vault

This commit is contained in:
Eugene Pankov
2021-06-19 21:54:27 +02:00
parent e41fe9f4c0
commit 51f62c9719
17 changed files with 567 additions and 44 deletions

View File

@@ -10,7 +10,7 @@ import * as ngBootstrapModule from '@ng-bootstrap/ng-bootstrap'
import * as ngxToastrModule from 'ngx-toastr'
import { Buffer } from 'buffer'
import { base64Slice, latin1Slice, utf8Slice, utf8Write } from './polyfills.buffer'
import { base64Slice, hexSlice, latin1Slice, utf8Slice, utf8Write } from './polyfills.buffer'
window['Buffer'] = Buffer
@@ -19,6 +19,7 @@ Buffer.prototype['latin1Slice'] = latin1Slice
Buffer.prototype['utf8Slice'] = utf8Slice
Buffer.prototype['base64Slice'] = base64Slice
Buffer.prototype['utf8Write'] = utf8Write
Buffer.prototype['hexSlice'] = hexSlice
const mocks = {
fs: {