Matthew Carroll and Claude Opus 5
8917c48cde
lf t55xx detect: do not send a password the PWD bit has not confirmed
...
`lf t55xx detect -p <pwd>` reached for the password whenever detection
failed without one, and sent it across every downlink mode and again
after a wake. On a tag that is not password protected those frames can
be taken for a write: the PWD bit gets set and the tag's data is
destroyed, leaving it locked behind whatever block 7 already held.
`lf t55xx read` and `lf t55xx dump` already guard against this. They
verify the PWD bit in the configuration block before using a password,
and expose -o/--override to bypass the check deliberately. detect had
neither, and T55xxReadBlockEx() treats a live `detect -p` as proof the
bit is set.
detect cannot run the same check -- reading the configuration is what it
is for, and the password is only reached for once that has failed -- so
the risk has to be the user's to accept. Gate it behind -o/--override to
match read and dump, and carry read's warning banner into the help.
No change in behaviour for anyone not passing -p.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-10-01 16:13:49 -07:00
..
2026-09-22 11:14:44 +02:00
2026-09-10 02:55:16 +02:00
2026-09-22 11:14:44 +02:00
2026-08-27 01:38:46 +02:00
2026-08-29 17:42:29 +02:00
2026-09-27 21:15:18 +02:00
2026-09-03 02:08:30 -04:00
2026-09-22 11:19:24 +02:00
2026-07-28 15:53:20 +02:00
2026-09-14 11:47:32 +02:00
2026-08-21 19:41:27 +02:00
2026-06-30 02:29:57 +02:00
2026-10-01 23:04:47 +02:00
2026-09-12 16:48:51 +02:00
2026-09-15 22:49:41 +02:00
2026-09-01 17:57:31 +02:00
2026-09-27 21:15:18 +02:00
2026-09-16 19:00:50 +02:00
2026-08-29 17:42:29 +02:00
2026-09-27 21:15:18 +02:00
2026-08-29 13:50:49 +02:00
2026-09-16 19:00:50 +02:00
2026-06-18 22:33:41 +03:00
2026-09-22 22:51:14 +08:00
2026-09-16 19:00:50 +02:00
2026-08-29 17:42:29 +02:00
2026-05-10 21:18:04 +03:00
2026-06-30 02:22:56 +02:00
2026-08-29 17:42:29 +02:00
2026-09-10 02:55:16 +02:00
2026-08-21 22:32:06 +02:00
2026-09-17 22:53:58 +02:00
2026-09-27 21:15:18 +02:00
2026-08-01 13:33:00 +03:00
2026-09-17 00:23:18 +02:00
2026-05-24 19:12:12 +08:00
2026-08-29 16:42:01 +02:00
2026-09-27 21:15:18 +02:00
2026-09-19 02:22:01 -04:00
2026-08-29 13:50:49 +02:00
2026-09-12 18:49:24 +02:00
2026-09-27 21:15:18 +02:00
2026-08-19 10:50:05 +02:00
2026-09-12 21:18:26 +02:00
2026-08-26 20:44:34 +02:00
2026-08-29 13:50:49 +02:00
2026-09-27 21:15:18 +02:00
2026-09-27 21:15:18 +02:00
2026-09-12 10:44:00 +02:00
2026-05-24 03:33:38 -04:00
2026-08-29 13:50:49 +02:00
2026-05-29 12:36:50 +03:00
2026-09-27 21:15:18 +02:00
2026-09-22 14:24:34 +02:00
2026-09-22 15:05:38 +02:00
2026-09-05 05:40:45 +08:00
2026-09-27 21:15:18 +02:00
2026-08-29 13:50:49 +02:00
2026-09-27 21:15:18 +02:00
2026-09-01 17:58:14 +02:00
2026-09-12 18:49:24 +02:00
2026-09-12 12:49:17 +02:00
2026-09-12 15:09:53 +02:00
2026-08-29 13:50:49 +02:00
2026-09-01 17:57:31 +02:00
2026-08-29 16:42:01 +02:00
2026-08-30 15:39:45 -05:00
2026-09-24 10:33:46 +02:00
2026-09-27 21:15:18 +02:00
2026-08-29 17:38:41 +02:00
2026-09-17 00:23:18 +02:00
2026-06-12 22:49:06 +02:00
2026-08-19 12:04:32 +02:00
2026-06-29 01:57:19 +02:00
2026-09-01 17:58:14 +02:00
2026-07-30 16:43:09 +02:00
2026-07-30 16:43:09 +02:00
2026-05-06 16:05:33 +00:00
2026-09-12 20:56:08 +02:00
2026-09-22 05:37:09 +08:00
2026-09-12 18:30:45 +02:00
2026-09-16 19:00:50 +02:00
2026-09-12 12:52:48 -07:00
2026-09-15 10:57:02 -04:00
2026-08-29 17:30:07 +02:00
2026-10-01 16:13:49 -07:00
2026-09-10 03:58:14 +02:00
2026-09-10 10:33:17 -07:00
2026-07-30 17:06:36 +02:00
2026-07-30 16:41:07 +02:00
2026-09-10 10:33:17 -07:00
2026-09-10 10:33:17 -07:00
2026-09-03 16:55:15 +02:00
2026-06-29 22:42:37 +02:00
2026-09-01 19:54:05 +02:00
2026-09-16 13:58:20 +02:00
2026-09-05 05:40:45 +08:00
2026-09-23 13:44:57 +02:00
2026-09-23 13:44:57 +02:00
2026-05-22 16:38:59 -07:00
2026-05-22 16:38:59 -07:00
2026-09-14 12:24:31 +02:00
2026-08-26 23:57:47 +02:00
2026-09-27 21:15:18 +02:00
2026-09-12 21:39:35 +02:00
2026-09-01 17:58:14 +02:00
2026-09-16 19:00:50 +02:00
2026-09-14 12:16:51 +02:00
2026-09-16 19:00:50 +02:00
2026-09-14 19:39:42 +02:00
2026-09-27 21:15:18 +02:00
2026-08-23 01:28:47 +02:00
2026-09-17 00:23:18 +02:00
2026-09-16 02:41:19 +02:00
2026-07-15 16:39:15 +02:00
2026-07-30 17:06:36 +02:00
2026-06-29 22:42:37 +02:00
2026-09-10 10:33:17 -07:00
2026-09-10 10:33:17 -07:00
2026-08-21 19:41:27 +02:00
2026-08-21 20:12:26 +02:00
2026-08-21 20:12:26 +02:00
2026-06-29 23:37:37 +02:00
2026-06-29 23:37:37 +02:00
2026-06-29 23:51:37 +02:00
2026-08-26 11:34:57 +03:00
2026-08-26 11:34:57 +03:00
2026-06-29 23:51:37 +02:00
2026-07-30 17:06:36 +02:00
2026-09-01 19:54:05 +02:00
2026-07-30 16:40:14 +02:00
2026-07-30 16:40:14 +02:00
2026-09-27 21:15:18 +02:00
2026-09-26 12:23:47 -04:00
2026-08-28 14:29:04 +02:00
2026-08-31 00:46:21 +08:00
2026-09-16 02:39:42 +02:00
2026-08-28 14:29:04 +02:00
2026-09-16 13:58:20 +02:00
2026-08-21 20:10:30 +02:00
2026-08-21 19:41:27 +02:00
2026-08-21 22:32:06 +02:00
2026-08-23 21:24:52 +10:00
2026-09-27 21:15:18 +02:00
2026-09-26 12:23:47 -04:00
2026-09-16 19:00:50 +02:00
2026-09-12 18:30:45 +02:00
2026-09-16 19:00:50 +02:00
2026-09-12 12:26:06 +02:00
2026-07-10 14:16:54 -05:00