]> Cypherpunks.ru repositories - pygost.git/blob - news.texi
pygost.gost3410.sign rand argument and more 34.10-2012 test vectors
[pygost.git] / news.texi
1 @node News
2 @unnumbered News
3
4 @table @strong
5
6 @anchor{Release 4.2}
7 @item 4.2
8     @itemize
9     @item @code{pygost.gost3410.sign} accepts predefined @code{rand}om
10         data used for k/r generation
11     @item More test vectors for 34.10-2012
12     @end itemize
13
14 @anchor{Release 4.1}
15 @item 4.1
16     @itemize
17     @item PEP-396 compatible module's @code{__version__}
18     @item Curve parameters aliases:
19 @verbatim
20 id-GostR3410-2001-CryptoPro-XchA-ParamSet -> id-GostR3410-2001-CryptoPro-A-ParamSet
21 id-GostR3410-2001-CryptoPro-XchB-ParamSet -> id-GostR3410-2001-CryptoPro-C-ParamSet
22 id-tc26-gost-3410-2012-256-paramSetB      -> id-GostR3410-2001-CryptoPro-A-ParamSet
23 id-tc26-gost-3410-2012-256-paramSetC      -> id-GostR3410-2001-CryptoPro-B-ParamSet
24 id-tc26-gost-3410-2012-256-paramSetD      -> id-GostR3410-2001-CryptoPro-C-ParamSet
25 @end verbatim
26     @item Forbid any later GNU GPL version autousage (project's licence
27         now is GNU GPLv3 only)
28     @end itemize
29
30 @anchor{Release 4.0}
31 @item 4.0
32     @itemize
33     @item 34.10-2012 TC26 twisted Edwards curve related parameters
34     @item Coordinates conversion from twisted Edwards to Weierstrass
35         form and vice versa
36     @item More test vectors
37     @item Backward incompatible Sbox and curves parameters renaming,
38         to comply with OIDs identifying them:
39 @verbatim
40 Gost2814789_TestParamSet       -> id-Gost28147-89-TestParamSet
41 Gost28147_CryptoProParamSetA   -> id-Gost28147-89-CryptoPro-A-ParamSet
42 Gost28147_CryptoProParamSetB   -> id-Gost28147-89-CryptoPro-B-ParamSet
43 Gost28147_CryptoProParamSetC   -> id-Gost28147-89-CryptoPro-C-ParamSet
44 Gost28147_CryptoProParamSetD   -> id-Gost28147-89-CryptoPro-D-ParamSet
45 Gost28147_tc26_ParamZ          -> id-tc26-gost-28147-param-Z
46 GostR3411_94_TestParamSet      -> id-GostR3411-94-TestParamSet
47 GostR3411_94_CryptoProParamSet -> id-GostR3411-94-CryptoProParamSet
48
49 GostR3410_2001_TestParamSet            -> id-GostR3410-2001-TestParamSet
50 GostR3410_2001_CryptoPro_A_ParamSet    -> id-GostR3410-2001-CryptoPro-A-ParamSet
51 GostR3410_2001_CryptoPro_B_ParamSet    -> id-GostR3410-2001-CryptoPro-B-ParamSet
52 GostR3410_2001_CryptoPro_C_ParamSet    -> id-GostR3410-2001-CryptoPro-C-ParamSet
53 GostR3410_2001_CryptoPro_XchA_ParamSet -> id-GostR3410-2001-CryptoPro-XchA-ParamSet
54 GostR3410_2001_CryptoPro_XchB_ParamSet -> id-GostR3410-2001-CryptoPro-XchB-ParamSet
55 GostR3410_2012_TC26_256_ParamSetA      -> id-tc26-gost-3410-2012-256-paramSetA
56 GostR3410_2012_TC26_ParamSetA          -> id-tc26-gost-3410-12-512-paramSetA
57 GostR3410_2012_TC26_ParamSetB          -> id-tc26-gost-3410-12-512-paramSetB
58 GostR3410_2012_TC26_ParamSetC          -> id-tc26-gost-3410-2012-512-paramSetC
59 @end verbatim
60     @item Backward incompatible @code{GOST3410Curve} initialization: all
61         parameters are passed not as big-endian encoded binaries, but as
62         integers
63     @item Backward incompatible change: @code{gost3410.CURVE_PARAMS} is
64       disappeared. @code{gost3410.CURVES} dictionary holds already
65       initialized @code{GOST3410Curve}. Just use
66       @code{CURVES["id-tc26-gost-3410-12-512-paramSetA"]} instead of
67       @code{GOST3410Curve(*CURVE_PARAMS["id-tc26-gost-3410-12-512-paramSetA"])}
68     @end itemize
69
70 @anchor{Release 3.15}
71 @item 3.15
72     @itemize
73     @item Licence changed back to GNU GPLv3+. GNU LGPLv3+ licenced
74         versions are not available anymore
75     @item More ASN.1-based test vectors
76         (@url{http://pyderasn.cypherpunks.ru/, PyDERASN} dependency required)
77     @end itemize
78
79 @anchor{Release 3.14}
80 @item 3.14
81 Add missing typing stubs related to previous release.
82
83 @anchor{Release 3.13}
84 @item 3.13
85     @itemize
86     @item Ability to explicitly specify used 28147-89 Sbox in
87         @code{pygost.wrap.*} functions
88     @item Ability to use key meshing in 28147-89 CBC mode
89     @end itemize
90
91 @anchor{Release 3.12}
92 @item 3.12
93     @itemize
94     @item Added mode argument to @code{pygost.gost3410_vko.kek_34102012256},
95         because 256-bit private keys can be used with that algorithm too.
96     @item Fix incorrect degree sanitizing in
97         @code{pygost.gost3410.GOST3410Curve.exp} preventing using of
98         @code{UKM=1} in @code{pygost.gost3410_vko.kek_*} functions.
99     @end itemize
100
101 @anchor{Release 3.11}
102 @item 3.11
103 Fixed PEP247 typing stub with invalid hexdigest method.
104
105 @anchor{Release 3.10}
106 @item 3.10
107 Additional missing 34.11-* typing stubs.
108
109 @anchor{Release 3.9}
110 @item 3.9
111 Add missing 34.11-2012 PBKDF2 typing stub.
112
113 @anchor{Release 3.8}
114 @item 3.8
115     @itemize
116     @item 34.11-2012 based PBKDF2 function added
117     @item 34.13-2015 does not require double blocksized IVs
118     @end itemize
119
120 @anchor{Release 3.7}
121 @item 3.7
122 Fixed 34.13-2015 OFB bug with IVs longer than 2 blocks.
123
124 @anchor{Release 3.6}
125 @item 3.6
126 Fixed source files installation during @command{setup.py install} invocation.
127
128 @anchor{Release 3.5}
129 @item 3.5
130 Dummy release: added long description in package metadata.
131
132 @anchor{Release 3.4}
133 @item 3.4
134     @itemize
135     @item Small mypy stubs related fixes
136     @item Licence changed from GNU GPLv3+ to GNU LGPLv3+
137     @end itemize
138
139 @anchor{Release 3.3}
140 @item 3.3
141     @itemize
142     @item @code{GOST3412Kuz} renamed to @code{GOST3412Kuznechik}
143     @item @code{GOST3412Magma} implements GOST R 34.12-2015 Magma 64-bit
144         block cipher
145     @end itemize
146
147 @anchor{Release 3.2}
148 @item 3.2
149 34.13-2015 block cipher modes of operation implementations.
150
151 @anchor{Release 3.1}
152 @item 3.1
153 Fixed mypy stubs related to PEP247-successors.
154
155 @anchor{Release 3.0}
156 @item 3.0
157     @itemize
158     @item @code{gost3411_94} renamed to @code{gost341194}
159     @item @code{gost3411_2012} renamed and split to
160         @code{gost34112012256}, @code{gost34112012512}
161     @item @code{GOST34112012} split to
162         @code{GOST34112012256}, @code{GOST34112012512}
163     @item @code{gost3410.kek} moved to separate
164         @code{gost3410_vko.kek_34102001}
165     @item VKO GOST R 34.10-2012 appeared in @code{gost3410_vko},
166         with test vectors
167     @item 34.11-94 digest is reversed, to be compatible with HMAC and
168         PBKDF2 test vectors describe in TC26 documents
169     @item 34.11-94 PBKDF2 test vectors added
170     @item @code{gost3410.prv_unmarshal},
171         @code{gost3410.pub_marshal},
172         @code{gost3410.pub_unmarshal}
173         helpers added, removing the need of @code{x509} module at all
174     @item @code{gost3410.verify} requires @code{(pubX, pubY)} tuple,
175         instead of two separate @code{pubX}, @code{pubY} arguments
176     @item 34.11-94 based PBKDF2 function added
177     @end itemize
178
179 @anchor{Release 2.4}
180 @item 2.4
181 Fixed 34.13 mypy stub.
182
183 @anchor{Release 2.3}
184 @item 2.3
185 Typo and pylint fixes.
186
187 @item 2.2
188 GOST R 34.13-2015 padding methods
189
190 @item 2.1
191 Documentation and supplementary files refactoring.
192
193 @item 2.0
194 PEP-0247 compatible hashers and MAC.
195
196 @item 1.0
197     @itemize
198     @item Ability to specify curve in pygost.x509 module
199     @item Ability to use 34.10-2012 in pygost.x509 functions
200     @item Renamed classes and modules:
201 @verbatim
202 pygost.gost3410.SIZE_34100 -> pygost.gost3410.SIZE_3410_2001
203 pygost.gost3410.SIZE_34112 -> pygost.gost3410.SIZE_3410_2012
204 pygost.gost3411_12.GOST341112 -> pygost.gost3411_2012.GOST34112012
205 @end verbatim
206     @end itemize
207
208 @item 0.16
209 34.10-2012 TC26 curve parameters.
210
211 @item 0.15
212 PEP-0484 static typing hints.
213
214 @item 0.14
215 34.10-2012 workability fix.
216
217 @item 0.13
218 Python3 compatibility.
219
220 @item 0.11
221 GOST R 34.12-2015 Кузнечик (Kuznechik) implementation.
222
223 @item 0.10
224 CryptoPro and GOST key wrapping, CryptoPro key meshing.
225
226 @end table