Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 29 2019 21:25
    rhbvkleef commented #135
  • Jan 18 2019 10:28
    smartdevbr commented #106
  • Jan 17 2019 06:18

    riverrun on master

    Updated README with new informa… (compare)

  • Jan 04 2019 07:46
    riverrun commented #135
  • Jan 04 2019 04:39
    riverrun commented #135
  • Dec 31 2018 21:56
    rhbvkleef commented #130
  • Dec 30 2018 13:22
    rhbvkleef opened #135
  • Dec 30 2018 13:22
    rhbvkleef labeled #135
  • Dec 30 2018 13:22
    rhbvkleef assigned #135
  • Dec 18 2018 11:06
    robinvdvleuten commented #134
  • Dec 18 2018 08:18

    riverrun on master

    Version 4.1.2 (compare)

  • Dec 18 2018 08:18

    riverrun on v4.1.2

    (compare)

  • Dec 18 2018 08:13
    riverrun commented #134
  • Dec 18 2018 08:08
    riverrun commented #134
  • Dec 18 2018 08:08

    riverrun on master

    Make sure hash_key is used when… Merge pull request #134 from ro… (compare)

  • Dec 18 2018 08:08
    riverrun closed #134
  • Dec 17 2018 14:20
    robinvdvleuten opened #134
  • Dec 17 2018 06:40

    riverrun on v5.0

    Updated behaviours (compare)

  • Dec 16 2018 05:57
    riverrun commented #130
  • Dec 16 2018 05:57
    riverrun commented #130
David Whitlock
@riverrun
Come on in to Comeonin!
David Whitlock
@riverrun

Here is a brief outline of the changes in version 4 of Comeonin:

  • Enhancements

    • Added support for Argon2 (as an optional dependency -- argon2_elixir)
    • Added higher-level helper functions to each algorithm's module
      • These functions accept / return maps and should reduce code use when adding password hashes / checking passwords
    • Improved the statistics function in each module -- report
  • Changes

    • Made all the hashing algorithms optional dependencies
    • Moved the configuration to the separate dependency libraries
    • Removed support for one-time passwords
Alexander Wong
@awwong1
In version 4.0.0 of comeonin, is the following config still valid for my test environment?
config :comeonin, :bcrypt_log_rounds, 4
config :comeonin, :pbkdf2_rounds, 1
I notice that my tests have slowed down quite a bit and I'm wondering if this is the cause
David Whitlock
@riverrun
The config has moved to the dependencies, so it should be: config :bcrypt_elixir, :log_rounds, 4
I'll make this clearer in the README
David Whitlock
@riverrun
Some info about version 4 of Comeonin -- changes and the reasons for those changes.
Chintan Mishra
@ChintanMishra_twitter
[INTRO] Elixir newbie here. Working my way through building Mobile(Android) app with complete backend in Elixir and trying to implement as much as I can.
David Whitlock
@riverrun
Welcome -- come on in! -- if you have any questions, just let us know
Chintan Mishra
@ChintanMishra_twitter
will do @riverrun
Mikko Ahlroth
@Nicd
hey, where did Bcrypt.gen_salt go?
oh it moved to the bcrypt_elixir package :)
Mikko Ahlroth
@Nicd
sorry for the trouble :sweat_smile:
Danni Friedland
@BlueHotDog
Hi all, having weird issue with dialyzer..

hey all, i'm having a VERY strange dialyzer issue:
i've the following behaviour (for mox)

defmodule LunchWithMe.Accounts.PasswordHasher do
  @callback check_pass(%User{}, String.t()) :: {:ok, %User{}} | {:error, String.t()}
end

And the following implementation:

defmodule LunchWithMe.Accounts.Argon2PasswordHasher do
  @behaviour LunchWithMe.Accounts.PasswordHasher
  def check_pass(user, password),
    do: Comeonin.Argon2.check_pass(user, password, %{hash_key: :password})
end

And the following usage:

defp check_pass(%User{} = user, plain_text_pass) do
    case @password_hasher.check_pass(user, plain_text_pass) do
      {:ok, user} ->
        {:ok, user}

      {:error, _message} ->
        {:error, "invalid credentials"}
    end
  end

And the following error:

lib/lunch_with_me/accounts/accounts.ex:59:pattern_match
The pattern
{:ok, user}

can never match the type
{:error, <<_::64, _::size(8)>>}
(copy/paste from the elixir channel)
David Whitlock
@riverrun
@BlueHotDog are you still having these issues? - sorry for not replying earlier - I've been really busy the last few months
Nathanial P. Howard
@OptimusPi
oooh I think I'm in the wrong spot. oops. Looking for help using argon2 library on windows; I have a linker error with Visual Studio C++. Anyone know another gitter or resource for argon2 help ? :D
David Whitlock
@riverrun
Here is ok as well :)
You can post a question here, or open an issue at https://github.com/riverrun/argon2_elixir
David Whitlock
@riverrun
Comeonin version 5.0 was released today - upgrade guide here
rhparsad
@rhparsad
Hi all