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