blob: 4d8d880a2fc8dcaec4a3712e5426591409f85364 (
plain)
1
2
3
4
5
6
7
8
9
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.
|