]> Cypherpunks.ru repositories - pygost.git/commitdiff
Missing typing stubs
authorSergey Matveev <stargrave@stargrave.org>
Mon, 3 Dec 2018 10:39:56 +0000 (13:39 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 9 Dec 2018 10:01:32 +0000 (13:01 +0300)
NEWS
VERSION
download.texi
news.texi
pygost/stubs/pygost/gost28147.pyi
pygost/stubs/pygost/wrap.pyi

diff --git a/NEWS b/NEWS
index 2655265411dbffa83bcd9c9d7b2a988e71c5700c..1edac652ceb52787e4eca59a8aa8ae40d7377341 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+3.14:
+    Add missing typing stubs related to previous release.
+
 3.13:
     * Ability to explicitly specify used 28147-89 Sbox in
       pygost.wrap.* functions
diff --git a/VERSION b/VERSION
index 24ee5b1be9961e38a503c8e764b7385dbb6ba124..6324d401a069f4020efcf0ff07442724b52f47c2 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.13
+3.14
index a119555b6f5da69d45fd3a145a35ea59744c8e26..4bd4d1321789378b73dd19170787922702072c4b 100644 (file)
@@ -6,11 +6,11 @@ No additional dependencies except Python 2.7/3.x interpreter are required.
 Preferable way is to download tarball with the signature:
 
 @verbatim
-% wget http://pygost.cypherpunks.ru/pygost-3.13.tar.xz
-% wget http://pygost.cypherpunks.ru/pygost-3.13.tar.xz.sig
-% gpg --verify pygost-3.13.tar.xz.sig pygost-3.13.tar.xz
-% xz -d < pygost-3.13.tar.xz | tar xf -
-% cd pygost-3.13
+% wget http://pygost.cypherpunks.ru/pygost-3.14.tar.xz
+% wget http://pygost.cypherpunks.ru/pygost-3.14.tar.xz.sig
+% gpg --verify pygost-3.14.tar.xz.sig pygost-3.14.tar.xz
+% xz -d < pygost-3.14.tar.xz | tar xf -
+% cd pygost-3.14
 % python setup.py install
 @end verbatim
 
@@ -102,7 +102,7 @@ Preferable way is to download tarball with the signature:
 But also you can use PIP (@strong{no} authentication is performed!):
 
 @verbatim
-% pip install pygost==3.13
+% pip install pygost==3.14
 @end verbatim
 
 You @strong{have to} verify downloaded tarballs integrity and
index e87f63706c9ccfb4f7cbff2c88dc5523329ecf3e..811ebb6393f86b8ea612df868be9f9189931c5a7 100644 (file)
--- a/news.texi
+++ b/news.texi
@@ -3,6 +3,10 @@
 
 @table @strong
 
+@anchor{Release 3.14}
+@item 3.14
+Add missing typing stubs related to previous release.
+
 @anchor{Release 3.13}
 @item 3.13
     @itemize
index 1c0986f73bbf7343249e70a68fef2e66f83d5749..d0f17dbc137a3c99308c741f550f7255bc2515ac 100644 (file)
@@ -65,6 +65,7 @@ def cbc_encrypt(
     iv: bytes=...,
     pad: bool=...,
     sbox: str=...,
+    mesh: bool=...,
 ) -> bytes: ...
 
 
@@ -73,6 +74,7 @@ def cbc_decrypt(
     data: bytes,
     pad: bool=...,
     sbox: str=...,
+    mesh: bool=...,
 ) -> bytes: ...
 
 
index ec63cb53b4961050ff303076a020033f918490c6..7aba9d2c11596e15612837d8c56d0bc7c7d2b165 100644 (file)
@@ -1,10 +1,10 @@
-def wrap_gost(ukm: bytes, kek: bytes, cek: bytes) -> bytes: ...
+def wrap_gost(ukm: bytes, kek: bytes, cek: bytes, sbox: str) -> bytes: ...
 
 
-def unwrap_gost(kek: bytes, data: bytes) -> bytes: ...
+def unwrap_gost(kek: bytes, data: bytes, sbox: str) -> bytes: ...
 
 
-def wrap_cryptopro(ukm: bytes, kek: bytes, cek: bytes) -> bytes: ...
+def wrap_cryptopro(ukm: bytes, kek: bytes, cek: bytes, sbox: str) -> bytes: ...
 
 
-def unwrap_cryptopro(kek: bytes, data: bytes) -> bytes: ...
+def unwrap_cryptopro(kek: bytes, data: bytes, sbox: str) -> bytes: ...