gauntface / web-push-go

Apache License 2.0
99 stars 14 forks source link

HKDF function needs to handle bad inputs better #14

Open wibblymat opened 8 years ago

wibblymat commented 8 years ago

If the length requested is more than 32 we just use 32 instead. We should either fully implement HKDF, allowing longer return values anyway, or return an error.