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