Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GnuPG card list stalls while Nitrokey 3 is connected #22

Closed
szszszsz opened this issue Dec 6, 2021 · 1 comment · Fixed by #67
Closed

GnuPG card list stalls while Nitrokey 3 is connected #22

szszszsz opened this issue Dec 6, 2021 · 1 comment · Fixed by #67
Labels
bug Something isn't working
Milestone

Comments

@szszszsz
Copy link
Member

szszszsz commented Dec 6, 2021

GnuPG card list stalls (for 30-60 seconds) while Nitrokey 3 is connected, blocking work with other user's smart cards. Further listing is cached, hence the delay is noticeable only the first time during given user session.

From the user POV, GnuPG operations should not be delayed.

OS: Linux Fedora 33

$ gpg2 --version
gpg (GnuPG) 2.2.25
libgcrypt 1.8.8
@szszszsz szszszsz added the bug Something isn't working label Dec 6, 2021
@robin-nitrokey
Copy link
Member

This is caused by the missing abort handling in usbd-ccid (src/pipe.rs: 1, 2).

robin-nitrokey added a commit that referenced this issue Jul 29, 2022
Previously, we just panicked when receiving an abort request.  This
caused a long delay in scdaemon/gnupg when the NK3 was connected.  With
this patch, we add abort handling to usb-ccid to fix this issue.

The implementation is based on Section 5.3.1 of the CCID specification
[0].  The device is expected to send two abort messages, one over the
bulk endpoint and one over the control pipe.  We perform the abort once
we have received both messages.  In the time between receiving the first
and the second message, we reject all incoming messages on the bulk
endpoint.

Fixes #22

[0] https://www.usb.org/sites/default/files/DWG_Smart-Card_CCID_Rev110.pdf
@robin-nitrokey robin-nitrokey added this to the v1.2.0 milestone Aug 2, 2022
robin-nitrokey added a commit that referenced this issue Aug 3, 2022
Previously, we just panicked when receiving an abort request.  This
caused a long delay in scdaemon/gnupg when the NK3 was connected.  With
this patch, we add abort handling to usb-ccid to fix this issue.

The implementation is based on Section 5.3.1 of the CCID specification
[0].  The device is expected to send two abort messages, one over the
bulk endpoint and one over the control pipe.  We perform the abort once
we have received both messages.  In the time between receiving the first
and the second message, we reject all incoming messages on the bulk
endpoint.

Fixes #22

[0] https://www.usb.org/sites/default/files/DWG_Smart-Card_CCID_Rev110.pdf
robin-nitrokey added a commit that referenced this issue Aug 22, 2022
Previously, we just panicked when receiving an abort request.  This
caused a long delay in scdaemon/gnupg when the NK3 was connected.  With
this patch, we add abort handling to usb-ccid to fix this issue.

The implementation is based on Section 5.3.1 of the CCID specification
[0].  The device is expected to send two abort messages, one over the
bulk endpoint and one over the control pipe.  We perform the abort once
we have received both messages.  In the time between receiving the first
and the second message, we reject all incoming messages on the bulk
endpoint.

Fixes #22

[0] https://www.usb.org/sites/default/files/DWG_Smart-Card_CCID_Rev110.pdf
szszszsz added a commit that referenced this issue Oct 17, 2022
Squashed commit of the following:

commit 01757c8
Merge: fcf0bf0 72f81b6
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Mon Oct 17 11:27:11 2022 +0200

    Merge pull request #92 from Nitrokey/lpc55-hardware-checks

    lpc55: Add external flash check

commit 72f81b6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Oct 7 10:52:48 2022 +0200

    lpc55: Add external flash check

    This patch adds a check that verifies that the external flash storage
    can be accessed and formatted with a littlefs2 filesystem.

commit fcf0bf0
Merge: a82d155 f8a0037
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Oct 5 11:45:51 2022 +0200

    Merge pull request #91 from Nitrokey/rel-1.2.2

    Release v1.2.2

commit f8a0037
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Oct 5 11:43:33 2022 +0200

    Release v1.2.2

commit a82d155
Merge: b2c656d f0509c9
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Oct 5 11:41:26 2022 +0200

    Merge pull request #90 from Nitrokey/lpc55-hardware-checks

    lpc55: Add SE050 hardware check

commit f0509c9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Oct 4 19:18:07 2022 +0200

    lpc55: Add SE050 hardware check

    This patch adds a basic sanity check for the SE050 chip if the
    provisioner app is enabled.

commit b2c656d
Merge: 7f1f5cc 003bfc7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Oct 4 18:11:57 2022 +0200

    Merge pull request #89 from Nitrokey/nrf-locked-info

    Enable locked-state (APPROTECT) read-out for nRF52

commit 003bfc7
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Oct 4 17:40:49 2022 +0200

    add proper 'Reboot::is_locked' output for embedded/nrf52

commit 8ea6d91
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Oct 4 17:40:19 2022 +0200

    update embedded Cargo.lock

commit 7f1f5cc
Merge: bd92107 152aaab
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Sat Sep 24 20:31:21 2022 +0200

    Merge pull request #88 from Nitrokey/rel-1.2.1

    Release v1.2.1

commit 152aaab
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sat Sep 24 20:27:26 2022 +0200

    Release v1.2.1

commit bd92107
Merge: 0daaa97 07d7fab
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Sat Sep 24 20:00:02 2022 +0200

    Merge pull request #87 from Nitrokey/fido-auth-version

    fix incorrect version for fido-authenticator

commit 07d7fab
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sat Sep 24 19:57:58 2022 +0200

    fix incorrect version for fido-authenticator

commit 0daaa97
Merge: 82e5a86 5bad731
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 30 19:53:50 2022 +0200

    Merge pull request #84 from Nitrokey/release-v1.2.0

    Release v1.2.0

commit 5bad731
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 30 19:36:28 2022 +0200

    Release v1.2.0

    This release contains various bugfixes and stability improvements.

commit 82e5a86
Merge: 53d28f1 6075fe9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 18:05:25 2022 +0200

    Merge pull request #83 from Nitrokey/update-deps

    Update dependencies

commit 6075fe9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 15:08:00 2022 +0200

    Update dependencies

    This patch updates all dependencies, most notably:
    - We can now use upstream fido-authenticator release v0.1.1 instead of
      our fork.
    - fido-authenticator fixes U2F over NFC.
    - apdu-dispatch and iso7816 improve APDU handling.
    - interchange fixes an unsoundness bug.

commit 53d28f1
Merge: 7adae6c 9afc767
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 17:37:45 2022 +0200

    Merge pull request #67 from Nitrokey/usbd-ccid-abort

    usb-ccid: Implement abort handling

commit 7adae6c
Merge: 8884a6a 9074b94
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 17:33:44 2022 +0200

    Merge pull request #78 from Nitrokey/lpc55-ci

    Update LPC55 CI builds

commit 9afc767
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 19:40:50 2022 +0200

    usb-ccid: Implement abort handling

    Previously, we just panicked when receiving an abort request.  This
    caused a long delay in scdaemon/gnupg when the NK3 was connected.  With
    this patch, we add abort handling to usb-ccid to fix this issue.

    The implementation is based on Section 5.3.1 of the CCID specification
    [0].  The device is expected to send two abort messages, one over the
    bulk endpoint and one over the control pipe.  We perform the abort once
    we have received both messages.  In the time between receiving the first
    and the second message, we reject all incoming messages on the bulk
    endpoint.

    Fixes #22

    [0] https://www.usb.org/sites/default/files/DWG_Smart-Card_CCID_Rev110.pdf

commit 9074b94
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:50:20 2022 +0200

    Remove artifacts prefix from sha256sum file

commit ad43d86
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:48:47 2022 +0200

    Add version to CI artifact names

    This patch renames the LPC55 NK3xN build artifacts to include the
    firmware version they are built from.

commit 5b9ef7c
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:44:58 2022 +0200

    Remove LPC55 NK3AM binaries from CI

    As we don’t have a LPC55 NK3AM target at the moment, we don’t need the
    binaries in the CI and in the releases.

commit 8884a6a
Merge: ffd3524 42c757d
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 16 16:11:31 2022 +0200

    Merge pull request #82 from Nitrokey/docs-forks

    docs/maintenance: Add forking guidelines

commit 42c757d
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 11 18:18:01 2022 +0200

    docs/maintenance: Add forking guidelines

    This patch adds the guidelines for forks that we discussed on Tuesday.

commit ffd3524
Merge: 5d4e679 da4bdb6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 10 14:30:10 2022 +0200

    Merge pull request #81 from Nitrokey/remove-piv-authenticator

    Remove piv-authenticator from runners

commit da4bdb6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 10 14:23:04 2022 +0200

    Remove piv-authenticator from runners

    This patch removes the piv-authenticator app from the lpc55 and embedded
    runners.  We are not using it at the moment, and it pulls in a Git
    version of trussed, leading to unnecessary dependency duplications.

    Fixes: #80

commit 5d4e679
Merge: 8713ccc 29398c7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:20:21 2022 +0200

    Merge pull request #76 from Nitrokey/fido-error-handling

    fido-authenticator: Update to 4022d6c

commit 8713ccc
Merge: 8b032a3 490a322
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:20:04 2022 +0200

    Merge pull request #74 from Nitrokey/lpc55-warnings

    Fix build warnings for lpc55 runner

commit 8b032a3
Merge: 54080e5 d27b790
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:19:52 2022 +0200

    Merge pull request #73 from Nitrokey/generate-commands-bd

    Generate commands.bd automatically

commit 54080e5
Merge: df132a1 9f1b23b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:19:39 2022 +0200

    Merge pull request #72 from Nitrokey/docs-nrf52

    Update documentation after nrf52 merge

commit 29398c7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 15:50:23 2022 +0200

    fido-authenticator: Update to 4022d6c

    This patch updates fido-authenticator to 4022d6c from our fork.  This
    version returns an error instead of panicking if the credential ID is
    too long.

    Fixes: #49

commit df132a1
Merge: d704762 99bb7a7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 16:11:13 2022 +0200

    Merge pull request #68 from Nitrokey/rust-1.62.1

    Update toolchain to Rust 1.62.1

commit d704762
Merge: d9cec57 99d9cc0
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 16:10:55 2022 +0200

    Merge pull request #66 from Nitrokey/usbd-ccid-lifetime

    usbd-ccid: Support non-static lifetimes

commit 9f1b23b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 16:03:16 2022 +0200

    Update documentation after nrf52 merge

    This patch updates the documentation because we now support two chips,
    LPC55 and NRF52.

commit d9cec57
Merge: 09deb57 f01fa20
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 15:54:27 2022 +0200

    Merge pull request #77 from Nitrokey/docs-identifiers

    Add document with used identifiers

commit f01fa20
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:54:53 2022 +0200

    docs/identifiers: Add development FIDO2 cert

    This patch adds the hash of the FIDO2 attestation certificate used on
    development devices.

commit 1875a9b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:28:08 2022 +0200

    Add document with used identifiers

    This patch adds a document that lists all identifiers used by the
    firmware, currently:
    - USB vendor and product ID
    - FIDO2 AAGUID
    - FIDO2 attestation certificate hashes

commit 490a322
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 22:20:56 2022 +0200

    Fix build warnings for lpc55 runner

    The lpc55 runner had build warnings due to unused imports if the
    provisioner features is not active.  This patch refactors the
    provisioner initialization to fix these warnings.

commit d27b790
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 21:56:50 2022 +0200

    Generate commands.bd automatically

    Previously, we manually updated the commands.bd for the lpc55 firmware
    signature process.  With this patch, we automate this process:  We parse
    the Cargo manifest to determine the current firmware version and the
    build profile to determine the filesystem boundary.  We then generate
    the commands.bd file based on this data.

commit 09deb57
Merge: 5c1f730 c1d2ee9
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Tue Aug 2 16:33:03 2022 +0200

    Merge pull request #69 from Nitrokey/release-v1.1.0

    Release v1.1.0

commit c1d2ee9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 16:24:23 2022 +0200

    Release v1.1.0

    This release adds support for the NRF52 MCU, changes the LED color to
    red on panics and allows the user to skip the additional user presence
    check for the first FIDO2 operation within two seconds after boot.

commit 99bb7a7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 1 09:48:39 2022 +0200

    Bump Rust toolchain to 1.62.1

    This patch updates the Rust toolchain to the latest stable, 1.62.1.
    It also moves the toolchain file to the root directory so that it
    applies for all components and runners.

commit 49b125c
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 1 09:41:40 2022 +0200

    runners/lpc55: Remove Rust version from Cargo.toml

    We always use the latest stable Rust version (unless there are
    compatibility issues), so keeping track of the MSRV in the Cargo
    manifest does not make sense for us.

commit 99d9cc0
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 16:10:37 2022 +0200

    usbd-ccid: Support non-static lifetimes

    Similar to the usb-ctaphid implementation, we don’t need to require a
    static lifetime for usb-ccid.  This makes it easier to use it e. g. in
    a usbip runner.

commit 5c1f730
Merge: 63ac04a f7f36cf
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Jul 27 02:55:13 2022 +0200

    Merge pull request #55 from Nitrokey/embedded-pr

    *The One* - nRF52 / embedded runner

commit f7f36cf
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 02:24:02 2022 +0200

    update changelog for v1.1.0-rc.1

commit e500e09
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:51:09 2022 +0200

    ci: rename jobs; build all nk3am-nrf52 variants

commit de9864c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:21:38 2022 +0200

    embedded: clients-(x-1) for all features: ndef-app is not a client

commit 852c777
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:13:11 2022 +0200

    adapt lpc55 runner for new provisioner app

commit dc61232
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:49:43 2022 +0200

    cleanup build for embedded/nrf release

commit 97035bf
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:29:57 2022 +0200

    update changelog and (embedded) version to 1.1.0

commit e87cad6
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:22:25 2022 +0200

    nrf-bootloader: remove bashism from Makefile

commit a9a374e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:20:59 2022 +0200

    embedded: apply #60

commit db86b8f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:04:32 2022 +0200

    embedded: just allow building, any further dev-tools shall go into utils/

commit 2ae0cd3
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Jun 7 02:34:27 2022 +0200

    Support different blocksizes in LFS generator.

commit 6ee0abe
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 21 12:56:44 2022 +0200

    always set '--app-boot-validation' during package signing

commit 9b72619
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 20 15:20:47 2022 +0200

    consistently set LOOKAHEADWORDS_SIZE to U2 to match lfs requirements

commit 1fff915
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 18 12:11:11 2022 +0200

    embedded: change edition to 2021

commit f0f4034
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 15 00:24:39 2022 +0200

    nrf: adapt rgb instensities to proper mixing ratios

commit fe6b78c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:49:23 2022 +0200

    change blink color to white

commit 8fb0772
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:26:21 2022 +0200

    provisioner-app: remove unneeded dependencies

commit e2ad894
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:24:02 2022 +0200

    fix clippy warnings

commit f66885e
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Jul 14 13:12:45 2022 +0200

    cargo fmt run

commit 7b3aa1d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Jul 14 10:45:28 2022 +0200

    Repair compilation of proto1 board.

commit c9edb17
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 09:52:47 2022 +0200

    some build cleanups

commit 579fb43
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 11 15:01:33 2022 +0200

    cleaner FTL (block translation) implementation

commit d039fa9
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 06:32:29 2022 +0200

    introduce & build release fw/feature

commit 4dba170
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 05:53:46 2022 +0200

    nrf-ifs: introduce basic 'err-handling' for the FTL

commit 4a30318
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 03:48:01 2022 +0200

    Remove board-specifics from provisioner-app

    * UUID is now passed during app init
    * `Reboot::reboot_to_firmware_update` is also passed down during init

commit da0a06d
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 23:16:43 2022 +0200

    nrf-bl: add sha256sums & checks for 3rd party tools

commit fc54426
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 20:50:39 2022 +0200

    add nRF52 build, flash, provision, full-test-deploy helper

commit 912601b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 03:27:38 2022 +0200

    improve profiles-based build & rust-analyzer friendliness

commit d93dd20
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 03:08:17 2022 +0200

    add custom panic handlers for all builds (adapt #59)

commit 1362b72
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 6 00:51:23 2022 +0200

    update ci artifact names

commit 2b2a574
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 6 00:00:25 2022 +0200

    Cargo.toml cleanups

commit ab246e5
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 5 23:38:57 2022 +0200

    integrate #51 & #53 into embedded runner

commit 574105b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 4 17:53:23 2022 +0200

    move bootloader, fido-test-key gen to utils/

commit bf448bd
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 6 14:48:29 2022 +0200

    Move lpc55-hal and littlefs2 to own repositories

commit 510eddb
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Jul 3 12:10:11 2022 +0200

    switch Cargo.toml trussed-source back to upstream

commit c97e57a
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Jul 3 11:54:03 2022 +0200

    disable NRF_BL_DFU_INACTIVITY_TIMEOUT_MS

commit db9633c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jun 30 12:00:51 2022 +0200

    enable CI

commit f586a23
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 16:17:40 2022 +0200

    add se050 minimal communication test on init

commit 085ed25
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 15:25:20 2022 +0200

    add nrf-deploy-build.sh

commit 373133c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 14:37:19 2022 +0200

    update Makefile for beta-release

commit ce77292
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 11:22:01 2022 +0200

    adapt to trussed-storage interface

commit 8e5dfe0
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 15:32:21 2022 +0200

    improve platform-independance in Makefile

commit 9ac1b24
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 15:18:20 2022 +0200

    update BL PID + name; fix Makefile dependency for config

commit 493a67b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 13:02:42 2022 +0200

    update trussed dependency

commit 805392b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 16:47:15 2022 +0200

    nrf: remove dead code

commit 35dac8d
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 00:22:16 2022 +0200

    nrf: various cleanups

    * remove unused imports
    * remove unused (led)-members
    * fix unused variables
    * fix various minor warnings

commit 8459399
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 00:01:43 2022 +0200

    embedded: build.rs cleanups

commit 18c2bb4
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:50:23 2022 +0200

    nrf: introduce flash (erase) FTL with block size 256

commit 291ed0e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:44:23 2022 +0200

    embedded: format IFS, if mount fails

commit 7ef757c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:42:18 2022 +0200

    nrf: cleanup board_nk3am.rs & app-nrf.rs

commit fd4d351
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:35:45 2022 +0200

    embedded: cleanup Makefile/Cargo.toml

commit 654a846
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:22:45 2022 +0200

    nrf: improve touch-button; adapt led from upstream

commit 8216384
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 18:10:46 2022 +0200

    separate bootloader config into nk and default

commit 8d136fb
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 18:08:57 2022 +0200

    properly create ui based on provisioner-feature

commit 9edb39f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu May 12 14:18:36 2022 +0200

    provisioner: remove unused FILESYSTEM_BOUNDARY

commit 10d1e10
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 9 18:43:13 2022 +0200

    nrf: always consent w/o configured buttons

commit 35d193e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun May 8 17:29:47 2022 +0200

    activate UI refresh

commit f804208
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed May 4 17:41:47 2022 +0200

    nrf: bootloader nk3 config; sign-bootloader.sh added

commit 1774e0f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 3 14:24:18 2022 +0200

    nrf: uptime revamp with monotonic timer

commit 7c2102f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 3 00:29:48 2022 +0200

    embedded: ensure profile switching re-writes compile-time files

commit 5682eae
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Apr 29 16:11:48 2022 +0200

    nrf: regular/bootloader reboot

commit b345b3f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 20 07:23:30 2022 +0200

    Button & UI improvements

    * nrf52: pass delay_timer down into TrustedUI
    * touch (button) press is now a 2-step timer-supported approach
    * some safeguarding against other unwanted button-presses
    * design bootloader interactictions (reboot-styles)

commit bad4f14
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 20 05:54:14 2022 +0200

    Bootloader-related buildchain, configuration, uploading

commit 0786736
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 23:11:36 2022 +0200

    Initial boot-to-bootloader & upload firmware poc

commit 648f620
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 23:10:09 2022 +0200

    Improved bootloader make intergration

commit f3b2295
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 05:47:39 2022 +0200

    pull feature variants from lpc55; Makefile QoL

commit d5fbd2f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 04:26:27 2022 +0200

    CTAP fixes for user-presence w/o timing-out

commit 07f1e87
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Apr 18 22:55:04 2022 +0200

    Buildsystem now back to full support

commit f34d21b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Apr 17 21:23:22 2022 +0200

    introduce 'build_profiles'

    * adapt build.rs
    * re-write Makefile
    * apply newly acquired flexibility

commit 9001c42
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Apr 14 14:41:57 2022 +0200

    initial commit: nrf-bootloader

commit e45ab9b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 6 18:19:12 2022 +0200

    Build improvements & configurabilities added

    * unify identifiers: codebase, _cfg.toml
    * no more usb-serial
    * update memory.x related constants
    * cleanup/improve flash size calc

commit fffb414
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 5 18:57:00 2022 +0200

    improve memory parametrization

commit b797a40
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sun Apr 3 23:12:18 2022 +0200

    Adjust task priorities to match original LPC55 runner.

commit ce2eda5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Mar 30 14:27:45 2022 +0200

    Properly handle USB+NFC polling and keepalives.

commit c8c4713
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 15:35:32 2022 +0200

    migrate to cortex-m-rtic 1.x; drop of lpc55-rtic

commit 27df6e9
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Apr 4 13:53:33 2022 +0200

    cleanup TrussedUI backends

commit fde1f35
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Mar 30 21:15:54 2022 +0200

    embedded/nrf: generic init/set led methods

commit 0a8fc09
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Mar 30 16:47:24 2022 +0200

    embedded/nrf: pwm-support for rgb-led added

commit 4768db4
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Mar 29 22:14:12 2022 +0200

    Work towards UI generalization, introduce:

    * TrussedUI with button/leds
    * soc::board_common
    * BoardGPIO::rgb_led
    * various board-nk3am cleanups

commit aedacc4
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 11:14:51 2022 +0200

    Compiler warning fixups.

commit 63e9fac
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 00:57:57 2022 +0200

    Ext=QSPI on [nrfdk,nk3am], Ext=RAM on proto1.

commit c75a793
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Mon Mar 28 00:31:21 2022 +0200

    Use new QSPI driver:

    * instead of SPIM3-based spi-memory
    * disable extflash
    * drop spi-memory dependency

commit 6145a1d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sun Mar 27 04:30:40 2022 +0200

    Implement QSPI; fixes to the QSPI test code

commit c2a5f91
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Mar 27 14:41:44 2022 +0200

    add 'flash_origin' to toml configs

commit 21bbd69
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:56:26 2022 +0100

    (WIP) Debugging experiments for NRF extflash.

commit 79dc1ed
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:55:36 2022 +0100

    Fix RTC/USB handling. Rework store init. Use RAM for External.

commit 9010a35
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:52:01 2022 +0100

    set REGOUT0 to 3v3, not 3v0; logging fixes

commit 64fd534
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:51:42 2022 +0100

    Temporarily switch to Trussed fork. Update Cargo.lock.

commit 3b1da10
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 15:43:06 2022 +0100

    quick ext-flash related fix

commit 69b842d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 14:45:05 2022 +0100

    Introduce delay timer for extflash setup

commit c125e74
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 14:24:22 2022 +0100

    experiment with RTC-based scheduling

commit b6069d0
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 13:20:30 2022 +0100

    pull initial LittleFS generator from nrf52840.

commit c6f82ad
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:15:37 2022 +0100

    reinstate prototype #1

commit 336aac4
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:11:21 2022 +0100

    more runtime handlers

commit 8eeb47d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:10:48 2022 +0100

    use int. flash fs boundary from build_constants

commit b500108
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 02:33:06 2022 +0100

    Baby steps towards rebuilding the runtime code (idle + irqs).

commit 643ec77
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Mar 25 00:26:48 2022 +0100

    initial NK3AM inclusion into embedded runner

    * renamed nk3mini to nk3am / NK3AM
    * removed obsolete lpc nk3am references
    * include UICR programming (REGOUT, NFCPINS) into Makefile for nrf52
    * fork cfg.toml into nrf52_cfg.toml and lpc55_cfg.toml
    * use soc specific *_cfg.toml inside build.rs
    * include and adapt board_nk3am.rs

commit 5c829f5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Mar 24 14:30:10 2022 +0100

    Add Cargo.lock.

commit c5e6b61
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 19 22:29:34 2022 +0100

    Adjustments after rebasing

    * restructured Fido crate etc.
    * sort out linker script business

commit 9a3ba62
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 19 22:28:35 2022 +0100

    Multi-platform support for the Provisioner app.

commit 305fc9f
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 18 22:41:34 2022 +0100

    Complete LPC init. Unify NFC.

commit 9eadd24
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Mar 16 23:13:44 2022 +0100

    Unify USB & MFC setup: LPC app init reconstruction

commit 41c9764
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 1 14:12:45 2022 +0100

    Revive most of the Makefile tooling

commit d06868a
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 25 15:32:11 2022 +0100

    Push initialization of Provisioner app constructor arg into the lib.

commit fdf0eac
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Feb 23 00:44:41 2022 +0100

    Document, fix issue with 'memory.x' & building

commit f01c580
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Feb 22 20:54:16 2022 +0100

    The big LPC55 revival commit.

    This commit brings in the scaffolding for building LPC55 alongside NRF52.
    The following list is a rough summary of the changes:
      * The conflicting-trait fix for the NRF external flash was actually
        not enough - lpc55_hal provides littlefs2_*_filesystem!() macros
        which also implement the (now modified) Storage trait. Added and
        fixed lpc55-hal as well.
        - new monorepo component (-> components/lpc55_hal)
        - added to Cargo.toml [patch] section
      * Fixed the provisioner-app to only depend on one HAL/PAC depending
        on the chosen SoC.
      * Removed build.target from the embedded runner .cargo/config.
        We are building a single crate for different triplets - which is not
        supported by cargo.
        - Add "--target" parameters to cargo invocations in the Makefile.
        - Guard against invalid SoC/--target combinations in build.rs.
      * Added the LPC55 runner target and its dependencies to Cargo.toml.
      * Remove the hardcoded filesystem boundary from build.rs. With the
        new resolver, cargo now supports different feature flags on build
        dependencies and target dependencies.

    Unrelated (could be factored out):
      * Actually implemented NRF extflash.rs (uses spi_memory::series25).

    Bonus:
    For laughs, check out the block comment in src/soc_lpc55/mod.rs.

commit 0c68a80
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Mon Feb 21 14:53:14 2022 +0100

    Fix flash trait problem the other way round (i.e. in littlefs2).

    Our NRF flash implementation suffers from a subtle Trait API difference
    between littlefs2::driver::Storage and nrf52840_hal::nvmc::Nvmc - one
    has read() with a mutable self, the other expects a non-mutable self.
    I would side with the NRF view here (&mut self), as the object may want
    to modify internal state even though the actual flash contents won't.
    So fix this incompatibility by patching littlefs2 instead.

    This commit brings in littlefs2 0.3.2 as a monorepo component, applies
    the necessary fixes to its Storage trait, and adds a [patch] section
    to the embedded runner so it picks up the local version.

commit 771e2fe
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Feb 19 02:59:02 2022 +0100

    Take app instantiation from LPC55 port.

    * Reshuffle definitions.
    * Rewrite generic<->SoC interface into a trait.

commit 63f3138
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 18 03:33:00 2022 +0100

    More work on rebuilding the NRF init & USB

commit e8278e0
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 18 00:23:56 2022 +0100

    Reinstate Store setup. Fixups and cleanups.

commit 7cffb9a
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 15:01:27 2022 +0100

    Reinstate NRF internal and external flash support.

commit 7004abd
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 13:08:45 2022 +0100

    Unify into a single bin+lib crate. Thanks Robin!

commit dd366d5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 02:41:56 2022 +0100

    Start a clean-slate embedded runner project.

    * The envisioned structure of the new firmware is:

    [app-nrf, app-lpc]
    -> SoC-specific RTIC App crates
    [librunner]
    -> generic library (initialization, glue towards Trussed etc.)
    [librunner::soc_*]
    -> SoC-specific types and defines for generic components

    * Start pulling in fragments of existing NRF runner code.
    * Use #[cfg_attr] instead of #[cfg].

commit 210cea7
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 02:40:43 2022 +0100

    Bump dependency of Provisioner on NRF52840 PAC.

commit 63ac04a
Merge: c9f6f4b f1d397a
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Jul 20 15:20:26 2022 +0200

    Merge pull request #60 from Nitrokey/fido-auto-accept

    fido: Skip user presence check directly after boot

commit f1d397a
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Jul 6 13:46:57 2022 +0200

    fido: Skip user presence check directly after boot

    With this patch, we change the fido-authenticator configuration to skip
    the additional user presence check for the first Get Assertion or
    Authenticate request directly after boot.  In this case, the device
    insertion is interpreted as a user presence indicator.

    Fixes #61
szszszsz added a commit that referenced this issue Oct 19, 2022
Squashed commit of the following:

commit 01757c8
Merge: fcf0bf0 72f81b6
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Mon Oct 17 11:27:11 2022 +0200

    Merge pull request #92 from Nitrokey/lpc55-hardware-checks

    lpc55: Add external flash check

commit 72f81b6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Oct 7 10:52:48 2022 +0200

    lpc55: Add external flash check

    This patch adds a check that verifies that the external flash storage
    can be accessed and formatted with a littlefs2 filesystem.

commit fcf0bf0
Merge: a82d155 f8a0037
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Oct 5 11:45:51 2022 +0200

    Merge pull request #91 from Nitrokey/rel-1.2.2

    Release v1.2.2

commit f8a0037
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Oct 5 11:43:33 2022 +0200

    Release v1.2.2

commit a82d155
Merge: b2c656d f0509c9
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Oct 5 11:41:26 2022 +0200

    Merge pull request #90 from Nitrokey/lpc55-hardware-checks

    lpc55: Add SE050 hardware check

commit f0509c9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Oct 4 19:18:07 2022 +0200

    lpc55: Add SE050 hardware check

    This patch adds a basic sanity check for the SE050 chip if the
    provisioner app is enabled.

commit b2c656d
Merge: 7f1f5cc 003bfc7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Oct 4 18:11:57 2022 +0200

    Merge pull request #89 from Nitrokey/nrf-locked-info

    Enable locked-state (APPROTECT) read-out for nRF52

commit 003bfc7
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Oct 4 17:40:49 2022 +0200

    add proper 'Reboot::is_locked' output for embedded/nrf52

commit 8ea6d91
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Oct 4 17:40:19 2022 +0200

    update embedded Cargo.lock

commit 7f1f5cc
Merge: bd92107 152aaab
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Sat Sep 24 20:31:21 2022 +0200

    Merge pull request #88 from Nitrokey/rel-1.2.1

    Release v1.2.1

commit 152aaab
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sat Sep 24 20:27:26 2022 +0200

    Release v1.2.1

commit bd92107
Merge: 0daaa97 07d7fab
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Sat Sep 24 20:00:02 2022 +0200

    Merge pull request #87 from Nitrokey/fido-auth-version

    fix incorrect version for fido-authenticator

commit 07d7fab
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sat Sep 24 19:57:58 2022 +0200

    fix incorrect version for fido-authenticator

commit 0daaa97
Merge: 82e5a86 5bad731
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 30 19:53:50 2022 +0200

    Merge pull request #84 from Nitrokey/release-v1.2.0

    Release v1.2.0

commit 5bad731
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 30 19:36:28 2022 +0200

    Release v1.2.0

    This release contains various bugfixes and stability improvements.

commit 82e5a86
Merge: 53d28f1 6075fe9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 18:05:25 2022 +0200

    Merge pull request #83 from Nitrokey/update-deps

    Update dependencies

commit 6075fe9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 15:08:00 2022 +0200

    Update dependencies

    This patch updates all dependencies, most notably:
    - We can now use upstream fido-authenticator release v0.1.1 instead of
      our fork.
    - fido-authenticator fixes U2F over NFC.
    - apdu-dispatch and iso7816 improve APDU handling.
    - interchange fixes an unsoundness bug.

commit 53d28f1
Merge: 7adae6c 9afc767
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 17:37:45 2022 +0200

    Merge pull request #67 from Nitrokey/usbd-ccid-abort

    usb-ccid: Implement abort handling

commit 7adae6c
Merge: 8884a6a 9074b94
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 17:33:44 2022 +0200

    Merge pull request #78 from Nitrokey/lpc55-ci

    Update LPC55 CI builds

commit 9afc767
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 19:40:50 2022 +0200

    usb-ccid: Implement abort handling

    Previously, we just panicked when receiving an abort request.  This
    caused a long delay in scdaemon/gnupg when the NK3 was connected.  With
    this patch, we add abort handling to usb-ccid to fix this issue.

    The implementation is based on Section 5.3.1 of the CCID specification
    [0].  The device is expected to send two abort messages, one over the
    bulk endpoint and one over the control pipe.  We perform the abort once
    we have received both messages.  In the time between receiving the first
    and the second message, we reject all incoming messages on the bulk
    endpoint.

    Fixes #22

    [0] https://www.usb.org/sites/default/files/DWG_Smart-Card_CCID_Rev110.pdf

commit 9074b94
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:50:20 2022 +0200

    Remove artifacts prefix from sha256sum file

commit ad43d86
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:48:47 2022 +0200

    Add version to CI artifact names

    This patch renames the LPC55 NK3xN build artifacts to include the
    firmware version they are built from.

commit 5b9ef7c
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:44:58 2022 +0200

    Remove LPC55 NK3AM binaries from CI

    As we don’t have a LPC55 NK3AM target at the moment, we don’t need the
    binaries in the CI and in the releases.

commit 8884a6a
Merge: ffd3524 42c757d
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 16 16:11:31 2022 +0200

    Merge pull request #82 from Nitrokey/docs-forks

    docs/maintenance: Add forking guidelines

commit 42c757d
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 11 18:18:01 2022 +0200

    docs/maintenance: Add forking guidelines

    This patch adds the guidelines for forks that we discussed on Tuesday.

commit ffd3524
Merge: 5d4e679 da4bdb6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 10 14:30:10 2022 +0200

    Merge pull request #81 from Nitrokey/remove-piv-authenticator

    Remove piv-authenticator from runners

commit da4bdb6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 10 14:23:04 2022 +0200

    Remove piv-authenticator from runners

    This patch removes the piv-authenticator app from the lpc55 and embedded
    runners.  We are not using it at the moment, and it pulls in a Git
    version of trussed, leading to unnecessary dependency duplications.

    Fixes: #80

commit 5d4e679
Merge: 8713ccc 29398c7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:20:21 2022 +0200

    Merge pull request #76 from Nitrokey/fido-error-handling

    fido-authenticator: Update to 4022d6c

commit 8713ccc
Merge: 8b032a3 490a322
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:20:04 2022 +0200

    Merge pull request #74 from Nitrokey/lpc55-warnings

    Fix build warnings for lpc55 runner

commit 8b032a3
Merge: 54080e5 d27b790
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:19:52 2022 +0200

    Merge pull request #73 from Nitrokey/generate-commands-bd

    Generate commands.bd automatically

commit 54080e5
Merge: df132a1 9f1b23b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:19:39 2022 +0200

    Merge pull request #72 from Nitrokey/docs-nrf52

    Update documentation after nrf52 merge

commit 29398c7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 15:50:23 2022 +0200

    fido-authenticator: Update to 4022d6c

    This patch updates fido-authenticator to 4022d6c from our fork.  This
    version returns an error instead of panicking if the credential ID is
    too long.

    Fixes: #49

commit df132a1
Merge: d704762 99bb7a7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 16:11:13 2022 +0200

    Merge pull request #68 from Nitrokey/rust-1.62.1

    Update toolchain to Rust 1.62.1

commit d704762
Merge: d9cec57 99d9cc0
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 16:10:55 2022 +0200

    Merge pull request #66 from Nitrokey/usbd-ccid-lifetime

    usbd-ccid: Support non-static lifetimes

commit 9f1b23b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 16:03:16 2022 +0200

    Update documentation after nrf52 merge

    This patch updates the documentation because we now support two chips,
    LPC55 and NRF52.

commit d9cec57
Merge: 09deb57 f01fa20
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 15:54:27 2022 +0200

    Merge pull request #77 from Nitrokey/docs-identifiers

    Add document with used identifiers

commit f01fa20
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:54:53 2022 +0200

    docs/identifiers: Add development FIDO2 cert

    This patch adds the hash of the FIDO2 attestation certificate used on
    development devices.

commit 1875a9b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:28:08 2022 +0200

    Add document with used identifiers

    This patch adds a document that lists all identifiers used by the
    firmware, currently:
    - USB vendor and product ID
    - FIDO2 AAGUID
    - FIDO2 attestation certificate hashes

commit 490a322
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 22:20:56 2022 +0200

    Fix build warnings for lpc55 runner

    The lpc55 runner had build warnings due to unused imports if the
    provisioner features is not active.  This patch refactors the
    provisioner initialization to fix these warnings.

commit d27b790
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 21:56:50 2022 +0200

    Generate commands.bd automatically

    Previously, we manually updated the commands.bd for the lpc55 firmware
    signature process.  With this patch, we automate this process:  We parse
    the Cargo manifest to determine the current firmware version and the
    build profile to determine the filesystem boundary.  We then generate
    the commands.bd file based on this data.

commit 09deb57
Merge: 5c1f730 c1d2ee9
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Tue Aug 2 16:33:03 2022 +0200

    Merge pull request #69 from Nitrokey/release-v1.1.0

    Release v1.1.0

commit c1d2ee9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 16:24:23 2022 +0200

    Release v1.1.0

    This release adds support for the NRF52 MCU, changes the LED color to
    red on panics and allows the user to skip the additional user presence
    check for the first FIDO2 operation within two seconds after boot.

commit 99bb7a7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 1 09:48:39 2022 +0200

    Bump Rust toolchain to 1.62.1

    This patch updates the Rust toolchain to the latest stable, 1.62.1.
    It also moves the toolchain file to the root directory so that it
    applies for all components and runners.

commit 49b125c
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 1 09:41:40 2022 +0200

    runners/lpc55: Remove Rust version from Cargo.toml

    We always use the latest stable Rust version (unless there are
    compatibility issues), so keeping track of the MSRV in the Cargo
    manifest does not make sense for us.

commit 99d9cc0
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 16:10:37 2022 +0200

    usbd-ccid: Support non-static lifetimes

    Similar to the usb-ctaphid implementation, we don’t need to require a
    static lifetime for usb-ccid.  This makes it easier to use it e. g. in
    a usbip runner.

commit 5c1f730
Merge: 63ac04a f7f36cf
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Jul 27 02:55:13 2022 +0200

    Merge pull request #55 from Nitrokey/embedded-pr

    *The One* - nRF52 / embedded runner

commit f7f36cf
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 02:24:02 2022 +0200

    update changelog for v1.1.0-rc.1

commit e500e09
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:51:09 2022 +0200

    ci: rename jobs; build all nk3am-nrf52 variants

commit de9864c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:21:38 2022 +0200

    embedded: clients-(x-1) for all features: ndef-app is not a client

commit 852c777
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:13:11 2022 +0200

    adapt lpc55 runner for new provisioner app

commit dc61232
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:49:43 2022 +0200

    cleanup build for embedded/nrf release

commit 97035bf
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:29:57 2022 +0200

    update changelog and (embedded) version to 1.1.0

commit e87cad6
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:22:25 2022 +0200

    nrf-bootloader: remove bashism from Makefile

commit a9a374e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:20:59 2022 +0200

    embedded: apply #60

commit db86b8f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:04:32 2022 +0200

    embedded: just allow building, any further dev-tools shall go into utils/

commit 2ae0cd3
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Jun 7 02:34:27 2022 +0200

    Support different blocksizes in LFS generator.

commit 6ee0abe
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 21 12:56:44 2022 +0200

    always set '--app-boot-validation' during package signing

commit 9b72619
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 20 15:20:47 2022 +0200

    consistently set LOOKAHEADWORDS_SIZE to U2 to match lfs requirements

commit 1fff915
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 18 12:11:11 2022 +0200

    embedded: change edition to 2021

commit f0f4034
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 15 00:24:39 2022 +0200

    nrf: adapt rgb instensities to proper mixing ratios

commit fe6b78c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:49:23 2022 +0200

    change blink color to white

commit 8fb0772
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:26:21 2022 +0200

    provisioner-app: remove unneeded dependencies

commit e2ad894
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:24:02 2022 +0200

    fix clippy warnings

commit f66885e
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Jul 14 13:12:45 2022 +0200

    cargo fmt run

commit 7b3aa1d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Jul 14 10:45:28 2022 +0200

    Repair compilation of proto1 board.

commit c9edb17
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 09:52:47 2022 +0200

    some build cleanups

commit 579fb43
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 11 15:01:33 2022 +0200

    cleaner FTL (block translation) implementation

commit d039fa9
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 06:32:29 2022 +0200

    introduce & build release fw/feature

commit 4dba170
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 05:53:46 2022 +0200

    nrf-ifs: introduce basic 'err-handling' for the FTL

commit 4a30318
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 03:48:01 2022 +0200

    Remove board-specifics from provisioner-app

    * UUID is now passed during app init
    * `Reboot::reboot_to_firmware_update` is also passed down during init

commit da0a06d
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 23:16:43 2022 +0200

    nrf-bl: add sha256sums & checks for 3rd party tools

commit fc54426
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 20:50:39 2022 +0200

    add nRF52 build, flash, provision, full-test-deploy helper

commit 912601b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 03:27:38 2022 +0200

    improve profiles-based build & rust-analyzer friendliness

commit d93dd20
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 03:08:17 2022 +0200

    add custom panic handlers for all builds (adapt #59)

commit 1362b72
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 6 00:51:23 2022 +0200

    update ci artifact names

commit 2b2a574
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 6 00:00:25 2022 +0200

    Cargo.toml cleanups

commit ab246e5
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 5 23:38:57 2022 +0200

    integrate #51 & #53 into embedded runner

commit 574105b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 4 17:53:23 2022 +0200

    move bootloader, fido-test-key gen to utils/

commit bf448bd
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 6 14:48:29 2022 +0200

    Move lpc55-hal and littlefs2 to own repositories

commit 510eddb
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Jul 3 12:10:11 2022 +0200

    switch Cargo.toml trussed-source back to upstream

commit c97e57a
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Jul 3 11:54:03 2022 +0200

    disable NRF_BL_DFU_INACTIVITY_TIMEOUT_MS

commit db9633c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jun 30 12:00:51 2022 +0200

    enable CI

commit f586a23
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 16:17:40 2022 +0200

    add se050 minimal communication test on init

commit 085ed25
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 15:25:20 2022 +0200

    add nrf-deploy-build.sh

commit 373133c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 14:37:19 2022 +0200

    update Makefile for beta-release

commit ce77292
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 11:22:01 2022 +0200

    adapt to trussed-storage interface

commit 8e5dfe0
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 15:32:21 2022 +0200

    improve platform-independance in Makefile

commit 9ac1b24
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 15:18:20 2022 +0200

    update BL PID + name; fix Makefile dependency for config

commit 493a67b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 13:02:42 2022 +0200

    update trussed dependency

commit 805392b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 16:47:15 2022 +0200

    nrf: remove dead code

commit 35dac8d
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 00:22:16 2022 +0200

    nrf: various cleanups

    * remove unused imports
    * remove unused (led)-members
    * fix unused variables
    * fix various minor warnings

commit 8459399
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 00:01:43 2022 +0200

    embedded: build.rs cleanups

commit 18c2bb4
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:50:23 2022 +0200

    nrf: introduce flash (erase) FTL with block size 256

commit 291ed0e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:44:23 2022 +0200

    embedded: format IFS, if mount fails

commit 7ef757c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:42:18 2022 +0200

    nrf: cleanup board_nk3am.rs & app-nrf.rs

commit fd4d351
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:35:45 2022 +0200

    embedded: cleanup Makefile/Cargo.toml

commit 654a846
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:22:45 2022 +0200

    nrf: improve touch-button; adapt led from upstream

commit 8216384
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 18:10:46 2022 +0200

    separate bootloader config into nk and default

commit 8d136fb
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 18:08:57 2022 +0200

    properly create ui based on provisioner-feature

commit 9edb39f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu May 12 14:18:36 2022 +0200

    provisioner: remove unused FILESYSTEM_BOUNDARY

commit 10d1e10
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 9 18:43:13 2022 +0200

    nrf: always consent w/o configured buttons

commit 35d193e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun May 8 17:29:47 2022 +0200

    activate UI refresh

commit f804208
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed May 4 17:41:47 2022 +0200

    nrf: bootloader nk3 config; sign-bootloader.sh added

commit 1774e0f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 3 14:24:18 2022 +0200

    nrf: uptime revamp with monotonic timer

commit 7c2102f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 3 00:29:48 2022 +0200

    embedded: ensure profile switching re-writes compile-time files

commit 5682eae
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Apr 29 16:11:48 2022 +0200

    nrf: regular/bootloader reboot

commit b345b3f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 20 07:23:30 2022 +0200

    Button & UI improvements

    * nrf52: pass delay_timer down into TrustedUI
    * touch (button) press is now a 2-step timer-supported approach
    * some safeguarding against other unwanted button-presses
    * design bootloader interactictions (reboot-styles)

commit bad4f14
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 20 05:54:14 2022 +0200

    Bootloader-related buildchain, configuration, uploading

commit 0786736
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 23:11:36 2022 +0200

    Initial boot-to-bootloader & upload firmware poc

commit 648f620
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 23:10:09 2022 +0200

    Improved bootloader make intergration

commit f3b2295
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 05:47:39 2022 +0200

    pull feature variants from lpc55; Makefile QoL

commit d5fbd2f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 04:26:27 2022 +0200

    CTAP fixes for user-presence w/o timing-out

commit 07f1e87
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Apr 18 22:55:04 2022 +0200

    Buildsystem now back to full support

commit f34d21b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Apr 17 21:23:22 2022 +0200

    introduce 'build_profiles'

    * adapt build.rs
    * re-write Makefile
    * apply newly acquired flexibility

commit 9001c42
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Apr 14 14:41:57 2022 +0200

    initial commit: nrf-bootloader

commit e45ab9b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 6 18:19:12 2022 +0200

    Build improvements & configurabilities added

    * unify identifiers: codebase, _cfg.toml
    * no more usb-serial
    * update memory.x related constants
    * cleanup/improve flash size calc

commit fffb414
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 5 18:57:00 2022 +0200

    improve memory parametrization

commit b797a40
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sun Apr 3 23:12:18 2022 +0200

    Adjust task priorities to match original LPC55 runner.

commit ce2eda5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Mar 30 14:27:45 2022 +0200

    Properly handle USB+NFC polling and keepalives.

commit c8c4713
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 15:35:32 2022 +0200

    migrate to cortex-m-rtic 1.x; drop of lpc55-rtic

commit 27df6e9
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Apr 4 13:53:33 2022 +0200

    cleanup TrussedUI backends

commit fde1f35
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Mar 30 21:15:54 2022 +0200

    embedded/nrf: generic init/set led methods

commit 0a8fc09
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Mar 30 16:47:24 2022 +0200

    embedded/nrf: pwm-support for rgb-led added

commit 4768db4
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Mar 29 22:14:12 2022 +0200

    Work towards UI generalization, introduce:

    * TrussedUI with button/leds
    * soc::board_common
    * BoardGPIO::rgb_led
    * various board-nk3am cleanups

commit aedacc4
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 11:14:51 2022 +0200

    Compiler warning fixups.

commit 63e9fac
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 00:57:57 2022 +0200

    Ext=QSPI on [nrfdk,nk3am], Ext=RAM on proto1.

commit c75a793
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Mon Mar 28 00:31:21 2022 +0200

    Use new QSPI driver:

    * instead of SPIM3-based spi-memory
    * disable extflash
    * drop spi-memory dependency

commit 6145a1d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sun Mar 27 04:30:40 2022 +0200

    Implement QSPI; fixes to the QSPI test code

commit c2a5f91
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Mar 27 14:41:44 2022 +0200

    add 'flash_origin' to toml configs

commit 21bbd69
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:56:26 2022 +0100

    (WIP) Debugging experiments for NRF extflash.

commit 79dc1ed
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:55:36 2022 +0100

    Fix RTC/USB handling. Rework store init. Use RAM for External.

commit 9010a35
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:52:01 2022 +0100

    set REGOUT0 to 3v3, not 3v0; logging fixes

commit 64fd534
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:51:42 2022 +0100

    Temporarily switch to Trussed fork. Update Cargo.lock.

commit 3b1da10
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 15:43:06 2022 +0100

    quick ext-flash related fix

commit 69b842d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 14:45:05 2022 +0100

    Introduce delay timer for extflash setup

commit c125e74
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 14:24:22 2022 +0100

    experiment with RTC-based scheduling

commit b6069d0
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 13:20:30 2022 +0100

    pull initial LittleFS generator from nrf52840.

commit c6f82ad
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:15:37 2022 +0100

    reinstate prototype #1

commit 336aac4
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:11:21 2022 +0100

    more runtime handlers

commit 8eeb47d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:10:48 2022 +0100

    use int. flash fs boundary from build_constants

commit b500108
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 02:33:06 2022 +0100

    Baby steps towards rebuilding the runtime code (idle + irqs).

commit 643ec77
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Mar 25 00:26:48 2022 +0100

    initial NK3AM inclusion into embedded runner

    * renamed nk3mini to nk3am / NK3AM
    * removed obsolete lpc nk3am references
    * include UICR programming (REGOUT, NFCPINS) into Makefile for nrf52
    * fork cfg.toml into nrf52_cfg.toml and lpc55_cfg.toml
    * use soc specific *_cfg.toml inside build.rs
    * include and adapt board_nk3am.rs

commit 5c829f5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Mar 24 14:30:10 2022 +0100

    Add Cargo.lock.

commit c5e6b61
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 19 22:29:34 2022 +0100

    Adjustments after rebasing

    * restructured Fido crate etc.
    * sort out linker script business

commit 9a3ba62
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 19 22:28:35 2022 +0100

    Multi-platform support for the Provisioner app.

commit 305fc9f
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 18 22:41:34 2022 +0100

    Complete LPC init. Unify NFC.

commit 9eadd24
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Mar 16 23:13:44 2022 +0100

    Unify USB & MFC setup: LPC app init reconstruction

commit 41c9764
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 1 14:12:45 2022 +0100

    Revive most of the Makefile tooling

commit d06868a
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 25 15:32:11 2022 +0100

    Push initialization of Provisioner app constructor arg into the lib.

commit fdf0eac
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Feb 23 00:44:41 2022 +0100

    Document, fix issue with 'memory.x' & building

commit f01c580
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Feb 22 20:54:16 2022 +0100

    The big LPC55 revival commit.

    This commit brings in the scaffolding for building LPC55 alongside NRF52.
    The following list is a rough summary of the changes:
      * The conflicting-trait fix for the NRF external flash was actually
        not enough - lpc55_hal provides littlefs2_*_filesystem!() macros
        which also implement the (now modified) Storage trait. Added and
        fixed lpc55-hal as well.
        - new monorepo component (-> components/lpc55_hal)
        - added to Cargo.toml [patch] section
      * Fixed the provisioner-app to only depend on one HAL/PAC depending
        on the chosen SoC.
      * Removed build.target from the embedded runner .cargo/config.
        We are building a single crate for different triplets - which is not
        supported by cargo.
        - Add "--target" parameters to cargo invocations in the Makefile.
        - Guard against invalid SoC/--target combinations in build.rs.
      * Added the LPC55 runner target and its dependencies to Cargo.toml.
      * Remove the hardcoded filesystem boundary from build.rs. With the
        new resolver, cargo now supports different feature flags on build
        dependencies and target dependencies.

    Unrelated (could be factored out):
      * Actually implemented NRF extflash.rs (uses spi_memory::series25).

    Bonus:
    For laughs, check out the block comment in src/soc_lpc55/mod.rs.

commit 0c68a80
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Mon Feb 21 14:53:14 2022 +0100

    Fix flash trait problem the other way round (i.e. in littlefs2).

    Our NRF flash implementation suffers from a subtle Trait API difference
    between littlefs2::driver::Storage and nrf52840_hal::nvmc::Nvmc - one
    has read() with a mutable self, the other expects a non-mutable self.
    I would side with the NRF view here (&mut self), as the object may want
    to modify internal state even though the actual flash contents won't.
    So fix this incompatibility by patching littlefs2 instead.

    This commit brings in littlefs2 0.3.2 as a monorepo component, applies
    the necessary fixes to its Storage trait, and adds a [patch] section
    to the embedded runner so it picks up the local version.

commit 771e2fe
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Feb 19 02:59:02 2022 +0100

    Take app instantiation from LPC55 port.

    * Reshuffle definitions.
    * Rewrite generic<->SoC interface into a trait.

commit 63f3138
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 18 03:33:00 2022 +0100

    More work on rebuilding the NRF init & USB

commit e8278e0
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 18 00:23:56 2022 +0100

    Reinstate Store setup. Fixups and cleanups.

commit 7cffb9a
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 15:01:27 2022 +0100

    Reinstate NRF internal and external flash support.

commit 7004abd
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 13:08:45 2022 +0100

    Unify into a single bin+lib crate. Thanks Robin!

commit dd366d5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 02:41:56 2022 +0100

    Start a clean-slate embedded runner project.

    * The envisioned structure of the new firmware is:

    [app-nrf, app-lpc]
    -> SoC-specific RTIC App crates
    [librunner]
    -> generic library (initialization, glue towards Trussed etc.)
    [librunner::soc_*]
    -> SoC-specific types and defines for generic components

    * Start pulling in fragments of existing NRF runner code.
    * Use #[cfg_attr] instead of #[cfg].

commit 210cea7
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 02:40:43 2022 +0100

    Bump dependency of Provisioner on NRF52840 PAC.

commit 63ac04a
Merge: c9f6f4b f1d397a
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Jul 20 15:20:26 2022 +0200

    Merge pull request #60 from Nitrokey/fido-auto-accept

    fido: Skip user presence check directly after boot

commit f1d397a
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Jul 6 13:46:57 2022 +0200

    fido: Skip user presence check directly after boot

    With this patch, we change the fido-authenticator configuration to skip
    the additional user presence check for the first Get Assertion or
    Authenticate request directly after boot.  In this case, the device
    insertion is interpreted as a user presence indicator.

    Fixes #61
szszszsz added a commit that referenced this issue Oct 19, 2022
Squashed commit of the following:

commit 01757c8
Merge: fcf0bf0 72f81b6
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Mon Oct 17 11:27:11 2022 +0200

    Merge pull request #92 from Nitrokey/lpc55-hardware-checks

    lpc55: Add external flash check

commit 72f81b6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Oct 7 10:52:48 2022 +0200

    lpc55: Add external flash check

    This patch adds a check that verifies that the external flash storage
    can be accessed and formatted with a littlefs2 filesystem.

commit fcf0bf0
Merge: a82d155 f8a0037
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Oct 5 11:45:51 2022 +0200

    Merge pull request #91 from Nitrokey/rel-1.2.2

    Release v1.2.2

commit f8a0037
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Oct 5 11:43:33 2022 +0200

    Release v1.2.2

commit a82d155
Merge: b2c656d f0509c9
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Oct 5 11:41:26 2022 +0200

    Merge pull request #90 from Nitrokey/lpc55-hardware-checks

    lpc55: Add SE050 hardware check

commit f0509c9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Oct 4 19:18:07 2022 +0200

    lpc55: Add SE050 hardware check

    This patch adds a basic sanity check for the SE050 chip if the
    provisioner app is enabled.

commit b2c656d
Merge: 7f1f5cc 003bfc7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Oct 4 18:11:57 2022 +0200

    Merge pull request #89 from Nitrokey/nrf-locked-info

    Enable locked-state (APPROTECT) read-out for nRF52

commit 003bfc7
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Oct 4 17:40:49 2022 +0200

    add proper 'Reboot::is_locked' output for embedded/nrf52

commit 8ea6d91
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Oct 4 17:40:19 2022 +0200

    update embedded Cargo.lock

commit 7f1f5cc
Merge: bd92107 152aaab
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Sat Sep 24 20:31:21 2022 +0200

    Merge pull request #88 from Nitrokey/rel-1.2.1

    Release v1.2.1

commit 152aaab
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sat Sep 24 20:27:26 2022 +0200

    Release v1.2.1

commit bd92107
Merge: 0daaa97 07d7fab
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Sat Sep 24 20:00:02 2022 +0200

    Merge pull request #87 from Nitrokey/fido-auth-version

    fix incorrect version for fido-authenticator

commit 07d7fab
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sat Sep 24 19:57:58 2022 +0200

    fix incorrect version for fido-authenticator

commit 0daaa97
Merge: 82e5a86 5bad731
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 30 19:53:50 2022 +0200

    Merge pull request #84 from Nitrokey/release-v1.2.0

    Release v1.2.0

commit 5bad731
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 30 19:36:28 2022 +0200

    Release v1.2.0

    This release contains various bugfixes and stability improvements.

commit 82e5a86
Merge: 53d28f1 6075fe9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 18:05:25 2022 +0200

    Merge pull request #83 from Nitrokey/update-deps

    Update dependencies

commit 6075fe9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 15:08:00 2022 +0200

    Update dependencies

    This patch updates all dependencies, most notably:
    - We can now use upstream fido-authenticator release v0.1.1 instead of
      our fork.
    - fido-authenticator fixes U2F over NFC.
    - apdu-dispatch and iso7816 improve APDU handling.
    - interchange fixes an unsoundness bug.

commit 53d28f1
Merge: 7adae6c 9afc767
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 17:37:45 2022 +0200

    Merge pull request #67 from Nitrokey/usbd-ccid-abort

    usb-ccid: Implement abort handling

commit 7adae6c
Merge: 8884a6a 9074b94
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 22 17:33:44 2022 +0200

    Merge pull request #78 from Nitrokey/lpc55-ci

    Update LPC55 CI builds

commit 9afc767
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 19:40:50 2022 +0200

    usb-ccid: Implement abort handling

    Previously, we just panicked when receiving an abort request.  This
    caused a long delay in scdaemon/gnupg when the NK3 was connected.  With
    this patch, we add abort handling to usb-ccid to fix this issue.

    The implementation is based on Section 5.3.1 of the CCID specification
    [0].  The device is expected to send two abort messages, one over the
    bulk endpoint and one over the control pipe.  We perform the abort once
    we have received both messages.  In the time between receiving the first
    and the second message, we reject all incoming messages on the bulk
    endpoint.

    Fixes #22

    [0] https://www.usb.org/sites/default/files/DWG_Smart-Card_CCID_Rev110.pdf

commit 9074b94
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:50:20 2022 +0200

    Remove artifacts prefix from sha256sum file

commit ad43d86
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:48:47 2022 +0200

    Add version to CI artifact names

    This patch renames the LPC55 NK3xN build artifacts to include the
    firmware version they are built from.

commit 5b9ef7c
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:44:58 2022 +0200

    Remove LPC55 NK3AM binaries from CI

    As we don’t have a LPC55 NK3AM target at the moment, we don’t need the
    binaries in the CI and in the releases.

commit 8884a6a
Merge: ffd3524 42c757d
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 16 16:11:31 2022 +0200

    Merge pull request #82 from Nitrokey/docs-forks

    docs/maintenance: Add forking guidelines

commit 42c757d
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 11 18:18:01 2022 +0200

    docs/maintenance: Add forking guidelines

    This patch adds the guidelines for forks that we discussed on Tuesday.

commit ffd3524
Merge: 5d4e679 da4bdb6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 10 14:30:10 2022 +0200

    Merge pull request #81 from Nitrokey/remove-piv-authenticator

    Remove piv-authenticator from runners

commit da4bdb6
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 10 14:23:04 2022 +0200

    Remove piv-authenticator from runners

    This patch removes the piv-authenticator app from the lpc55 and embedded
    runners.  We are not using it at the moment, and it pulls in a Git
    version of trussed, leading to unnecessary dependency duplications.

    Fixes: #80

commit 5d4e679
Merge: 8713ccc 29398c7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:20:21 2022 +0200

    Merge pull request #76 from Nitrokey/fido-error-handling

    fido-authenticator: Update to 4022d6c

commit 8713ccc
Merge: 8b032a3 490a322
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:20:04 2022 +0200

    Merge pull request #74 from Nitrokey/lpc55-warnings

    Fix build warnings for lpc55 runner

commit 8b032a3
Merge: 54080e5 d27b790
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:19:52 2022 +0200

    Merge pull request #73 from Nitrokey/generate-commands-bd

    Generate commands.bd automatically

commit 54080e5
Merge: df132a1 9f1b23b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 8 14:19:39 2022 +0200

    Merge pull request #72 from Nitrokey/docs-nrf52

    Update documentation after nrf52 merge

commit 29398c7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 15:50:23 2022 +0200

    fido-authenticator: Update to 4022d6c

    This patch updates fido-authenticator to 4022d6c from our fork.  This
    version returns an error instead of panicking if the credential ID is
    too long.

    Fixes: #49

commit df132a1
Merge: d704762 99bb7a7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 16:11:13 2022 +0200

    Merge pull request #68 from Nitrokey/rust-1.62.1

    Update toolchain to Rust 1.62.1

commit d704762
Merge: d9cec57 99d9cc0
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 16:10:55 2022 +0200

    Merge pull request #66 from Nitrokey/usbd-ccid-lifetime

    usbd-ccid: Support non-static lifetimes

commit 9f1b23b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 16:03:16 2022 +0200

    Update documentation after nrf52 merge

    This patch updates the documentation because we now support two chips,
    LPC55 and NRF52.

commit d9cec57
Merge: 09deb57 f01fa20
Author: Robin Krahl <robin@nitrokey.com>
Date:   Thu Aug 4 15:54:27 2022 +0200

    Merge pull request #77 from Nitrokey/docs-identifiers

    Add document with used identifiers

commit f01fa20
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:54:53 2022 +0200

    docs/identifiers: Add development FIDO2 cert

    This patch adds the hash of the FIDO2 attestation certificate used on
    development devices.

commit 1875a9b
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Aug 3 19:28:08 2022 +0200

    Add document with used identifiers

    This patch adds a document that lists all identifiers used by the
    firmware, currently:
    - USB vendor and product ID
    - FIDO2 AAGUID
    - FIDO2 attestation certificate hashes

commit 490a322
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 22:20:56 2022 +0200

    Fix build warnings for lpc55 runner

    The lpc55 runner had build warnings due to unused imports if the
    provisioner features is not active.  This patch refactors the
    provisioner initialization to fix these warnings.

commit d27b790
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 21:56:50 2022 +0200

    Generate commands.bd automatically

    Previously, we manually updated the commands.bd for the lpc55 firmware
    signature process.  With this patch, we automate this process:  We parse
    the Cargo manifest to determine the current firmware version and the
    build profile to determine the filesystem boundary.  We then generate
    the commands.bd file based on this data.

commit 09deb57
Merge: 5c1f730 c1d2ee9
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Tue Aug 2 16:33:03 2022 +0200

    Merge pull request #69 from Nitrokey/release-v1.1.0

    Release v1.1.0

commit c1d2ee9
Author: Robin Krahl <robin@nitrokey.com>
Date:   Tue Aug 2 16:24:23 2022 +0200

    Release v1.1.0

    This release adds support for the NRF52 MCU, changes the LED color to
    red on panics and allows the user to skip the additional user presence
    check for the first FIDO2 operation within two seconds after boot.

commit 99bb7a7
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 1 09:48:39 2022 +0200

    Bump Rust toolchain to 1.62.1

    This patch updates the Rust toolchain to the latest stable, 1.62.1.
    It also moves the toolchain file to the root directory so that it
    applies for all components and runners.

commit 49b125c
Author: Robin Krahl <robin@nitrokey.com>
Date:   Mon Aug 1 09:41:40 2022 +0200

    runners/lpc55: Remove Rust version from Cargo.toml

    We always use the latest stable Rust version (unless there are
    compatibility issues), so keeping track of the MSRV in the Cargo
    manifest does not make sense for us.

commit 99d9cc0
Author: Robin Krahl <robin@nitrokey.com>
Date:   Fri Jul 29 16:10:37 2022 +0200

    usbd-ccid: Support non-static lifetimes

    Similar to the usb-ctaphid implementation, we don’t need to require a
    static lifetime for usb-ccid.  This makes it easier to use it e. g. in
    a usbip runner.

commit 5c1f730
Merge: 63ac04a f7f36cf
Author: Markus Meissner <daringer@users.noreply.github.com>
Date:   Wed Jul 27 02:55:13 2022 +0200

    Merge pull request #55 from Nitrokey/embedded-pr

    *The One* - nRF52 / embedded runner

commit f7f36cf
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 02:24:02 2022 +0200

    update changelog for v1.1.0-rc.1

commit e500e09
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:51:09 2022 +0200

    ci: rename jobs; build all nk3am-nrf52 variants

commit de9864c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:21:38 2022 +0200

    embedded: clients-(x-1) for all features: ndef-app is not a client

commit 852c777
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 27 01:13:11 2022 +0200

    adapt lpc55 runner for new provisioner app

commit dc61232
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:49:43 2022 +0200

    cleanup build for embedded/nrf release

commit 97035bf
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:29:57 2022 +0200

    update changelog and (embedded) version to 1.1.0

commit e87cad6
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:22:25 2022 +0200

    nrf-bootloader: remove bashism from Makefile

commit a9a374e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:20:59 2022 +0200

    embedded: apply #60

commit db86b8f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 26 18:04:32 2022 +0200

    embedded: just allow building, any further dev-tools shall go into utils/

commit 2ae0cd3
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Jun 7 02:34:27 2022 +0200

    Support different blocksizes in LFS generator.

commit 6ee0abe
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 21 12:56:44 2022 +0200

    always set '--app-boot-validation' during package signing

commit 9b72619
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 20 15:20:47 2022 +0200

    consistently set LOOKAHEADWORDS_SIZE to U2 to match lfs requirements

commit 1fff915
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 18 12:11:11 2022 +0200

    embedded: change edition to 2021

commit f0f4034
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 15 00:24:39 2022 +0200

    nrf: adapt rgb instensities to proper mixing ratios

commit fe6b78c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:49:23 2022 +0200

    change blink color to white

commit 8fb0772
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:26:21 2022 +0200

    provisioner-app: remove unneeded dependencies

commit e2ad894
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 14 15:24:02 2022 +0200

    fix clippy warnings

commit f66885e
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Jul 14 13:12:45 2022 +0200

    cargo fmt run

commit 7b3aa1d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Jul 14 10:45:28 2022 +0200

    Repair compilation of proto1 board.

commit c9edb17
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 09:52:47 2022 +0200

    some build cleanups

commit 579fb43
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 11 15:01:33 2022 +0200

    cleaner FTL (block translation) implementation

commit d039fa9
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 06:32:29 2022 +0200

    introduce & build release fw/feature

commit 4dba170
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 05:53:46 2022 +0200

    nrf-ifs: introduce basic 'err-handling' for the FTL

commit 4a30318
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Jul 8 03:48:01 2022 +0200

    Remove board-specifics from provisioner-app

    * UUID is now passed during app init
    * `Reboot::reboot_to_firmware_update` is also passed down during init

commit da0a06d
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 23:16:43 2022 +0200

    nrf-bl: add sha256sums & checks for 3rd party tools

commit fc54426
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 20:50:39 2022 +0200

    add nRF52 build, flash, provision, full-test-deploy helper

commit 912601b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 03:27:38 2022 +0200

    improve profiles-based build & rust-analyzer friendliness

commit d93dd20
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jul 7 03:08:17 2022 +0200

    add custom panic handlers for all builds (adapt #59)

commit 1362b72
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 6 00:51:23 2022 +0200

    update ci artifact names

commit 2b2a574
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jul 6 00:00:25 2022 +0200

    Cargo.toml cleanups

commit ab246e5
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Jul 5 23:38:57 2022 +0200

    integrate #51 & #53 into embedded runner

commit 574105b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jul 4 17:53:23 2022 +0200

    move bootloader, fido-test-key gen to utils/

commit bf448bd
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 6 14:48:29 2022 +0200

    Move lpc55-hal and littlefs2 to own repositories

commit 510eddb
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Jul 3 12:10:11 2022 +0200

    switch Cargo.toml trussed-source back to upstream

commit c97e57a
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Jul 3 11:54:03 2022 +0200

    disable NRF_BL_DFU_INACTIVITY_TIMEOUT_MS

commit db9633c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Jun 30 12:00:51 2022 +0200

    enable CI

commit f586a23
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 16:17:40 2022 +0200

    add se050 minimal communication test on init

commit 085ed25
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 15:25:20 2022 +0200

    add nrf-deploy-build.sh

commit 373133c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 14:37:19 2022 +0200

    update Makefile for beta-release

commit ce77292
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Jun 29 11:22:01 2022 +0200

    adapt to trussed-storage interface

commit 8e5dfe0
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 15:32:21 2022 +0200

    improve platform-independance in Makefile

commit 9ac1b24
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 15:18:20 2022 +0200

    update BL PID + name; fix Makefile dependency for config

commit 493a67b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Jun 27 13:02:42 2022 +0200

    update trussed dependency

commit 805392b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 16:47:15 2022 +0200

    nrf: remove dead code

commit 35dac8d
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 00:22:16 2022 +0200

    nrf: various cleanups

    * remove unused imports
    * remove unused (led)-members
    * fix unused variables
    * fix various minor warnings

commit 8459399
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 17 00:01:43 2022 +0200

    embedded: build.rs cleanups

commit 18c2bb4
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:50:23 2022 +0200

    nrf: introduce flash (erase) FTL with block size 256

commit 291ed0e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:44:23 2022 +0200

    embedded: format IFS, if mount fails

commit 7ef757c
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:42:18 2022 +0200

    nrf: cleanup board_nk3am.rs & app-nrf.rs

commit fd4d351
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:35:45 2022 +0200

    embedded: cleanup Makefile/Cargo.toml

commit 654a846
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 23:22:45 2022 +0200

    nrf: improve touch-button; adapt led from upstream

commit 8216384
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 18:10:46 2022 +0200

    separate bootloader config into nk and default

commit 8d136fb
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 16 18:08:57 2022 +0200

    properly create ui based on provisioner-feature

commit 9edb39f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu May 12 14:18:36 2022 +0200

    provisioner: remove unused FILESYSTEM_BOUNDARY

commit 10d1e10
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon May 9 18:43:13 2022 +0200

    nrf: always consent w/o configured buttons

commit 35d193e
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun May 8 17:29:47 2022 +0200

    activate UI refresh

commit f804208
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed May 4 17:41:47 2022 +0200

    nrf: bootloader nk3 config; sign-bootloader.sh added

commit 1774e0f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 3 14:24:18 2022 +0200

    nrf: uptime revamp with monotonic timer

commit 7c2102f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue May 3 00:29:48 2022 +0200

    embedded: ensure profile switching re-writes compile-time files

commit 5682eae
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Apr 29 16:11:48 2022 +0200

    nrf: regular/bootloader reboot

commit b345b3f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 20 07:23:30 2022 +0200

    Button & UI improvements

    * nrf52: pass delay_timer down into TrustedUI
    * touch (button) press is now a 2-step timer-supported approach
    * some safeguarding against other unwanted button-presses
    * design bootloader interactictions (reboot-styles)

commit bad4f14
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 20 05:54:14 2022 +0200

    Bootloader-related buildchain, configuration, uploading

commit 0786736
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 23:11:36 2022 +0200

    Initial boot-to-bootloader & upload firmware poc

commit 648f620
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 23:10:09 2022 +0200

    Improved bootloader make intergration

commit f3b2295
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 05:47:39 2022 +0200

    pull feature variants from lpc55; Makefile QoL

commit d5fbd2f
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 19 04:26:27 2022 +0200

    CTAP fixes for user-presence w/o timing-out

commit 07f1e87
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Apr 18 22:55:04 2022 +0200

    Buildsystem now back to full support

commit f34d21b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Apr 17 21:23:22 2022 +0200

    introduce 'build_profiles'

    * adapt build.rs
    * re-write Makefile
    * apply newly acquired flexibility

commit 9001c42
Author: Markus Meissner <coder@safemailbox.de>
Date:   Thu Apr 14 14:41:57 2022 +0200

    initial commit: nrf-bootloader

commit e45ab9b
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Apr 6 18:19:12 2022 +0200

    Build improvements & configurabilities added

    * unify identifiers: codebase, _cfg.toml
    * no more usb-serial
    * update memory.x related constants
    * cleanup/improve flash size calc

commit fffb414
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Apr 5 18:57:00 2022 +0200

    improve memory parametrization

commit b797a40
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sun Apr 3 23:12:18 2022 +0200

    Adjust task priorities to match original LPC55 runner.

commit ce2eda5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Mar 30 14:27:45 2022 +0200

    Properly handle USB+NFC polling and keepalives.

commit c8c4713
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 15:35:32 2022 +0200

    migrate to cortex-m-rtic 1.x; drop of lpc55-rtic

commit 27df6e9
Author: Markus Meissner <coder@safemailbox.de>
Date:   Mon Apr 4 13:53:33 2022 +0200

    cleanup TrussedUI backends

commit fde1f35
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Mar 30 21:15:54 2022 +0200

    embedded/nrf: generic init/set led methods

commit 0a8fc09
Author: Markus Meissner <coder@safemailbox.de>
Date:   Wed Mar 30 16:47:24 2022 +0200

    embedded/nrf: pwm-support for rgb-led added

commit 4768db4
Author: Markus Meissner <coder@safemailbox.de>
Date:   Tue Mar 29 22:14:12 2022 +0200

    Work towards UI generalization, introduce:

    * TrussedUI with button/leds
    * soc::board_common
    * BoardGPIO::rgb_led
    * various board-nk3am cleanups

commit aedacc4
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 11:14:51 2022 +0200

    Compiler warning fixups.

commit 63e9fac
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 29 00:57:57 2022 +0200

    Ext=QSPI on [nrfdk,nk3am], Ext=RAM on proto1.

commit c75a793
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Mon Mar 28 00:31:21 2022 +0200

    Use new QSPI driver:

    * instead of SPIM3-based spi-memory
    * disable extflash
    * drop spi-memory dependency

commit 6145a1d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sun Mar 27 04:30:40 2022 +0200

    Implement QSPI; fixes to the QSPI test code

commit c2a5f91
Author: Markus Meissner <coder@safemailbox.de>
Date:   Sun Mar 27 14:41:44 2022 +0200

    add 'flash_origin' to toml configs

commit 21bbd69
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:56:26 2022 +0100

    (WIP) Debugging experiments for NRF extflash.

commit 79dc1ed
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:55:36 2022 +0100

    Fix RTC/USB handling. Rework store init. Use RAM for External.

commit 9010a35
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:52:01 2022 +0100

    set REGOUT0 to 3v3, not 3v0; logging fixes

commit 64fd534
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 26 03:51:42 2022 +0100

    Temporarily switch to Trussed fork. Update Cargo.lock.

commit 3b1da10
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 15:43:06 2022 +0100

    quick ext-flash related fix

commit 69b842d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 14:45:05 2022 +0100

    Introduce delay timer for extflash setup

commit c125e74
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 14:24:22 2022 +0100

    experiment with RTC-based scheduling

commit b6069d0
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 13:20:30 2022 +0100

    pull initial LittleFS generator from nrf52840.

commit c6f82ad
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:15:37 2022 +0100

    reinstate prototype #1

commit 336aac4
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:11:21 2022 +0100

    more runtime handlers

commit 8eeb47d
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 11:10:48 2022 +0100

    use int. flash fs boundary from build_constants

commit b500108
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 25 02:33:06 2022 +0100

    Baby steps towards rebuilding the runtime code (idle + irqs).

commit 643ec77
Author: Markus Meissner <coder@safemailbox.de>
Date:   Fri Mar 25 00:26:48 2022 +0100

    initial NK3AM inclusion into embedded runner

    * renamed nk3mini to nk3am / NK3AM
    * removed obsolete lpc nk3am references
    * include UICR programming (REGOUT, NFCPINS) into Makefile for nrf52
    * fork cfg.toml into nrf52_cfg.toml and lpc55_cfg.toml
    * use soc specific *_cfg.toml inside build.rs
    * include and adapt board_nk3am.rs

commit 5c829f5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Mar 24 14:30:10 2022 +0100

    Add Cargo.lock.

commit c5e6b61
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 19 22:29:34 2022 +0100

    Adjustments after rebasing

    * restructured Fido crate etc.
    * sort out linker script business

commit 9a3ba62
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Mar 19 22:28:35 2022 +0100

    Multi-platform support for the Provisioner app.

commit 305fc9f
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Mar 18 22:41:34 2022 +0100

    Complete LPC init. Unify NFC.

commit 9eadd24
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Mar 16 23:13:44 2022 +0100

    Unify USB & MFC setup: LPC app init reconstruction

commit 41c9764
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Mar 1 14:12:45 2022 +0100

    Revive most of the Makefile tooling

commit d06868a
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 25 15:32:11 2022 +0100

    Push initialization of Provisioner app constructor arg into the lib.

commit fdf0eac
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Wed Feb 23 00:44:41 2022 +0100

    Document, fix issue with 'memory.x' & building

commit f01c580
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Tue Feb 22 20:54:16 2022 +0100

    The big LPC55 revival commit.

    This commit brings in the scaffolding for building LPC55 alongside NRF52.
    The following list is a rough summary of the changes:
      * The conflicting-trait fix for the NRF external flash was actually
        not enough - lpc55_hal provides littlefs2_*_filesystem!() macros
        which also implement the (now modified) Storage trait. Added and
        fixed lpc55-hal as well.
        - new monorepo component (-> components/lpc55_hal)
        - added to Cargo.toml [patch] section
      * Fixed the provisioner-app to only depend on one HAL/PAC depending
        on the chosen SoC.
      * Removed build.target from the embedded runner .cargo/config.
        We are building a single crate for different triplets - which is not
        supported by cargo.
        - Add "--target" parameters to cargo invocations in the Makefile.
        - Guard against invalid SoC/--target combinations in build.rs.
      * Added the LPC55 runner target and its dependencies to Cargo.toml.
      * Remove the hardcoded filesystem boundary from build.rs. With the
        new resolver, cargo now supports different feature flags on build
        dependencies and target dependencies.

    Unrelated (could be factored out):
      * Actually implemented NRF extflash.rs (uses spi_memory::series25).

    Bonus:
    For laughs, check out the block comment in src/soc_lpc55/mod.rs.

commit 0c68a80
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Mon Feb 21 14:53:14 2022 +0100

    Fix flash trait problem the other way round (i.e. in littlefs2).

    Our NRF flash implementation suffers from a subtle Trait API difference
    between littlefs2::driver::Storage and nrf52840_hal::nvmc::Nvmc - one
    has read() with a mutable self, the other expects a non-mutable self.
    I would side with the NRF view here (&mut self), as the object may want
    to modify internal state even though the actual flash contents won't.
    So fix this incompatibility by patching littlefs2 instead.

    This commit brings in littlefs2 0.3.2 as a monorepo component, applies
    the necessary fixes to its Storage trait, and adds a [patch] section
    to the embedded runner so it picks up the local version.

commit 771e2fe
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Sat Feb 19 02:59:02 2022 +0100

    Take app instantiation from LPC55 port.

    * Reshuffle definitions.
    * Rewrite generic<->SoC interface into a trait.

commit 63f3138
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 18 03:33:00 2022 +0100

    More work on rebuilding the NRF init & USB

commit e8278e0
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Fri Feb 18 00:23:56 2022 +0100

    Reinstate Store setup. Fixups and cleanups.

commit 7cffb9a
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 15:01:27 2022 +0100

    Reinstate NRF internal and external flash support.

commit 7004abd
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 13:08:45 2022 +0100

    Unify into a single bin+lib crate. Thanks Robin!

commit dd366d5
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 02:41:56 2022 +0100

    Start a clean-slate embedded runner project.

    * The envisioned structure of the new firmware is:

    [app-nrf, app-lpc]
    -> SoC-specific RTIC App crates
    [librunner]
    -> generic library (initialization, glue towards Trussed etc.)
    [librunner::soc_*]
    -> SoC-specific types and defines for generic components

    * Start pulling in fragments of existing NRF runner code.
    * Use #[cfg_attr] instead of #[cfg].

commit 210cea7
Author: Jan Nordholz <j.nordholz@tu-berlin.de>
Date:   Thu Feb 17 02:40:43 2022 +0100

    Bump dependency of Provisioner on NRF52840 PAC.

commit 63ac04a
Merge: c9f6f4b f1d397a
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Jul 20 15:20:26 2022 +0200

    Merge pull request #60 from Nitrokey/fido-auto-accept

    fido: Skip user presence check directly after boot

commit f1d397a
Author: Robin Krahl <robin@nitrokey.com>
Date:   Wed Jul 6 13:46:57 2022 +0200

    fido: Skip user presence check directly after boot

    With this patch, we change the fido-authenticator configuration to skip
    the additional user presence check for the first Get Assertion or
    Authenticate request directly after boot.  In this case, the device
    insertion is interpreted as a user presence indicator.

    Fixes #61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants