/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to crypt.py

  • Committer: Daniel Schierbeck
  • Date: 2008-04-02 15:16:04 UTC
  • mto: (450.1.16 trunk)
  • mto: This revision was merged to the branch mainline in revision 458.
  • Revision ID: daniel.schierbeck@gmail.com-20080402151604-luhz6y4kh2txvh90
Added discovery of unknown keys.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
crypto = dbus.Interface(bus.get_object(BUS_NAME, CRYPTO_PATH), 
17
17
                        CRYPTO_INTERFACE)
18
18
openpgp = dbus.Interface(bus.get_object(BUS_NAME, OPENPGP_PATH),
19
 
                      OPENPGP_INTERFACE)
 
19
                         OPENPGP_INTERFACE)
20
20
 
21
21
FLAG_VALID = 0x0001
22
22
FLAG_CAN_ENCRYPT = 0x0002
55
55
        self.display_name = None
56
56
        self.location = None
57
57
 
 
58
        discover(key)
 
59
 
58
60
    def get_field(self, field, default=None):
59
61
        (valid, value) = openpgp.GetKeyField(self.key, field)
60
62