Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smessage integration #293

Merged
merged 13 commits into from
Jan 25, 2018
Merged

Conversation

Lagovas
Copy link
Collaborator

@Lagovas Lagovas commented Jan 24, 2018

  • each themis module tested separately
  • secure messages tested in encryption and signing mode
  • completed other integration suits (some cross-language tests wasn't added and that why decided to split them and add table of supported links of languages)


## with context
echo ".. testing secure cell, seal mode context, php <--> python"
python ./tests/_integration/scell_seal_string_echo.py "dec" "passwd" `php -f ./tests/_integration/scell_seal_string_echo.php "enc" "passwd" "ruby->python seal with context" "somecontext"` "somecontext"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

php->python

python ./tests/_integration/scell_seal_string_echo.py "dec" "passwd" `php -f ./tests/_integration/scell_seal_string_echo.php "enc" "passwd" "ruby->python seal with context" "somecontext"` "somecontext"
check_result_zero
echo ".. testing secure cell, seal mode, python <--> php"
php -f ./tests/_integration/scell_seal_string_echo.php "dec" "passwd" `python ./tests/_integration/scell_seal_string_echo.py "enc" "passwd" "python->ruby seal with context" "somecontext"` "somecontext"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python->php

ruby ./tests/_integration/smessage_encryption.rb "verify" "./tests/_integration/keys/server.priv" "./tests/_integration/keys/client.pub" `go run ./tests/_integration/smessage_encryption.go "sign" "./tests/_integration/keys/client.priv" "./tests/_integration/keys/server.pub" "go -> python secure message"`
check_result_zero
echo ".. testing secure message, ruby <--> go"
go run ./tests/_integration/smessage_encryption.go "verify" "./tests/_integration/keys/server.priv" "./tests/_integration/keys/client.pub" `ruby ./tests/_integration/smessage_encryption.rb "sign" "./tests/_integration/keys/client.priv" "./tests/_integration/keys/server.pub" "ruby secure message"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ruby -> go

@@ -0,0 +1,6 @@
# | python | go | ruby | js | php
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this really needed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's helped me to distribute such checklist across other scripts
but if you think it's unnecessary I will drop it

@Lagovas Lagovas mentioned this pull request Jan 25, 2018
@Lagovas Lagovas merged commit 22e78b8 into cossacklabs:master Jan 25, 2018
@vixentael vixentael added tests Themis test suite W-RbThemis ♦️ Wrapper: RbThemis, Ruby API, Ruby gems W-GoThemis 🐹 Wrapper: GoThemis, Go API W-PyThemis 🐍 Wrapper: PyThemis, Python API jsthemis W-PHPThemis 🐘 Wrapper: PHPThemis, PHP API labels Jan 26, 2018
@Lagovas Lagovas deleted the lagovas/smessage-integration branch February 6, 2018 14:46
@ilammy ilammy added the W-JsThemis 🍭 Wrapper: JsThemis for Node.js, JavaScript API, npm packages label Sep 27, 2019
@ilammy ilammy removed the E-Node.js label Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Themis test suite W-GoThemis 🐹 Wrapper: GoThemis, Go API W-JsThemis 🍭 Wrapper: JsThemis for Node.js, JavaScript API, npm packages W-PHPThemis 🐘 Wrapper: PHPThemis, PHP API W-PyThemis 🐍 Wrapper: PyThemis, Python API W-RbThemis ♦️ Wrapper: RbThemis, Ruby API, Ruby gems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants