Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 67c69b2

Browse files
committed
Allow 1PAY.SYS.DDF01 to be missing
This allows emvtool info to work on contactless cards.
1 parent 454a992 commit 67c69b2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

emv/command/client.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,13 @@ def info(ctx):
131131
apps = card.list_applications()
132132

133133
click.secho("\n1PAY.SYS.DDF01 (Index of apps for chip payments)", bold=True)
134-
render_app(card, "1PAY.SYS.DDF01", redact)
134+
try:
135+
render_app(card, "1PAY.SYS.DDF01", redact)
136+
except MissingAppException:
137+
click.secho(
138+
"1PAY.SYS.DDF01 not available (this is normal on some cards)", fg="yellow"
139+
)
140+
135141
click.secho("\n2PAY.SYS.DDF01 (Index of apps for contactless payments)", bold=True)
136142
try:
137143
render_app(card, "2PAY.SYS.DDF01", redact)

0 commit comments

Comments
 (0)