]> Cypherpunks.ru repositories - pyderasn.git/log
pyderasn.git
3 years agoHide mmap imports, failing on Windows 8.1
Sergey Matveev [Thu, 7 May 2020 17:20:04 +0000 (20:20 +0300)]
Hide mmap imports, failing on Windows

3 years agoFix test failing on Windows: it does not support negative timestamps
Sergey Matveev [Thu, 7 May 2020 17:07:03 +0000 (20:07 +0300)]
Fix test failing on Windows: it does not support negative timestamps

3 years agoMissing dateutil test dependency
Sergey Matveev [Thu, 7 May 2020 16:52:07 +0000 (19:52 +0300)]
Missing dateutil test dependency

4 years agoWord emphasis
Sergey Matveev [Mon, 20 Apr 2020 09:23:13 +0000 (12:23 +0300)]
Word emphasis

4 years agoExplicitly forbid aware-datetimes usage 8.0
Sergey Matveev [Tue, 14 Apr 2020 07:48:50 +0000 (10:48 +0300)]
Explicitly forbid aware-datetimes usage

4 years agoCheck if tag's long form used in expected way 7.7
Sergey Matveev [Mon, 13 Apr 2020 08:33:05 +0000 (11:33 +0300)]
Check if tag's long form used in expected way

4 years agoLong tag form must not contain zero byte
Sergey Matveev [Mon, 13 Apr 2020 08:12:22 +0000 (11:12 +0300)]
Long tag form must not contain zero byte

4 years agoSubstitute class name in exception
Sergey Matveev [Mon, 13 Apr 2020 07:54:35 +0000 (10:54 +0300)]
Substitute class name in exception

4 years agoProper VisibleString, IA5String, TeletexString, T61String validation 7.6
Sergey Matveev [Wed, 25 Mar 2020 10:21:58 +0000 (13:21 +0300)]
Proper VisibleString, IA5String, TeletexString, T61String validation

4 years agoPEP8
Sergey Matveev [Wed, 25 Mar 2020 10:19:31 +0000 (13:19 +0300)]
PEP8

4 years agoAlso print full TLVlen 7.5
Sergey Matveev [Mon, 23 Mar 2020 07:41:18 +0000 (10:41 +0300)]
Also print full TLVlen

4 years agoMention --browse
Sergey Matveev [Sun, 22 Mar 2020 15:12:09 +0000 (18:12 +0300)]
Mention --browse

4 years agoMissing CER mention in makedist
Sergey Matveev [Sun, 22 Mar 2020 14:47:35 +0000 (17:47 +0300)]
Missing CER mention in makedist

4 years agoMissing brackets
Sergey Matveev [Sun, 22 Mar 2020 14:45:00 +0000 (17:45 +0300)]
Missing brackets

4 years agoASN.1 browser 7.4
Sergey Matveev [Sun, 22 Mar 2020 11:46:38 +0000 (14:46 +0300)]
ASN.1 browser

4 years agoInteger.tohex()
Sergey Matveev [Sun, 22 Mar 2020 13:54:33 +0000 (16:54 +0300)]
Integer.tohex()

4 years agoRemove forgotten unreachable code
Sergey Matveev [Sun, 22 Mar 2020 13:53:18 +0000 (16:53 +0300)]
Remove forgotten unreachable code

4 years agoFix classes instantiation when invoked as __main__
Sergey Matveev [Sat, 21 Mar 2020 17:09:01 +0000 (20:09 +0300)]
Fix classes instantiation when invoked as __main__

4 years agoFix invalid defines specification
Sergey Matveev [Sat, 21 Mar 2020 16:51:20 +0000 (19:51 +0300)]
Fix invalid defines specification

That repairs autodecoding of certificates in tests and shows that forged
PayPal certificate can not be successfully decoded now as expected.

4 years agoExplicitly close file descriptors to satisfy hypothesis checks
Sergey Matveev [Sun, 22 Mar 2020 12:24:53 +0000 (15:24 +0300)]
Explicitly close file descriptors to satisfy hypothesis checks

4 years agocolonize_hex is publicly available function
Sergey Matveev [Wed, 26 Feb 2020 13:30:07 +0000 (16:30 +0300)]
colonize_hex is publicly available function

4 years agoStrict DEFAULT check in evgen mode 7.3
Sergey Matveev [Tue, 18 Feb 2020 07:04:48 +0000 (10:04 +0300)]
Strict DEFAULT check in evgen mode

4 years agoMore seealso directive usage
Sergey Matveev [Tue, 18 Feb 2020 07:15:44 +0000 (10:15 +0300)]
More seealso directive usage

4 years agoDER 2pass encoding 7.2
Sergey Matveev [Mon, 17 Feb 2020 13:58:41 +0000 (16:58 +0300)]
DER 2pass encoding

4 years agoCorrect permissions in tarball
Sergey Matveev [Mon, 17 Feb 2020 14:22:10 +0000 (17:22 +0300)]
Correct permissions in tarball

4 years agoSimplify code with _values_for_encoding override
Sergey Matveev [Mon, 17 Feb 2020 13:52:12 +0000 (16:52 +0300)]
Simplify code with _values_for_encoding override

4 years agoSimple performance optimizations
Sergey Matveev [Mon, 17 Feb 2020 13:47:12 +0000 (16:47 +0300)]
Simple performance optimizations

4 years agoSome PyLint disables
Sergey Matveev [Mon, 17 Feb 2020 13:43:58 +0000 (16:43 +0300)]
Some PyLint disables

4 years agoRestored CLI workability
Sergey Matveev [Mon, 17 Feb 2020 13:37:12 +0000 (16:37 +0300)]
Restored CLI workability

4 years agoOmit writer keyword, as it is the only argument
Sergey Matveev [Mon, 17 Feb 2020 13:02:23 +0000 (16:02 +0300)]
Omit writer keyword, as it is the only argument

4 years agoUse bytes joining for three elements
Sergey Matveev [Mon, 17 Feb 2020 12:12:00 +0000 (15:12 +0300)]
Use bytes joining for three elements

4 years agoRemove unused variable
Sergey Matveev [Mon, 17 Feb 2020 12:12:16 +0000 (15:12 +0300)]
Remove unused variable

4 years agoRemove forgotten moved get_def_by_path
Sergey Matveev [Mon, 17 Feb 2020 11:04:00 +0000 (14:04 +0300)]
Remove forgotten moved get_def_by_path

4 years agoREADME update and CER/BER mentioning 7.1
Sergey Matveev [Sun, 16 Feb 2020 18:41:01 +0000 (21:41 +0300)]
README update and CER/BER mentioning

4 years agoCheck that interleaved characters are ok 7.0
Sergey Matveev [Sun, 16 Feb 2020 18:22:54 +0000 (21:22 +0300)]
Check that interleaved characters are ok

4 years agoStore OIDs as an array.array
Sergey Matveev [Sun, 16 Feb 2020 17:38:08 +0000 (20:38 +0300)]
Store OIDs as an array.array

4 years agoSplit TestX690PrefixedType test cases
Sergey Matveev [Sun, 16 Feb 2020 14:52:48 +0000 (17:52 +0300)]
Split TestX690PrefixedType test cases

4 years agoUp to date documentation
Sergey Matveev [Sun, 16 Feb 2020 11:10:18 +0000 (14:10 +0300)]
Up to date documentation

4 years agoSequenceOf iterator support
Sergey Matveev [Sat, 15 Feb 2020 15:52:35 +0000 (18:52 +0300)]
SequenceOf iterator support

4 years agoStreaming of huge data support
Sergey Matveev [Sat, 15 Feb 2020 14:52:45 +0000 (17:52 +0300)]
Streaming of huge data support

4 years agoCheck for evgen upto mode
Sergey Matveev [Sat, 15 Feb 2020 13:10:52 +0000 (16:10 +0300)]
Check for evgen upto mode

4 years agoagg_octet_string
Sergey Matveev [Sat, 15 Feb 2020 11:51:09 +0000 (14:51 +0300)]
agg_octet_string

4 years agoCLI --evgen
Sergey Matveev [Fri, 14 Feb 2020 14:34:18 +0000 (17:34 +0300)]
CLI --evgen

4 years agommap-ed memoryview support
Sergey Matveev [Fri, 14 Feb 2020 09:02:25 +0000 (12:02 +0300)]
mmap-ed memoryview support

4 years agoInitial support for CER encoding
Sergey Matveev [Wed, 12 Feb 2020 07:42:30 +0000 (10:42 +0300)]
Initial support for CER encoding

4 years agoInitial support for event generated mode
Sergey Matveev [Mon, 10 Feb 2020 16:41:57 +0000 (19:41 +0300)]
Initial support for event generated mode

4 years agoValid DER SET ordering
Sergey Matveev [Wed, 12 Feb 2020 14:10:35 +0000 (17:10 +0300)]
Valid DER SET ordering

4 years agoFix double encoded values decoding in SET
Sergey Matveev [Wed, 12 Feb 2020 09:50:22 +0000 (12:50 +0300)]
Fix double encoded values decoding in SET

4 years agoSome trivial documentation links
Sergey Matveev [Sat, 15 Feb 2020 18:44:57 +0000 (21:44 +0300)]
Some trivial documentation links

4 years agoFix minimal tag value in tests: zero tag has only EOC
Sergey Matveev [Wed, 12 Feb 2020 14:08:48 +0000 (17:08 +0300)]
Fix minimal tag value in tests: zero tag has only EOC

4 years agoMove CLI usage example to the library itself
Sergey Matveev [Sat, 15 Feb 2020 18:55:10 +0000 (21:55 +0300)]
Move CLI usage example to the library itself

4 years agoUse BasicState for code reducing
Sergey Matveev [Wed, 12 Feb 2020 11:45:45 +0000 (14:45 +0300)]
Use BasicState for code reducing

4 years agoUse "schema" instead of "scheme" everywhere
Sergey Matveev [Sat, 15 Feb 2020 18:34:11 +0000 (21:34 +0300)]
Use "schema" instead of "scheme" everywhere

4 years agoenviron import is used only in __main__
Sergey Matveev [Wed, 12 Feb 2020 10:57:18 +0000 (13:57 +0300)]
environ import is used only in __main__

4 years agoSlightly more modern Sphinx
Sergey Matveev [Wed, 12 Feb 2020 09:49:50 +0000 (12:49 +0300)]
Slightly more modern Sphinx

4 years agoExplicitly note tag_ctxX usage
Sergey Matveev [Wed, 12 Feb 2020 07:57:59 +0000 (10:57 +0300)]
Explicitly note tag_ctxX usage

4 years agoSeparate fast and long testing modes with nose configuration
Sergey Matveev [Wed, 12 Feb 2020 07:53:19 +0000 (10:53 +0300)]
Separate fast and long testing modes with nose configuration

4 years agoAbility to specify max_examples via envvar
Sergey Matveev [Wed, 12 Feb 2020 07:50:05 +0000 (10:50 +0300)]
Ability to specify max_examples via envvar

4 years agoMistakes in docstring
Sergey Matveev [Wed, 12 Feb 2020 07:41:48 +0000 (10:41 +0300)]
Mistakes in docstring

4 years agoUse generator for values to be encoded
Sergey Matveev [Wed, 12 Feb 2020 07:41:09 +0000 (10:41 +0300)]
Use generator for values to be encoded

That would be useful in the future.

4 years agois comparison is slightly faster
Sergey Matveev [Tue, 11 Feb 2020 10:48:07 +0000 (13:48 +0300)]
is comparison is slightly faster

4 years agoSync README with documentation features page
Sergey Matveev [Tue, 11 Feb 2020 10:44:52 +0000 (13:44 +0300)]
Sync README with documentation features page

4 years agonamedtuple initialization workability under Py35 6.3
Sergey Matveev [Tue, 11 Feb 2020 09:53:41 +0000 (12:53 +0300)]
namedtuple initialization workability under Py35

4 years agoFaster Set readiness determining during decode
Sergey Matveev [Mon, 10 Feb 2020 16:09:23 +0000 (19:09 +0300)]
Faster Set readiness determining during decode

4 years agoRemove unneeded _decode_chunk method
Sergey Matveev [Mon, 10 Feb 2020 12:09:33 +0000 (15:09 +0300)]
Remove unneeded _decode_chunk method

4 years agoReduce indentation
Sergey Matveev [Mon, 10 Feb 2020 10:10:38 +0000 (13:10 +0300)]
Reduce indentation

4 years agoReuse import
Sergey Matveev [Mon, 10 Feb 2020 09:53:12 +0000 (12:53 +0300)]
Reuse import

4 years agoTypo
Sergey Matveev [Mon, 10 Feb 2020 09:50:26 +0000 (12:50 +0300)]
Typo

4 years agoFully strict integers validation in *Time 6.2
Sergey Matveev [Mon, 10 Feb 2020 09:38:17 +0000 (12:38 +0300)]
Fully strict integers validation in *Time

4 years agoNew performance measurements 6.1
Sergey Matveev [Sun, 9 Feb 2020 13:17:47 +0000 (16:17 +0300)]
New performance measurements

4 years agoAllow raw BER *Time access
Sergey Matveev [Sun, 9 Feb 2020 16:14:01 +0000 (19:14 +0300)]
Allow raw BER *Time access

4 years agoLess expensive isinstance() calls
Sergey Matveev [Sun, 9 Feb 2020 14:03:50 +0000 (17:03 +0300)]
Less expensive isinstance() calls

4 years agoFaster *Time decoding
Sergey Matveev [Sun, 9 Feb 2020 09:06:36 +0000 (12:06 +0300)]
Faster *Time decoding

4 years agoPlace several global variables at top of module
Sergey Matveev [Sun, 9 Feb 2020 09:34:14 +0000 (12:34 +0300)]
Place several global variables at top of module

4 years agoIndexed comparison slightly faster than .startswith()
Sergey Matveev [Sun, 9 Feb 2020 08:34:51 +0000 (11:34 +0300)]
Indexed comparison slightly faster than .startswith()

4 years agoCython compatibility
Sergey Matveev [Sat, 8 Feb 2020 19:44:54 +0000 (22:44 +0300)]
Cython compatibility

Module has to be specified for namedtuples for pickling under Cython.

4 years ago*Time BER decoding support
Sergey Matveev [Sat, 8 Feb 2020 09:58:25 +0000 (12:58 +0300)]
*Time BER decoding support

4 years agoStricter validation of *Time
Sergey Matveev [Sat, 8 Feb 2020 12:34:25 +0000 (15:34 +0300)]
Stricter validation of *Time

4 years agoMore test coverage
Sergey Matveev [Sat, 8 Feb 2020 16:56:23 +0000 (19:56 +0300)]
More test coverage

4 years agoOlder Python version support is not a limitation anymore
Sergey Matveev [Sat, 8 Feb 2020 09:58:55 +0000 (12:58 +0300)]
Older Python version support is not a limitation anymore

Because pyasn1 dropped it too.

4 years agoUpdated dependencies
Sergey Matveev [Sat, 8 Feb 2020 15:20:28 +0000 (18:20 +0300)]
Updated dependencies

4 years agoBetter english
Sergey Matveev [Sat, 8 Feb 2020 09:58:00 +0000 (12:58 +0300)]
Better english

4 years agoASN.1 tells that *Time is VisibleString
Sergey Matveev [Sat, 8 Feb 2020 09:57:21 +0000 (12:57 +0300)]
ASN.1 tells that *Time is VisibleString

4 years agoAll OID arcs must be non-negative numbers
Sergey Matveev [Sat, 8 Feb 2020 09:54:39 +0000 (12:54 +0300)]
All OID arcs must be non-negative numbers

4 years agoFix UTCTime strategy input
Sergey Matveev [Sat, 8 Feb 2020 09:54:56 +0000 (12:54 +0300)]
Fix UTCTime strategy input

4 years agoExplicit mention of copy and pickle friendliness
Sergey Matveev [Fri, 7 Feb 2020 05:25:30 +0000 (08:25 +0300)]
Explicit mention of copy and pickle friendliness

4 years agoTypo
Sergey Matveev [Fri, 7 Feb 2020 05:24:38 +0000 (08:24 +0300)]
Typo

4 years agoPlace test_six.py inside tests directory
Sergey Matveev [Thu, 6 Feb 2020 13:50:33 +0000 (16:50 +0300)]
Place test_six.py inside tests directory

4 years agoTest code human readable OIDs 6.0
Sergey Matveev [Thu, 6 Feb 2020 13:33:34 +0000 (16:33 +0300)]
Test code human readable OIDs

4 years agoGrammar typos
Sergey Matveev [Thu, 6 Feb 2020 13:23:55 +0000 (16:23 +0300)]
Grammar typos

4 years agoExplicitly mention that zero year is unsupported
Sergey Matveev [Thu, 6 Feb 2020 13:18:32 +0000 (16:18 +0300)]
Explicitly mention that zero year is unsupported

4 years ago.hexencode, .hexdecode, .hexdecod
Sergey Matveev [Thu, 6 Feb 2020 12:11:08 +0000 (15:11 +0300)]
.hexencode, .hexdecode, .hexdecod

4 years agoPrintableString'es .allow_asterisk and .allow_ampersand properties
Sergey Matveev [Thu, 6 Feb 2020 10:59:02 +0000 (13:59 +0300)]
PrintableString'es .allow_asterisk and .allow_ampersand properties

4 years agocopy/pickle friendly Obj
Sergey Matveev [Thu, 6 Feb 2020 10:51:42 +0000 (13:51 +0300)]
copy/pickle friendly Obj

4 years agoMore decod() usage examples
Sergey Matveev [Thu, 6 Feb 2020 11:37:44 +0000 (14:37 +0300)]
More decod() usage examples

4 years agoExplicitly mention about impl/expl class attributes
Sergey Matveev [Thu, 6 Feb 2020 11:31:00 +0000 (14:31 +0300)]
Explicitly mention about impl/expl class attributes

4 years agoPEP8
Sergey Matveev [Thu, 6 Feb 2020 08:19:32 +0000 (11:19 +0300)]
PEP8

4 years agoNo need in dangerous memoryview in Any's .tag
Sergey Matveev [Wed, 5 Feb 2020 16:29:53 +0000 (19:29 +0300)]
No need in dangerous memoryview in Any's .tag

4 years agoUnnecessary CommonString's encoding slot
Sergey Matveev [Thu, 6 Feb 2020 11:05:13 +0000 (14:05 +0300)]
Unnecessary CommonString's encoding slot

4 years agoPrintableString can optionally allow * and & 5.6
Sergey Matveev [Thu, 23 Jan 2020 15:59:49 +0000 (18:59 +0300)]
PrintableString can optionally allow * and &