fernet / fernet-rb

Delicious HMAC Digest(if) authentication and AES-128-CBC encryption
MIT License
90 stars 22 forks source link

add test cases for malformed/invalid base64 and version byte #30

Closed tmaher closed 10 years ago

tmaher commented 10 years ago
hgmnz commented 10 years ago

Thanks @tmaher. Let me know what you think: https://github.com/fernet/fernet-rb/pull/31

hgmnz commented 10 years ago

Fixed in https://github.com/fernet/fernet-rb/commit/d05eab8b0851773539f9ed63bfafec91161702dc and https://github.com/fernet/fernet-rb/commit/65cfcf86b512e2a4ad46b156bb22355445528b3e