/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/tests/control

  • Committer: Teddy Hogeborn
  • Date: 2008-07-19 18:43:24 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080719184324-iwhoa5in75xa0u2u
* mandos-clients.conf ([foo]/dn, [foo]/password, [braxen_client]/dn,
                       [braxen_client]/password): Removed.
  ([foo]/fingerprint, [braxen_client]/fingerprint): New.
  ([foo]/checker): New.
  ([foo]/secfile): New.
  ([braxen_client]/secret): New.

* server.py: New "--debug" option to set debug flag.  Removed "cert",
             "key", "ca", "crl", and "cred" variables.  Added default
             value for "checker" config file setting.  Do not pass
             credentials to IPv6_TCPServer constructor.
  (debug): New global debug flag.  Used by most debugging output code.
  (Client.__init__): Keyword argument "dn" replaced by "fingerprint",
                     "password" renamed to "secret", and "passfile"
                     renamed to "secfile".  New keyword argument
                     "checker". All callers changed.
  (Client.dn): Removed.
  (Client.fingerprint): New.
  (Client.password): Renamed to "secret"; all users changed.
  (Client.passfile): Renamed to "secfile"; all users changed.
  (Client.timeout, Client.interval): Changed to be properties; now
                                     automatically updates the
                                     "_timeout_milliseconds" and
                                     "_interval_milliseconds" values.
  (Client.timeout_milliseconds): Renamed to "_timeout_milliseconds".
  (Client.interval_milliseconds): Renamed to "_interval_milliseconds".
  (Client.check_command): New.
  (Client.start_checker): Use the new "check_command" attribute.
  (peer_certificate, fingerprint): New functions.

  (tcp_handler.handle): Use ClientSession with empty credentials
                        object instead of ServerSession.  Set gnutls
                        priority string.  Do not verify peer.  Use
                        fingerprint instead of DN when searching for
                        clients.  Bug fix: Loop sending data so even large
                        secret data strings are sent.
  (IPv6_TCPServer.credentials): Removed.
  (if_nametoindex): Do not import ctypes since that is now imported
                    globally.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Test-Command: /usr/sbin/mandos --check
2
 
Restrictions: superficial, allow-stderr
3
 
Features: test-name=mandos-check
4
 
Depends: mandos
5
 
 
6
 
Test-Command: /usr/sbin/mandos-ctl --check --verbose
7
 
Restrictions: allow-stderr
8
 
Features: test-name=mandos-ctl
9
 
Depends: mandos
10
 
 
11
 
Test-Command: /usr/sbin/mandos-keygen --version
12
 
Restrictions: superficial
13
 
Features: test-name=mandos-keygen-version
14
 
Depends: mandos-client
15
 
 
16
 
Test-Command: /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugin-runner --version
17
 
Restrictions: needs-root, superficial
18
 
Features: test-name=plugin-runner-version
19
 
Depends: mandos-client
20
 
 
21
 
Test-Command: /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)/mandos/plugin-helpers/mandos-client-iprouteadddel --version
22
 
Restrictions: needs-root, superficial
23
 
Features: test-name=mandos-client-iprouteadddel-version
24
 
Depends: mandos-client
25
 
 
26
 
Test-Command: /usr/lib/dracut/modules.d/90mandos/password-agent --test --verbose
27
 
Features: test-name=password-agent
28
 
Depends: mandos-client
29
 
 
30
 
Test-Command: /usr/lib/dracut/modules.d/90mandos/password-agent --test --verbose -p /task-creators/start_mandos_client/suid
31
 
Restrictions: needs-root
32
 
Features: test-name=password-agent-suid
33
 
Depends: mandos-client