diff options
Diffstat (limited to 'docs/smartcard-idea.txt')
-rw-r--r-- | docs/smartcard-idea.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/smartcard-idea.txt b/docs/smartcard-idea.txt new file mode 100644 index 0000000..4d8d880 --- /dev/null +++ b/docs/smartcard-idea.txt @@ -0,0 +1,10 @@ +>>> import gnupg +>>> gpg = gnupg.GPG() +>>> gpg.sc = gnupg.SmartCard() ## this could be done in gnupg.GPG.__init__() too +>>> gpg.sc.detected() +True +>>> gpg.sc.serialno() +1234567890abcdef +>>> gpg.sc.learn() +<some card info data gets put into gpg.sc attributes> +>>> gpg.sc. |