trussed-auth 0.4.0

Authentication extension for Trussed
Documentation
<!--
Copyright (C) Nitrokey GmbH
SPDX-License-Identifier: CC0-1.0
-->

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased][]

[Unreleased]: https://github.com/trussed-dev/trussed-auth/compare/v0.4.0...HEAD

-

## [0.4.0][] - 2025-01-22

[0.4.0]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.4.0

### Breaking Changes

- Extract `AuthBackend` into `trussed-auth-backend` crate
- Use `trussed-core` and remove default features for `trussed`

## [0.3.0][] - 2024-03-22

[0.3.0]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.3.0

### Breaking Changes

- Add `delete_app_keys` and `delete_auth_keys` syscalls. ([#33][])

  - `delete_all_pins` now doesn't affect application keys
  - `reset_app_keys`: delete all application keys. Getting them again after calling this will not yield the same key
  - `reset_auth_data` combines `delete_all_pins` and `delete_app_keys`

  Applications (trussed-secrets) relying on the old `delete_all_pins` behaviour will need to be fixed.
- Update Trussed dependency ([#33][], [#35][], [#37][])

### Added

- Make more items public ([#36][])

[#33]: https://github.com/trussed-dev/trussed-auth/pull/33
[#35]: https://github.com/trussed-dev/trussed-auth/pull/35
[#36]: https://github.com/trussed-dev/trussed-auth/pull/36
[#37]: https://github.com/trussed-dev/trussed-auth/pull/37

## [0.2.2][] - 2023-04-26

- Use `CoreContext::new` to fix compilation with recent Trussed changes.
- Provide a derived application key for encryption without a PIN ([#20][])

[#20]: https://github.com/trussed-dev/trussed-auth/issues/20
[0.2.2]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.2.2

## [0.2.1][] - 2023-04-05

- Fix salt path location ([#25][])

[#25]: https://github.com/trussed-dev/trussed-auth/pull/25
[0.2.1]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.2.1

## [0.2.0][] (yanked) - 2023-04-05

- Fix data location ([#23][])
- Add pin counter reset mechanism ([#17][])

[#23]: https://github.com/trussed-dev/trussed-auth/pull/23
[#17]: https://github.com/trussed-dev/trussed-auth/pull/17
[0.2.0]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.2.0

## [0.1.1][] - 2023-03-06

- Add support for "missing" hw key ([#16][])

[#16]: https://github.com/trussed-dev/trussed-auth/pull/16
[0.1.1]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.1.1

## [0.1.0][] - 2023-03-03

Initial release with PIN handling and key derivation from PINs.

[0.1.0]: https://github.com/trussed-dev/trussed-auth/releases/tag/v0.1.0