]> Cypherpunks.ru repositories - pygost.git/blob - news.texi
Fixed incorrect digest calculation
[pygost.git] / news.texi
1 @node News
2 @unnumbered News
3
4 @table @strong
5
6 @anchor{Release 5.12}
7 @item 5.12
8 Fixed incorrect digest calculation when using @code{GOST34112012*.update()}
9 method.
10
11 @anchor{Release 5.11}
12 @item 5.11
13 @code{gost34112012}'s @code{update()}/@code{digest()} methods are
14 streaming now -- they do not store the whole data in memory.
15
16 @anchor{Release 5.10}
17 @item 5.10
18 Added ISO 10126 @code{pygost.gost3413.(un)pad_iso10126} padding support.
19
20 @anchor{Release 5.9}
21 @item 5.9
22 Fixed @code{wrap.wrap_cryptopro}, that ignored Sbox for key diversification.
23
24 @anchor{Release 5.8}
25 @item 5.8
26 Added human-readable name of the curve in @code{GOST3410Curve.name}.
27
28 @anchor{Release 5.7}
29 @item 5.7
30 Fixed MGM ignoring of the set tag size.
31
32 @anchor{Release 5.6}
33 @item 5.6
34 Fixed lint errors for previous release.
35
36 @anchor{Release 5.5}
37 @item 5.5
38 More 34.10 curve parameters aliases:
39 @verbatim
40 id-tc26-gost-3410-2012-256-paramSetA -> id-tc26-gost-3410-12-256-paramSetA
41 id-tc26-gost-3410-2012-256-paramSetB -> id-tc26-gost-3410-12-256-paramSetB
42 id-tc26-gost-3410-2012-256-paramSetC -> id-tc26-gost-3410-12-256-paramSetC
43 id-tc26-gost-3410-2012-256-paramSetD -> id-tc26-gost-3410-12-256-paramSetD
44 id-tc26-gost-3410-2012-512-paramSetTest -> id-tc26-gost-3410-12-512-paramSetTest
45 id-tc26-gost-3410-2012-512-paramSetA -> id-tc26-gost-3410-12-512-paramSetA
46 id-tc26-gost-3410-2012-512-paramSetB -> id-tc26-gost-3410-12-512-paramSetB
47 id-tc26-gost-3410-2012-512-paramSetC -> id-tc26-gost-3410-12-512-paramSetC
48 @end verbatim
49
50 @anchor{Release 5.4}
51 @item 5.4
52 @code{gost3410.prv_marshal} helper can make private keys that are
53 in curve's Q field, for better compatibility with some implementations.
54
55 @anchor{Release 5.3}
56 @item 5.3
57     @itemize
58     @item More than 4 times speed increase of @code{gost34112012}.
59     @item @command{asn1schemas/cert-selfsigned-example.py} optionally
60         can issue CA signed child certificate.
61     @end itemize
62
63 @anchor{Release 5.2}
64 @item 5.2
65     @itemize
66     @item @code{GOST3410Curve} has @code{.contains(point)} method for
67         checking if point is on the curve.
68     @item @code{gost3410_vko} functions check if remote peer's public
69         key is on the curve.
70     @item Small typing stubs fixes.
71     @end itemize
72
73 @anchor{Release 5.1}
74 @item 5.1
75 Small typing stubs fixes.
76
77 @anchor{Release 5.0}
78 @item 5.0
79     @itemize
80     @item Backward incompatible removing of misleading and excess
81         @option{mode} keyword argument from all @code{gost3410*} related
82         functions. Point/key sizes are determined by looking at curve's
83         parameters size.
84     @item @command{asn1schemas/cert-selfsigned-example.py} optionally
85         can create CA certificate.
86     @end itemize
87
88 @anchor{Release 4.9}
89 @item 4.9
90     @itemize
91     @item @strong{Fixed} nasty bug with Edwards curves using in
92         34.10-VKO functions: curve's cofactor has not been used
93     @item CTR-ACPKM mode of operation
94     @item OMAC-ACPKM-Master moder of operation
95     @item KExp15/KImp15 key export/import functions
96     @item KDF_GOSTR3411_2012_256, KDF_TREE_GOSTR3411_2012_256
97     @item KEG export key generation function
98     @end itemize
99
100 @anchor{Release 4.8}
101 @item 4.8
102 MGM AEAD mode for 64 and 128 bit ciphers.
103
104 @anchor{Release 4.7}
105 @item 4.7
106 Removed @code{gost28147.addmod} for simplicity.
107
108 @anchor{Release 4.6}
109 @item 4.6
110 Fix invalid @code{gost28147.addmod}'s behaviour with much bigger values
111 than the modulo.
112
113 @anchor{Release 4.5}
114 @item 4.5
115 Fixed digest endianness and more RFC4491bis conformance in
116 @command{asn1schemas/cert-selfsigned-example.py} certificate's.
117
118 @anchor{Release 4.4}
119 @item 4.4
120     @itemize
121     @item @code{id-tc26-gost-3410-2012-512-paramSetTest} curve
122     @item Simple FAQ
123     @item More test vectors for 34.10-2012
124     @item More X.509, PKCS #10 and corresponding ASN.1 helper structures
125     @end itemize
126
127 @anchor{Release 4.3}
128 @item 4.3
129 Dummy release with fixed @code{pygost.__version__}.
130
131 @anchor{Release 4.2}
132 @item 4.2
133     @itemize
134     @item @code{pygost.gost3410.sign} accepts predefined random
135         data used for k/r generation
136     @item More test vectors for 34.10-2012
137     @end itemize
138
139 @anchor{Release 4.1}
140 @item 4.1
141     @itemize
142     @item PEP-396 compatible module's @code{__version__}
143     @item Curve parameters aliases:
144 @verbatim
145 id-GostR3410-2001-CryptoPro-XchA-ParamSet -> id-GostR3410-2001-CryptoPro-A-ParamSet
146 id-GostR3410-2001-CryptoPro-XchB-ParamSet -> id-GostR3410-2001-CryptoPro-C-ParamSet
147 id-tc26-gost-3410-2012-256-paramSetB      -> id-GostR3410-2001-CryptoPro-A-ParamSet
148 id-tc26-gost-3410-2012-256-paramSetC      -> id-GostR3410-2001-CryptoPro-B-ParamSet
149 id-tc26-gost-3410-2012-256-paramSetD      -> id-GostR3410-2001-CryptoPro-C-ParamSet
150 @end verbatim
151     @item Forbid any later GNU GPL version autousage (project's licence
152         now is GNU GPLv3 only)
153     @end itemize
154
155 @anchor{Release 4.0}
156 @item 4.0
157     @itemize
158     @item 34.10-2012 TC26 twisted Edwards curve related parameters
159     @item Coordinates conversion from twisted Edwards to Weierstrass
160         form and vice versa
161     @item More test vectors
162     @item Backward incompatible Sbox and curves parameters renaming,
163         to comply with OIDs identifying them:
164 @verbatim
165 Gost2814789_TestParamSet       -> id-Gost28147-89-TestParamSet
166 Gost28147_CryptoProParamSetA   -> id-Gost28147-89-CryptoPro-A-ParamSet
167 Gost28147_CryptoProParamSetB   -> id-Gost28147-89-CryptoPro-B-ParamSet
168 Gost28147_CryptoProParamSetC   -> id-Gost28147-89-CryptoPro-C-ParamSet
169 Gost28147_CryptoProParamSetD   -> id-Gost28147-89-CryptoPro-D-ParamSet
170 Gost28147_tc26_ParamZ          -> id-tc26-gost-28147-param-Z
171 GostR3411_94_TestParamSet      -> id-GostR3411-94-TestParamSet
172 GostR3411_94_CryptoProParamSet -> id-GostR3411-94-CryptoProParamSet
173
174 GostR3410_2001_TestParamSet            -> id-GostR3410-2001-TestParamSet
175 GostR3410_2001_CryptoPro_A_ParamSet    -> id-GostR3410-2001-CryptoPro-A-ParamSet
176 GostR3410_2001_CryptoPro_B_ParamSet    -> id-GostR3410-2001-CryptoPro-B-ParamSet
177 GostR3410_2001_CryptoPro_C_ParamSet    -> id-GostR3410-2001-CryptoPro-C-ParamSet
178 GostR3410_2001_CryptoPro_XchA_ParamSet -> id-GostR3410-2001-CryptoPro-XchA-ParamSet
179 GostR3410_2001_CryptoPro_XchB_ParamSet -> id-GostR3410-2001-CryptoPro-XchB-ParamSet
180 GostR3410_2012_TC26_256_ParamSetA      -> id-tc26-gost-3410-2012-256-paramSetA
181 GostR3410_2012_TC26_ParamSetA          -> id-tc26-gost-3410-12-512-paramSetA
182 GostR3410_2012_TC26_ParamSetB          -> id-tc26-gost-3410-12-512-paramSetB
183 GostR3410_2012_TC26_ParamSetC          -> id-tc26-gost-3410-2012-512-paramSetC
184 @end verbatim
185     @item Backward incompatible @code{GOST3410Curve} initialization: all
186         parameters are passed not as big-endian encoded binaries, but as
187         integers
188     @item Backward incompatible change: @code{gost3410.CURVE_PARAMS} is
189       disappeared. @code{gost3410.CURVES} dictionary holds already
190       initialized @code{GOST3410Curve}. Just use
191       @code{CURVES["id-tc26-gost-3410-12-512-paramSetA"]} instead of
192       @code{GOST3410Curve(*CURVE_PARAMS["id-tc26-gost-3410-12-512-paramSetA"])}
193     @end itemize
194
195 @anchor{Release 3.15}
196 @item 3.15
197     @itemize
198     @item Licence changed back to GNU GPLv3+. GNU LGPLv3+ licenced
199         versions are not available anymore
200     @item More ASN.1-based test vectors
201         (@url{http://www.pyderasn.cypherpunks.ru/, PyDERASN} dependency required)
202     @end itemize
203
204 @anchor{Release 3.14}
205 @item 3.14
206 Add missing typing stubs related to previous release.
207
208 @anchor{Release 3.13}
209 @item 3.13
210     @itemize
211     @item Ability to explicitly specify used 28147-89 Sbox in
212         @code{pygost.wrap.*} functions
213     @item Ability to use key meshing in 28147-89 CBC mode
214     @end itemize
215
216 @anchor{Release 3.12}
217 @item 3.12
218     @itemize
219     @item Added mode argument to @code{pygost.gost3410_vko.kek_34102012256},
220         because 256-bit private keys can be used with that algorithm too.
221     @item Fix incorrect degree sanitizing in
222         @code{pygost.gost3410.GOST3410Curve.exp} preventing using of
223         @code{UKM=1} in @code{pygost.gost3410_vko.kek_*} functions.
224     @end itemize
225
226 @anchor{Release 3.11}
227 @item 3.11
228 Fixed PEP247 typing stub with invalid hexdigest method.
229
230 @anchor{Release 3.10}
231 @item 3.10
232 Additional missing 34.11-* typing stubs.
233
234 @anchor{Release 3.9}
235 @item 3.9
236 Add missing 34.11-2012 PBKDF2 typing stub.
237
238 @anchor{Release 3.8}
239 @item 3.8
240     @itemize
241     @item 34.11-2012 based PBKDF2 function added
242     @item 34.13-2015 does not require double blocksized IVs
243     @end itemize
244
245 @anchor{Release 3.7}
246 @item 3.7
247 Fixed 34.13-2015 OFB bug with IVs longer than 2 blocks.
248
249 @anchor{Release 3.6}
250 @item 3.6
251 Fixed source files installation during @command{setup.py install} invocation.
252
253 @anchor{Release 3.5}
254 @item 3.5
255 Dummy release: added long description in package metadata.
256
257 @anchor{Release 3.4}
258 @item 3.4
259     @itemize
260     @item Small mypy stubs related fixes
261     @item Licence changed from GNU GPLv3+ to GNU LGPLv3+
262     @end itemize
263
264 @anchor{Release 3.3}
265 @item 3.3
266     @itemize
267     @item @code{GOST3412Kuz} renamed to @code{GOST3412Kuznechik}
268     @item @code{GOST3412Magma} implements GOST R 34.12-2015 Magma 64-bit
269         block cipher
270     @end itemize
271
272 @anchor{Release 3.2}
273 @item 3.2
274 34.13-2015 block cipher modes of operation implementations.
275
276 @anchor{Release 3.1}
277 @item 3.1
278 Fixed mypy stubs related to PEP247-successors.
279
280 @anchor{Release 3.0}
281 @item 3.0
282     @itemize
283     @item @code{gost3411_94} renamed to @code{gost341194}
284     @item @code{gost3411_2012} renamed and split to
285         @code{gost34112012256}, @code{gost34112012512}
286     @item @code{GOST34112012} split to
287         @code{GOST34112012256}, @code{GOST34112012512}
288     @item @code{gost3410.kek} moved to separate
289         @code{gost3410_vko.kek_34102001}
290     @item VKO GOST R 34.10-2012 appeared in @code{gost3410_vko},
291         with test vectors
292     @item 34.11-94 digest is reversed, to be compatible with HMAC and
293         PBKDF2 test vectors describe in TC26 documents
294     @item 34.11-94 PBKDF2 test vectors added
295     @item @code{gost3410.prv_unmarshal},
296         @code{gost3410.pub_marshal},
297         @code{gost3410.pub_unmarshal}
298         helpers added, removing the need of @code{x509} module at all
299     @item @code{gost3410.verify} requires @code{(pubX, pubY)} tuple,
300         instead of two separate @code{pubX}, @code{pubY} arguments
301     @item 34.11-94 based PBKDF2 function added
302     @end itemize
303
304 @anchor{Release 2.4}
305 @item 2.4
306 Fixed 34.13 mypy stub.
307
308 @anchor{Release 2.3}
309 @item 2.3
310 Typo and pylint fixes.
311
312 @item 2.2
313 GOST R 34.13-2015 padding methods.
314
315 @item 2.1
316 Documentation and supplementary files refactoring.
317
318 @item 2.0
319 PEP-0247 compatible hashers and MAC.
320
321 @item 1.0
322     @itemize
323     @item Ability to specify curve in pygost.x509 module
324     @item Ability to use 34.10-2012 in pygost.x509 functions
325     @item Renamed classes and modules:
326 @verbatim
327 pygost.gost3410.SIZE_34100 -> pygost.gost3410.SIZE_3410_2001
328 pygost.gost3410.SIZE_34112 -> pygost.gost3410.SIZE_3410_2012
329 pygost.gost3411_12.GOST341112 -> pygost.gost3411_2012.GOST34112012
330 @end verbatim
331     @end itemize
332
333 @item 0.16
334 34.10-2012 TC26 curve parameters.
335
336 @item 0.15
337 PEP-0484 static typing hints.
338
339 @item 0.14
340 34.10-2012 workability fix.
341
342 @item 0.13
343 Python3 compatibility.
344
345 @item 0.11
346 GOST R 34.12-2015 Кузнечик (Kuznechik) implementation.
347
348 @item 0.10
349 CryptoPro and GOST key wrapping, CryptoPro key meshing.
350
351 @end table