Open JoseExposito opened 7 years ago
@JoseExposito I am glad that you like our product so much :) Adding support for crypto is already on our roadmap. Will keep you posted.
Thank you for your patience.
Also waiting for crypto :D Thanks!
Same 😃
mee too
@harryi3t @kamalaknn Postman/Newman is an awesome platform, but this too is a blocker for RSA support. Exposing the native node.js crypto module would solve, any ETA?
FYI - this issue looks similar.
Update: In case anyone else can do the same, I worked around this by creating an external microservice to create the needed signed JWT using the RS256 algorithm.
+1,please support RSA encrypt/decrypt/sign/verify。
+1: crypto.createHmac('sha1', pm.apiToken)
When can we expect this to be available?
+1
I agree that it'd be great to integrate NodeJS and it's packages with PM.
In this case you could possibly use the builtin sandbox crypto-js package - https://www.getpostman.com/docs/v6/postman/scripts/postman_sandbox
When this will be available? Need to use cryto so many times
This - or at least something which allows us to create RSA-SHA256 signatures based on draft-cavage-http-signatures-10 has to be added.
We've currently had to develop a minor reverse proxy app in Node, which we use to dispatch all Postman requests through to be able to set the Signature header - only because Postman doesn't support RSA-SHA256 using CryptoJS.
It's a pain.
+1
+1
+1
2 years passed and still no crypto. Sadly it doesn't seem like a high priority feature.
+1
+1
+1
+1
+1
Need crypto in sandbox. All google cloud APIs require OAuth2 tokens signed using RS256. The workaround of using eval(pm.globals.get('jsrsasign-js')) does not work for me. Completely stumped and now looking at other tools to deliver automated testing of my APIs. Clearly this is not a priority and would love to understand the thinking behind supporting crypto-js when RS256 is so commonly used...
@andrew-property-xyz There are a few options to import external libraries, see:
Hi Arlemi - thanks for getting back to me. With a little more perseverance, I managed to resolve the issue I was having and now have the 'jsrsasign-js' library imported and working. Whose idea was it to have both an underscore and a hyphen in our language...! ;) (it wasn't quite as simple as that but it was the first hurdle)
Glad you got it working @andrew-property-xyz ! If you have a code sample/collection to share I'm sure people in this thread would also be grateful. 😄
4 years passed and still no crypto
in Postman... nice...
This is a joke.
what a joke
When we can expect crypto lib made available in postman
21.10.2022 ping
Not having the crypto library easily importable makes it hard to consume soap wss-v1.1 spec because the UsernameTokenProfile requires sha-1 encrypt the authentication headers wsse:Nonce
:
https://www.oasis-open.org/committees/download.php/13392/wss-v1.1-spec-pr-UsernameTokenProfile-01.htm
The SOAP API vendor I'm consuming actually recommended instead use testing framework rather than postman for this reason
any updates reagrding the ability to load crypto module? need it since i am using WebAuthn module which using the crypto module under the hood and i was highly happy if we had it
Related to #2678 but honestly I don't think it will ever be fixed
What did work for me:
var navigator = {}; var window={}
to satisfy some random checks in the codethen you can actually use the API of the library, as described here
https://kjur.github.io/jsrsasign/
I am not sure if the API you want is there though; maybe you can find another library
Need to use "crypto" build-in node in Sandbox Postman to create signature authentication for APIs. Have any suggestions for replacement solutions?
@davidschwab how did you create the external microservice you mentioned here? If you can point us to us some exmaples that would be great. Thank you.
@harryi3t @kamalaknn Postman/Newman is an awesome platform, but this too is a blocker for RSA support. Exposing the native node.js crypto module would solve, any ETA?
FYI - this issue looks similar.
Update: In case anyone else can do the same, I worked around this by creating an external microservice to create the needed signed JWT using the RS256 algorithm.
@khiem20tc Take a look at https://gist.github.com/aroemen/91d4368cf5714f5d32ea5bdb53d221f9. I have been able to use it for Auth0 Private Key JWT machine to machine authentication.
Hi, any news on that feature request ? "crypto-js" is now discontinued, meaning that having access to NodeJS crypto module becomes a must-have for any modern encryption. Thank you
App Details:
Feature Request:
This is not a bug report, just a feature request.
It'd be nice if Node's crypto module could be accessible from the sandbox.
I'm trying to generate a ES256 JWT token before each request in my collection but CryptoJS does not implement the ECDSA algorithm. Also, crypto implements much more functionality that CryptoJS and I'm sure there are many use cases where this feature will be useful.
Thanks a lot for your excellent work on Postman 😄