google / google/OpenSK

Can't enable JTAG lockdown

Open
#681 6 comments 0 reactions 1 assignee Claimed by @kaczmarczyck View on GitHub
Dominant language
Rust
Stars
3.4k
Forks
338
Avg merge
9m
Merged PRs (30d)
1

Description

## Expected Behavior
`configure.py --lock-device`
info: Device is now locked down!

## Actual Behavior
`configure.py --certificate=crypto_data/opensk_cert.pem --private-key=crypto_data/opensk.key --lock-device`
info: Certificate is valid.
info: Programming OpenSK device
info: Please touch the device to confirm...
error: Failed to configure OpenSK (lockdown conditions not met or hardware error).

## Steps to Reproduce the Problem

1. `setup.sh`
2. `deploy.py --board=nrf52840_dongle_opensk --opensk --programmer=pyocd`
3. `configure.py --certificate=crypto_data/opensk_cert.pem --private-key=crypto_data/opensk.key`
4. `configure.py --certificate=crypto_data/opensk_cert.pem --private-key=crypto_data/opensk.key --lock-device`

## Specifications

- Version: 2.1 (commit: `893faa5113f47457337ddb826b1a58870f00bc78`)
- Platform: nRF52840 dongle

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.