Permalink
Switch branches/tags
Nothing to show
Commits on Jan 22, 2017
  1. gpg.py: Remove outputfile parameter form listkey, listkeys, fingerpri…

    …nt functions
    
    While the gpg man page does not restrict the use of -o option, this option is ignored for
    these gpg operations.  This removes the false assumption these parameters will affect
    the gpg output destination.
    committed Jan 22, 2017
  2. output.py: Make the keyid, username, fingerprint properties return in…

    …fo as decsribed
    
    These now return the list of results with valid field entries != ''
    These are decorated as properties, but I think they should be renamed and not decorated
    as such.  Perhaps the decorated versions of these could return the first username or PUB
    values.  These should be keyids(), usernames() fingerprints() variants wit ossible some
    additional optional parameters.
    committed Jan 22, 2017
  3. output.py: Fix error when output is a string

    Test if output is a string, then don't try to decode it.
    committed Jan 22, 2017
  4. Initial test_gpg.py with version and options fixes

    Fix verbose option for version().
    Fix options() to remove null entries in the list.
    committed Jan 22, 2017
Commits on Jan 21, 2017
  1. legend: Add super simple test to ensure that the classes are created

    This tests that the class definitions are syntax is correct and the code that generates them 
    on import works.
    committed Jan 21, 2017
  2. config.py: Add tests, fix py3 errors in _sub_(), make the substituiti…

    …on re work at any position
    committed Jan 21, 2017
  3. setup.py: Add test capability

    committed Jan 21, 2017
  4. Update .gitignore

    committed Jan 21, 2017
Commits on Jan 3, 2017
  1. mappings.py: Add ALGORITHM_CODES 21, 22

    I am unable to find an alrorithm name for 22 as yet, so leave as 'unknown'.
    committed Jan 3, 2017
Commits on Jun 25, 2016
  1. Merge pull request #7 from aeroniero33/send-key

    Added the --send-keys command to config.py
    committed on GitHub Jun 25, 2016
  2. Merge pull request #6 from ashmew2/feature/fix-fpr-and-uat

    legend.py: Fix crash due to broken fingerprint handler
    committed on GitHub Jun 25, 2016
Commits on Jun 21, 2016
Commits on Jun 13, 2016
  1. legend.py: Fix crash due to broken fingerprint handler

    According to the DETAILS file in GNUPG source code, the field 10 is special.
    Changes in the commit e7f48e7 which focused on unifying the
    handling of all versions/options broke the fingerprint handling as it did not
    consider the different nature of --fingerprint. This commit reverses that change
    and adds a note stating that fingerprint is different. It also fixes the UAT
    handling as Field 10 is used to store the attribute subpacket count and size in
    the UAT records.
    ashmew2 committed Jun 13, 2016
Commits on May 29, 2016
  1. Merge pull request #5 from ashmew2/feature/support-all-gpg-versions

    Feature/support all gpg versions
    committed May 29, 2016
  2. Merge pull request #4 from ashmew2/feature/13gpg37

    Add listkey and listkeys functions
    committed May 29, 2016
  3. status.py: Fix process_colon_listing function for all gpg versions

    Remove the UID/UAT [:13] hack to support old and new gpg versions.
    Add length aware parsing of gpg output and mapping to legend.py classes.
    Handle cases when gpg output has a different number of fields compared to
    the COLON_IDENTIFIER based classes in legend.py
    ashmew2 committed May 26, 2016
  4. legend.py: Add new colon identifiers and fields

    Added new entries to COLON_IDENTIFIERS. Now it contains 17 entries.
    
    Sorted COLON_IDENTIFIERS list alphanetically in code.
    Segregated class definitions of special colon identifiers (CFG, PKD, TRU, SPK)
    and non special.
    Extended the COLON_LISTING_FIELDS list to 18 fields as per doc/DETAILS.
    All non special identifiers now contain 18 fields (COLON_LISTING_FIELDS list)
    ashmew2 committed May 26, 2016
Commits on May 24, 2016
  1. gpg.py: Add listkey() and listkeys() functions

    Add functions for handling --list-key and --list-keys. Both of these functions
    have the same signature as the fingerprint() method. listkey() and listkeys()
    both supply arguments after --list-key and --list-keys as inputfile parameter
    to runGPG(). The inputfile parameter may be the name of a filename parameter
    to gpg or a non-filename arguments supplied to --list-keys or --list-key such
    as a user's email address (uid), key id (pub/sub) or key fingerprint.
    ashmew2 committed May 23, 2016
Commits on Jan 23, 2016
  1. Set version for new release

    committed Jan 20, 2016
  2. gpg.py: Close all PIPES opened

    committed Jan 20, 2016
Commits on Jan 20, 2016
Commits on Dec 18, 2015
  1. Update for gpg-2.1 changes

    committed Dec 18, 2015
Commits on Dec 13, 2015
  1. config.py: Add trust-models list

    committed Dec 13, 2015
Commits on Apr 21, 2015
  1. config.py: Remove attribute-fd option from the fingerprint and list-k…

    …ey(s) actions
    
    The stream data if present causes problems parsing the colon listings.
    committed Apr 21, 2015
Commits on Mar 23, 2015
  1. pyGPG/status.py: Revert py2 decoder to using unicode again

    I started getting errors with codecs in 2.7.9, but works again with unicode.
    committed Mar 23, 2015
Commits on Jan 29, 2015
  1. output.py: decode the output always

    As recommended by Zac Medico
    committed Jan 29, 2015
Commits on Jan 20, 2015
  1. status.py: Fix a utf-8 codec decode error

    UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 307: invalid continuation byte.
    First time I got that after a lot of runs.
    set decode to replace errors instead of the default 'strict' setting.
    committed Jan 20, 2015