CARDOS-TOOL(1)
π CARDOS-TOOL π
okay bestie, so this is the manual page for cardos-tool, part of the OpenSC Tools collection, and it's genuinely one of my faves because it's so straightforward. it's giving "small tool, big main character energy" β¨
πΈ NAME πΈ
cardos-tool β displays information about Card OS-based security tokens, or formats them. that's it, that's the whole job. no cap. π
β¨ SYNOPSIS β¨
cardos-tool [OPTIONS]
like, that's the entire synopsis. no positional args, no fuss. we love a clean interface π
π¦ DESCRIPTION π¦
so the cardos-tool utility is used to display information about smart cards and similar security tokens that are based on Siemens Card/OS M4. lowkey iconic honestly β it pokes at your token and tells you what's up, or if you're feeling spicy, it wipes and formats the thing. π
π OPTIONS π
here's the full menu, bestie. every single one, no skipping:
--format,-fβ format the card or token. yes, this is the "delete everything" one. handle with care, queen. π₯--help,-hβ print the help message on screen. your lil emergency "wait what do I type" button π«Ά--info,-iβ display information about the card or token. the vibe check option. run this first, always. β--readerarg,-rarg β the number of the reader to use. by default, the first reader with a present card is used. but here's the cute part: if arg is an ATR, then the reader with a matching card will be chosen. so you can point at a reader by number or by ATR. flexible. slay. π¦--startkeyarg,-sarg β specify the startkey for format. (note: this one's for the format flow, iykyk)--change-startkeyarg,-Sarg β change the Startkey with the given APDU command. capital S, lowercase s, they are not the same option, bestie. do not mix them up. π--verbose,-vβ causescardos-toolto be more verbose. and ooh, the good part: specify this flag several times to enable debug output in theopensclibrary. stack those-vs like bracelets. π--wait,-wβ causescardos-toolto wait for the token to be inserted into the reader. for when your card isn't in yet and the tool is just standing there, patiently, like a good friend. πΈ
π AUTHORS π
cardos-tool was written by Andreas Jellinghaus <aj@dungeon.inka.de>. absolute legend behavior, fr fr. π
π quick reminder before you go:--formatis the destructive one, and--change-startkeywants an APDU command. everything else is just reading and waiting. be safe out there, bestie.
and that's a wrap! this page comes to you from the opensc project, dated 04/19/2026 β so go forth, run that --info, and have the best day. mwah. πππ§
π¦ where this page comes from
- fedora 43: opensc 0.27.1-2.fc43 Β· LGPL-2.1-or-later AND BSD-3-Clause
- fedora 44: opensc 0.27.1-2.fc44 Β· LGPL-2.1-or-later AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms