File: Changelog.md

package info (click to toggle)
haskell-argon2 1.3.0.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 324 kB
  • sloc: ansic: 2,698; haskell: 319; makefile: 7
file content (74 lines) | stat: -rw-r--r-- 2,479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
### 1.3.0.1

- Fix `pkgconfig-depends` decleration for @use-system-library@
  configuration; also add new `pkg-config` flag for falling back
  to non-`pkg-config`-based FFI library linkage.

# 1.3.0.0

- This represents a major rewrite/refactoring of this package.

- Add support for generating version 1.0 hashes.

- Add support for controlling length of generated hash.

- Add support for hybrid `Argon2id` variant.

- Add `NFData` instances.

- Defaults in `defaultHashOptions` changed to the current ones from the upstream `argon2` executable.

- Replace `Argon2Exception` by more direct `Argon2Status` enumeration; report failures purely via `Either` rather than by throwing as exceptions.

- Rename `verify` to `verifyEncoded` and return more informative `Argon2Status` result instead of `Bool`.

- Embedded `phc-winner-argon2` version updated to release `20171227`.

- Mangle names of global symbols from `phc-winner-argon2` to reduce risk of symbol clashes at the C ABI level.

- Add support for `libargon2`'s optimised C routines on x86_64 (can be disabled via new `non-optimised-c` cabal flag).

- Fix potential memory leak.

# 1.2.0

- Updated embedded phc-winner-argon2, so that hashes are generated
  using version 1.3 of the argon2 specification.
  
  Note that that hashes generated using this version are different than
  hashes generated using previous versions, so anything that compares them
  or relies on them being stable may be broken by this update. 
  However, Crypto.Argon2.verify will continue to be able to verify
  hashes produced by previous versions.

- Use CSize for portability instead of Word64, fixing build on 32 bit
  systems. This changed the constructors of Argon2Exception, an API change.

- Bug fix: Crypto.Argon2.hash returned a ByteString truncated at the first
  NULL.

- Added use-system-library build flag.

- Build against `base-4.9`

# 1.1.0

- First stable release. Same API as 1.0.0, but now features documentation and
  expected type class instances for data types.

- QuickCheck properties added:

  1. verify (hashEncoded options password salt) password == True
  2. hash options password salt /= password

- `hash` now uses the underlying "raw" hash routines, rather than the encoded
  routines. This was a bug in 1.0.0. Thanks to @jorgen for this fix.

- `verify` added, in order to correctly verify that a password matches an 
  encoded password.

- `defaultHashOptions` are now more expensive.

# 1.0.0

- Initial release