Hey Andrey,
I have just begun looking at buddy.core, by following the documentation
here:
https://funcool.github.io/buddy-core/latest/
It seems there is an error here (or there is something I did not get ??):
(-> (hmac/verify "foo bar" "61849448bdbb67b..." "mysecretkey" :sha256)
(codecs/bytes->hex));; => true
Correct example in unit tests shows that verify works with a byte array and
returns a boolean.
I am using https://github.com/funcool/buddy-core (0.6.0).
Let me know if I can help.
In the meantime, keep up the good work.
Cheers,
__
Stéphane Tavera
On Sunday, July 5, 2015 at 9:30:23 AM UTC+2, Andrey Antukh wrote:
>
> Hi!
>
> I am happy to announce a new release of buddy, a security library for
> clojure.
>
> Since the buddy is split in different modules, here relevant changes
> across all modules:
>
> buddy-core:
>
> - Improved padding's namespace api (has a little breaking change: `unpad!`
> function is replaced by `unpad`)
> - Add high level interface for encrypt arbitrary length data using an
> encryption scheme. With initial support for: `:aes128-cbc-hmac-sha256`,
> `:aes192-cbc-hmac-sha384`, `:aes256-cbc-hmac-sha512`, `:aes128-gcm`,
> `:aes192-gcm` and `:aes256-gcm`.
>
> buddy-sign:
>
> - Code cleaning (removed many builtin crypto primitives that are already
> implemented and part of the public api of buddy-core).
> - Fix some hidden bugs related to wrong padding's on the JWE
> implementation (thanks to new crypto primitives on the buddy-core).
> - Dependencies updates.
>
> buddy-auth:
>
> - Dependencies updates.
>
> buddy-hashers:
>
> - More tests.
> - Dependencies updates.
>
> Github:
>
> https://github.com/funcool/buddy-core
> https://github.com/funcool/buddy-sign
> https://github.com/funcool/buddy-auth
> https://github.com/funcool/buddy-hashers
>
> Documentation:
>
> https://funcool.github.io/buddy-core/latest/
> https://funcool.github.io/buddy-sign/latest/
> https://funcool.github.io/buddy-auth/latest/
> https://funcool.github.io/buddy-hashers/latest/
>
> Cheers.
> Andrey
>
> --
> Andrey Antukh - Андрей Антух - <[email protected] <javascript:>>
> http://www.niwi.nz
> https://github.com/niwinz
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.