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