-
Notifications
You must be signed in to change notification settings - Fork 108
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
createSign doesn't emit an error when the secret is undefined #62
Comments
I am experiencing the same thing. Please contact me for more information. I thought you addressed this months ago? |
I found the root cause, but I am currently too busy providing a PR with a fix (you know, Christmas & all that stuff). When you provide a Later on, the The problem: This leaves the I am not certain what the correct behaviour should be in this case:
If someone can make a decision what the correct behaviour is I will attempt to fix this and send a PR next year. 😄 (I mean January, of course). Unless someone beats me to it, now that you know how to fix it... Thanks for your input and help! |
Hi, I just hunted down a bug due to this. I think the safest thing to do here is to emit an |
I made pr #65 , but have to work to make it emit an error in order to satisfy the automated build tests. . . |
I feel like the only way to change this is to make a breaking change to not allow a |
I don't think so, I'm trying to create a test for failures during signing
(without verifying), to enable testing of signing with empty strings while
also failing on undefined strings.
Data should be allowed to be empty, especially streams, but the secret
signing using a data stream may need to get its own data stream constructor
( maybe) to prevent these types of breaking changes at worst. I'm hoping
to create a change in sign stream to deal with invalid secrets, while
keeping data streams intact. . .
…On Thu, May 4, 2017, 15:59 Will Munn ***@***.***> wrote:
I feel like the only way to change this is to make a breaking change to
not allow a DataStream to be created without any data. I'm not sure what
implications that has though?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYaerIxzCCkUEaTkQN8YmUXeNI8IoXTks5r2i4CgaJpZM4KxStv>
.
|
The text was updated successfully, but these errors were encountered: