Skip to content

Releases: r4gus/keylib

0.5.2

23 Aug 19:46
Compare
Choose a tag to compare

Full Changelog: 0.5.1...0.5.2

Full Changelog: 0.5.1...0.5.2

0.5.1

22 Jul 20:46
Compare
Choose a tag to compare

UUIDs as IDs for credentials

0.5.0

15 Jul 21:15
Compare
Choose a tag to compare
updated to Zig version 0.13.0

0.4.0: Merge pull request #32 from r4gus/no-alloc

13 Jun 22:43
42cd563
Compare
Choose a tag to compare
  • authenticator: zero dynamic allocations

0.3.5

04 Feb 20:20
Compare
Choose a tag to compare
  • AttestationStatement bug fix

0.3.4

30 Jan 13:26
Compare
Choose a tag to compare

Full Changelog: 0.3.3...0.3.4

0.3.3

20 Jan 18:44
Compare
Choose a tag to compare

dependency updated

0.3.2

12 Jan 23:47
Compare
Choose a tag to compare

bug fix

0.3.1

04 Jan 10:41
Compare
Choose a tag to compare
version number changed

0.3.0

04 Jan 10:38
Compare
Choose a tag to compare

Changes

  • CtapHid.handle doesn't accept a reference to a Auth struct anymore and now either returns nil or a struct { cmd: Cmd, cid: Cid, data: []const u8 } where cmd is the received command, cid is the channel id, and data is the data related to the command (e.g. cbor encoded CTAP2 command). This allows you to act on specific CTAPHID commands. You can call iterator() on the returned struct.
  • Auth.handle now expects two arguments. The first is a pointer to a array of 7609 bytes (the max msg size of CTAPHID); this will probably change in the future. The second argument is the CBOR command. The Auth.handle function will write its response to the struct and then return a slice with the message. The slice references the array.

For an overview on how to use the new API, see README.md.