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

[Feature] More Crypto Libraries #2678

Open
cadaniel opened this issue Feb 6, 2017 · 15 comments
Open

[Feature] More Crypto Libraries #2678

cadaniel opened this issue Feb 6, 2017 · 15 comments
Assignees
Labels
encryption feature Initiative All feature requests that will be taken up as a new initiative product/runtime sandbox

Comments

@cadaniel
Copy link

cadaniel commented Feb 6, 2017

the API I'm working with has heavy use of RSA-SHA512 signatures, as well as working with x509 certificates. Without the ability to load a library using an HTTP request, and cryptoJS not supporting asymmetric encryption, postman is not maintainable for me.

Having a way to add a library or an expansion of the current sandbox scripts would allow more usages.

@dvishniakov
Copy link

+1 for asymmetric encryption and signatures (OAuth 1.0 and JWS/JWE)

@mstaalesen
Copy link

This is so needed. cryptojs has not been updated the last 4 years either.

@glennkidd
Copy link

Support for the jsbn library or something similar would be dreamy.

Or the ability to import our own libraries so we could do this ourselves...

@kingwrcy
Copy link

kingwrcy commented Apr 8, 2018

+1,please support RSA encrypt/decrypt/sign/verify。

@brugr9
Copy link

brugr9 commented Apr 12, 2018

+1: crypto.createHmac('sha1', pm.apiToken)

@mparaz
Copy link

mparaz commented Jun 22, 2018

Is it possible to support the window.crypto available in Chrome? https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto

I need to make HMAC-SHA-512 signatures that are compatible with Python, similar to: https://stackoverflow.com/questions/48430211/python-hmac-to-cryptojs

I see that CryptoJS does not make compatible signatures, but SubtleCrypto does.

@garreth-sutton
Copy link

This is sorely needed and pretty much a deal-breaker for customers who are using cryptocurrency APIs, Spent a couple of days trying to produce pre-request scripts that can generate a hashed and signed order for one of our new products and have now given up because of the restrictions on importing libraries. 😡

I really want to use Postman to provide potential API users with fully functional API specs but if i can't generate the payloads correctly then this is impossible. Without access to the libraries i need i am left with little choice but to revert back to using Github examples. 😒

Some Cryptocurrency libraries that I could really benefit from having access to:
web3
eth-util
elliptic
0x
ethereumjs-utils

@artmac
Copy link

artmac commented Jun 21, 2020

Could this feature request be prioritised to higher level?

Currently exposed crypto-js is very limited. There are no AES GCM, RSA encryption methods which are commonly used in enterprise.
Exposing Web/API/SubtleCrypto or Node/crypto library would solve many use cases

@arlemi
Copy link
Collaborator

arlemi commented Jun 22, 2020

@artmac Have you tried looking at this (from one of our Solutions Engineer) in the meantime? https://github.com/matt-ball/postman-external-require

@Edward-Wang-Foris
Copy link

Edward-Wang-Foris commented Jul 17, 2020

I have tried to import the third part javascript lib to handle the AES-GCM, but actually, there aren't a suitable lib, because of postman don't support the object like 'window' and so on.

@kool79
Copy link

kool79 commented Feb 19, 2021

+1 for asymmetric encryption, for JWE support

@giridharvc7 giridharvc7 added the Initiative All feature requests that will be taken up as a new initiative label Apr 19, 2021
@smrnv
Copy link

smrnv commented Jul 14, 2021

+1 Definitely need for SubtleCrypto support for digital signatures

@wgcisotto
Copy link

+1 for asymmetric encryption, for JWE support

@antunmod-ec
Copy link

Our project requires SHA3 512 encryption and the imported CryptoJS implementation of the algorithm is invalid. There is a PR in that project which fixes this, but it seems it will take a while or not be done at all.

The built-in node:crypto module provides the correct implementation so I would appreciate it if it would be accessible through pre-request script.

We were planning on using this for creating interactive API docs, but without this encryption we cannot proceed with your software. I hope you fix this.

@PeterMacko
Copy link

PeterMacko commented Nov 9, 2023

+1 for JWE support. iI try to use jose library but it cant work in postman because there is no TextEncoder class in it :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encryption feature Initiative All feature requests that will be taken up as a new initiative product/runtime sandbox
Projects
None yet
Development

No branches or pull requests