Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Engines/KeyStores through @token-io/tpp #275

Open
bkniffler opened this issue Nov 15, 2019 · 0 comments
Open

Export Engines/KeyStores through @token-io/tpp #275

bkniffler opened this issue Nov 15, 2019 · 0 comments

Comments

@bkniffler
Copy link

I'd like to implement a custom KeyStore / CryptoEngine like:

export class CryptoEngine extends KeyStoreCryptoEngine {
  constructor(memberId: string) {
    super(memberId, myCustomkeyStore);
  }
}

But KeyStoreCryptoEngine is not exported by @token-io/tpp neither is any other except for the filesystem one (inside of TokenClient). I know it is exported from @token-io/core but since it uses esmodules and flow, I can't use it from my nodejs without transpiling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant