PeculiarVentures / node-webcrypto-ossl

A WebCrypto Polyfill for Node in TypeScript built on OpenSSL.
MIT License
128 stars 40 forks source link

`CryptoKey[Symbol.toStringTag]` not implemented. #165

Closed septs closed 4 years ago

brettz9 commented 4 years ago

What it turns out our project needs is the following, but added to webcrypto-core's CryptoKey (as this is the CryptoKey returned by node-webcrypto-ossl):

    get [Symbol.toStringTag]() {
        return 'CryptoKey';
    }

Filed https://github.com/PeculiarVentures/webcrypto-core/issues/30 .