Gál Péter c97ac0002c
Fix: type error shown when using generated keypair (#1131)
* fix errors shown when trying to use correct keypairs

* mark only (really) used parameters as required

- a callback is optional, because we could just use the async/await methodology to recieve the keypair
- when signing only `priv` is used
- when verifying only `pub` is used
- both when encrypting/decrypting only `epriv` is used
2021-09-11 10:02:08 -07:00
..