1 ==========================
2 Calypso - CalDAV Server
3 ==========================
5 The Calypso Project is a free and open-source CalDAV calendar server.
9 Calypso runs as a regular user, all data are stored in ~/.config/calypso.
10 Either generate SSL keys, or use the default self-signed keys, then:
12 $ mkdir -p ~/.config/calypso/calendars
13 $ chmod og-rwx ~/.config/calypso
14 $ touch ~/.config/calypso/htpasswd
15 $ cat > ~/.config/calypso/config << EOF
17 certificate=/etc/ssl/certs/ssl-cert-snakeoil.pem
18 key=/etc/ssl/private/ssl-cert-snakeoil.pem
23 filename=$HOME/.config/calypso/htpasswd
33 To capture logs, you can run in the foreground with debugging:
35 $ python ./calypso.py -fg >calypso.log 2>&1
38 Creating users and calendars
39 ----------------------------
43 $ htpasswd -s $HOME/.config/calypso/htpasswd USER
45 To add a new database:
47 $ mkdir -p ~/.config/calypso/calendars/private/test
48 $ cd ~/.config/calypso/calendars/private/test
50 $ cat > .calypso-collection << EOF
54 $ git add .calypso-collection
55 $ git commit -m'initialize new calendar'
57 The new calendar should now be visible as https://USER:PASSWORD@localhost:5233/private/test.
59 You can add files to the directory at any time; calypso will check the
60 directory mtime at each operation and update its internal state from
61 that on disk automatically when the directory changes.
66 Given a set of files with VCALENDAR or VCARD entries, you can import them with:
68 $ calypso --import private/test <filenames...>
70 This will update any changed entries and add any new ones.
72 Kerberos via GSSAPI support
73 ---------------------------
74 For Kerberos authentication generate a keytab on your KDC and put the
75 exported keytab on your calypso server into */etc/krb.keytab* so it
78 # ktutil -k /etc/krb5.keytab list
81 Vno Type Principal Aliases
82 1 aes256-cts-hmac-sha1-96 HTTP/foo.example.com@EXAMPLE.COM
83 1 des3-cbc-sha1 HTTP/foo.example.com@EXAMPLE.COM
84 1 arcfour-hmac-md5 HTTP/foo.example.com@EXAMPLE.COM
86 the put the service name to use into ~/.config/calypso/config:
89 servicename=HTTP@foo.example.com
91 and install the pykerberos module. You should then be able to authenticate
92 via Kerberos using GSSAPI.