Skip to content
Commits on Jan 29, 2014
  1. Add recent testdata additions to MANIFEST

    committed Jan 29, 2014
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Jan 27, 2014
  1. Version updates, copyright, etc.

    committed Jan 27, 2014
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  2. Added tests for modulus_bitlen

    Tobias Mueller (ideabox) committed with Jun 5, 2012
  3. packet: Added a modulus_bitlen field to indicate the size of the RSA key

    Tobias Mueller (ideabox) committed with Jun 5, 2012
    I was hesitating to add this, because it's a calculation that is not
    necessarily needed by the user of pgpdump. But then again, that is the
    case for nearly every data computed by pgpdump. It'd probably be smart
    to make all fields needing calculation a lazy Property() and update the
    fields after calculation.
  4. Python 2.6 compat: convert bytearray objects when necessary

    committed Jan 27, 2014
    Thanks to Avram Lubkin for the original patch to make this possible.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  5. Python 2.6 compat: unittest usage

    committed Jan 27, 2014
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  6. Python 2.6 compat: don't use keyword args to decode()

    committed Jan 27, 2014
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  7. @tyll

    Support partial body length headers

    tyll committed with May 7, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  8. @tyll

    new_tag_length(): Add reference to RFC4880

    tyll committed with May 7, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  9. @tyll

    new_tag_length(): Return offset for all read data

    tyll committed with May 7, 2013
    Make new_tag_length() return an offset with the amount of data read by
    it instead of one less, i.e. it returns at least an offset of '1'.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  10. Treat .txt as ASCII when reading files

    committed Jan 27, 2014
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Feb 3, 2013
  1. Update MANIFEST.in with new test data

    committed Feb 3, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  2. Update Copyright for 2013

    committed Feb 3, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  3. Implement parsing of mode 1002 secret key packets

    committed Feb 3, 2013
    This is a GnuPG extension when the secret key data is stored on a smart
    card or in a hardware security module. We blew up before when
    encountering this unexpected type; now we will parse and continue on
    without problems.
    
    Based on work by Ondrej Mikle and reading RFC 4880 and taking a quick
    glance at the GnuPG source.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  4. Add a .mailmap file

    committed Feb 3, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  5. @hiviah

    Sample of smartcard-tied 'private' GPG key

    hiviah committed with Feb 3, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  6. Add a hexlify helper util function

    committed Feb 3, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  7. Refactor S2K lookup

    committed Feb 3, 2013
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Oct 30, 2012
  1. Made the parsefile function yield packets it read

    Tobias Mueller (ideabox) committed with Jun 4, 2012
    This changes the interface of the function but I don't want to replicate
    that function in all the filters that I apply on top of the parsed data.
    My usecase is smth like this:
        for filename in sys.argv[1:]:
            for packet in ifilter(filter, parsefile(filename)):
                print(packet)
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  2. Remove deprecated 'datetime' methods

    committed Oct 29, 2012
    These were marked deprecated in the 1.2 release, so I feel fine removing
    them post-1.4 release.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Oct 22, 2012
  1. Prep for 1.4 release

    committed Oct 22, 2012
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  2. @abeluck

    Include tests for the SecretKeyPacket and SecretSubkeyPacket

    abeluck committed with Aug 3, 2012
    Dan: ensure they are Py3K compatible.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Aug 18, 2012
  1. @abeluck

    Added support for SecretKey and SecretSubKey packet formats

    abeluck committed with Aug 3, 2012
    Dan: minor style cleanups, fix Python 3 compatibility.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Aug 9, 2012
  1. @abeluck
  2. @abeluck

    Add cipher algorithm types and lookup methods

    abeluck committed with Aug 3, 2012
    Dan: a bit of cleanup for PEP8 compliance.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  3. Add more return values from parse() methods

    committed Aug 9, 2012
    Like was done in an earlier commit for PublicKeyPacket objects.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  4. @abeluck
Commits on May 12, 2012
  1. Update MANIFEST.in

    committed May 12, 2012
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  2. Add test cases for PublicKeyEncryptedSessionKeyPacket

    committed May 12, 2012
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  3. Small tweaks to PublicKeyEncryptedSessionKeyPacket

    committed May 12, 2012
    Validate the version number before continuing to parse, and store
    version in a specific field for this packet type like we do for the
    others.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  4. Added support for PublicKeyEncryptedSessionKeyPacket

    stef committed with May 11, 2012
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on May 8, 2012
  1. Bump to version 1.3

    committed May 8, 2012
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Apr 24, 2012
  1. Compile user-matching regex only once

    committed Apr 24, 2012
    The builtin regex caching should do this as well, but move it out of
    line just to make sure (as well as potentially make PyPy go faster).
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Commits on Apr 9, 2012
  1. Support version 3 ElGamal public keys

    committed Apr 9, 2012
    We're entering territory modern verisons of GPG don't even support. The
    "correct" values are determined from those that the keyserver is telling
    us, and a test case is added using those values from a rather old key.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
  2. Test class refactor

    committed Apr 9, 2012
    Move some utility methods into a helper class, use multiple inheritance,
    split long ParseTestCase class into two classes.
    
    Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Something went wrong with that request. Please try again.