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