summaryrefslogtreecommitdiff
path: root/tests/key.scm (follow)
Commit message (Expand)AuthorAgeFilesLines
* tests/key.scm ("string->public-key, RSA, gc test"): New TC•••* tests/key.scm ("string->public-key, RSA, gc test"): New TC. * tests/session.scm ("%make-session, gc test"): New TC. Artyom V. Poptsov2016-08-191-0/+10
* libguile-ssh/key-type.c (free_key_smob): Bugfix: Check smob type•••* libguile-ssh/key-type.c (free_key_smob): Bugfix: Check if the smob is already freed, don't try to free it once more. * tests/common.scm (test-begin-with-log): Set log verbosity to the highest level by default. * tests/key.scm: Perform test with logging. Artyom V. Poptsov2016-08-191-8/+8
* tests/common.scm (test-begin-with-log): New procedure•••* tests/common.scm (test-begin-with-log): New procedure. * tests/client-server.scm, tests/common.scm, tests/dist.scm, tests/key.scm, tests/popen.scm, tests/server-client.scm, tests/server.scm, tests/session.scm, tests/tunnel.scm: Use it. Artyom V. Poptsov2016-07-041-7/+4
* tests/key.scm: Split some tests•••* tests/key.scm ("public-key->string", "string->public-key"): Split tests into more fine-grained ones. Make use of 'test-equal' from SRFI-64. Artyom V. Poptsov2015-11-231-13/+27
* tests/key.scm: Update copyright datesArtyom V. Poptsov2015-10-291-1/+1
* tests/key.scm: Use keyfiles from (tests common)•••* tests/key.scm: Use keyfiles from (tests common). Cleanup. ("private-key-from-file", "public-key-from-file"): Update. Artyom V. Poptsov2015-10-291-20/+12
* tests/key.scm: Use (tests common) moduleArtyom V. Poptsov2015-10-291-1/+8
* tests/key.scm ("private-key-to-file") [GCrypt]: Don't perform the test•••* tests/key.scm ("private-key-to-file") [GCrypt]: Don't perform the test. * doc/api-keys.texi (Keys): Update description of `private-key-to-file'. * NEWS: Update. Artyom V. Poptsov2014-10-111-6/+7
* ssh/key.scm (private-key-to-file): New procedure•••* ssh/key-func.c (guile_ssh_private_key_to_file): New procedure. * ssh/key.scm (private-key-to-file): Export. * tests/key.scm ("private-key-to-file"): New TC. * doc/api-keys.texi (Keys): Add description of `private-key-to-file'. * NEWS: Update. Artyom V. Poptsov2014-10-111-0/+9
* ssh/key.scm (make-keypair): New procedure•••* ssh/key-type.c (_scm_from_ssh_key, guile_ssh_make_keypair): New procedures. * ssh/key-type.h: Update. * ssh/key.scm (make-keypair): Export. * doc/api-keys.texi (Keys): Add description of `make-keypair'. * tests/key.scm ("make-keypair"): New TC. * NEWS: Update. Artyom V. Poptsov2014-10-111-0/+12
* tests/key.scm: Don't test ECDSA keys if GCrypt is used•••* tests/key.scm: Don't do ECDSA key tests if libssh was compiled with GCrypt. (when-openssl): New macro. ("private-key-from-file", "public-key-from-file", "key?") ("private-key->public-key", "get-key-type", "public-key->string") ("string->public-key"): Use it. Artyom V. Poptsov2014-10-101-12/+31
* ssh/key-func.c (guile_ssh_string_to_public_key): Fix a bug•••* ssh/key-func.c (guile_ssh_string_to_public_key): Fix a bug: Call `scm_dynwind_end' at the end of the procedure so call to the procedure won't lead to segfaults. * tests/key.scm ("public-key->string"): Improve. ("string->public-key"): New TC. Artyom V. Poptsov2014-08-261-6/+22
* tests/key.scm ("public-key->string"): New TCArtyom V. Poptsov2014-08-261-0/+9
* tests/key.scm ("public-key?"): Improve TCArtyom V. Poptsov2014-08-261-6/+5
* key-func.c (guile_ssh_private_key_from_file): Remove `session' parameter•••* ssh/key-func.c (guile_ssh_private_key_from_file): Remove `session' parameter. All callers updated. * doc/api-keys.texi (Keys): Update description of `private-key-from-file'. * examples/echo/client.scm.in (get-prvkey): Update. * tests/key.scm ("private-key-from-file"): Update. * tests/client-server.scm ("userauth-public-key!, success"): Update. * NEWS: Update. Artyom Poptsov2014-06-061-9/+6
* tests/key.scm: New test suite•••* tests/key.scm: New test suite. * tests/Makefile.am (SCM_TESTS): Add `key.scm'. (EXTRA_DIST): Add `dsakey.pub', `ecdsakey', `ecdsakey.pub', `rsakey.pub'. * tests/dsakey.pub, tests/ecdsakey, tests/ecdsakey.pub, tests/rsakey.pub: New files * NEWS: Update. Artyom Poptsov2014-06-011-0/+91