code: def list_users(self):
          
          crypt = self._decrypt_file()
  
          self.logger.info(crypt.stderr)
          raw_userlist = crypt.stderr.split('\n')
          userlist = list()
          for index, line in enumerate(raw_userlist):
              if 'gpg: encrypted' in line:
                  m = re.search('ID (\w+)', line)
                  keyid = m.group(1).strip()
                  userline = raw_userlist[index+1].strip()
                  userlist.append((keyid, userline))
          return userlist
docs: Get user list from the encrypted passdb file