• Jim Garlick's avatar
    gssapi: add a basic test for GSSAPI security · edd6b0ad
    Jim Garlick authored
    Problem: there is no test coverage for GSSAPI.
    
    Solution: add a test structured like the CURVE test.
    
    The test is not built if libzmq is not configured with
    --with-libgssapi_krb5. It will report SKIPPED status
    if the required environment is missing (see below).
    
    Environment:  KRB5_KTNAME and KRB5_CLIENT_KTNAME
    environment variables must point to a keytab file
    containing creds for a host-based test principal
    (see comment at top of source for details).
    Kerberos must be configured and a KDC containing the
    test principal must be running, otherwise the test
    will fail/hang.
    
    N.B. For now, the test must use the same principal for
    both client and server roles because it seems impossible
    to set them to different principals when they are
    threads in the same process.  Once one principal is
    cached in credential cache, attempts to acquire creds
    for a different "desired name" seem to be ignored and
    the cached principal is used instead.
    edd6b0ad
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
README.md Loading commit data...
test_abstract_ipc.cpp Loading commit data...
test_ancillaries.cpp Loading commit data...
test_atomics.cpp Loading commit data...
test_base85.cpp Loading commit data...
test_bind_after_connect_tcp.cpp Loading commit data...
test_bind_src_address.cpp Loading commit data...
test_capabilities.cpp Loading commit data...
test_client_server.cpp Loading commit data...
test_conflate.cpp Loading commit data...
test_connect_delay_tipc.cpp Loading commit data...
test_connect_resolve.cpp Loading commit data...
test_connect_rid.cpp Loading commit data...
test_ctx_destroy.cpp Loading commit data...
test_ctx_options.cpp Loading commit data...
test_dgram.cpp Loading commit data...
test_diffserv.cpp Loading commit data...
test_disconnect_inproc.cpp Loading commit data...
test_filter_ipc.cpp Loading commit data...
test_fork.cpp Loading commit data...
test_getsockopt_memset.cpp Loading commit data...
test_heartbeats.cpp Loading commit data...
test_hwm.cpp Loading commit data...
test_hwm_pubsub.cpp Loading commit data...
test_immediate.cpp Loading commit data...
test_inproc_connect.cpp Loading commit data...
test_invalid_rep.cpp Loading commit data...
test_iov.cpp Loading commit data...
test_ipc_wildcard.cpp Loading commit data...
test_issue_566.cpp Loading commit data...
test_last_endpoint.cpp Loading commit data...
test_many_sockets.cpp Loading commit data...
test_metadata.cpp Loading commit data...
test_monitor.cpp Loading commit data...
test_msg_ffn.cpp Loading commit data...
test_msg_flags.cpp Loading commit data...
test_pair_inproc.cpp Loading commit data...
test_pair_ipc.cpp Loading commit data...
test_pair_tcp.cpp Loading commit data...
test_pair_tipc.cpp Loading commit data...
test_pair_vmci.cpp Loading commit data...
test_poller.cpp Loading commit data...
test_probe_router.cpp Loading commit data...
test_proxy.cpp Loading commit data...
test_proxy_single_socket.cpp Loading commit data...
test_proxy_terminate.cpp Loading commit data...
test_pub_invert_matching.cpp Loading commit data...
test_radio_dish.cpp Loading commit data...
test_req_correlate.cpp Loading commit data...
test_req_relaxed.cpp Loading commit data...
test_reqrep_device.cpp Loading commit data...
test_reqrep_device_tipc.cpp Loading commit data...
test_reqrep_inproc.cpp Loading commit data...
test_reqrep_ipc.cpp Loading commit data...
test_reqrep_tcp.cpp Loading commit data...
test_reqrep_tipc.cpp Loading commit data...
test_reqrep_vmci.cpp Loading commit data...
test_router_handover.cpp Loading commit data...
test_router_mandatory.cpp Loading commit data...
test_router_mandatory_hwm.cpp Loading commit data...
test_router_mandatory_tipc.cpp Loading commit data...
test_scatter_gather.cpp Loading commit data...
test_security_curve.cpp Loading commit data...
test_security_gssapi.cpp Loading commit data...
test_security_null.cpp Loading commit data...
test_security_plain.cpp Loading commit data...
test_setsockopt.cpp Loading commit data...
test_shutdown_stress.cpp Loading commit data...
test_shutdown_stress_tipc.cpp Loading commit data...
test_sockopt_hwm.cpp Loading commit data...
test_sodium.cpp Loading commit data...
test_spec_dealer.cpp Loading commit data...
test_spec_pushpull.cpp Loading commit data...
test_spec_rep.cpp Loading commit data...
test_spec_req.cpp Loading commit data...
test_spec_router.cpp Loading commit data...
test_srcfd.cpp Loading commit data...
test_stream.cpp Loading commit data...
test_stream_disconnect.cpp Loading commit data...
test_stream_empty.cpp Loading commit data...
test_stream_exceeds_buffer.cpp Loading commit data...
test_stream_timeout.cpp Loading commit data...
test_sub_forward.cpp Loading commit data...
test_sub_forward_tipc.cpp Loading commit data...
test_system.cpp Loading commit data...
test_term_endpoint.cpp Loading commit data...
test_term_endpoint_tipc.cpp Loading commit data...
test_thread_safe.cpp Loading commit data...
test_timeo.cpp Loading commit data...
test_timers.cpp Loading commit data...
test_udp.cpp Loading commit data...
test_unbind_inproc.cpp Loading commit data...
test_unbind_wildcard.cpp Loading commit data...
test_use_fd_ipc.cpp Loading commit data...
test_use_fd_tcp.cpp Loading commit data...
test_xpub_manual.cpp Loading commit data...
test_xpub_nodrop.cpp Loading commit data...
test_xpub_welcome_msg.cpp Loading commit data...
test_zmq_poll_fd.cpp Loading commit data...
testutil.hpp Loading commit data...