| 1 |
Migration from Poldi 0.3 |
| 2 |
======================== |
| 3 |
|
| 4 |
Several things have changed with the release of Poldi 0.4. This |
| 5 |
document explains how to upgrade smoothly from Poldi 0.3 to Poldi 0.4 |
| 6 |
or greater. |
| 7 |
|
| 8 |
* Authentication Methods |
| 9 |
|
| 10 |
Poldi 0.3 only supported one mechanism to authenticate a user: a |
| 11 |
challenge-response protocol in combination with a smartcard<-->user |
| 12 |
mapping stored in a plain text file. Now, Poldi supports two |
| 13 |
so-called "authentication methods" with the Poldi 0.3 way of |
| 14 |
authenticating being one such method, which is named "localdb". |
| 15 |
|
| 16 |
The other supported authentication method named "x509" implements |
| 17 |
authentication against a X509 PKI with the help of Dirmngr. |
| 18 |
|
| 19 |
There is no default authentication method, thus if you want to use |
| 20 |
the new Poldi just like Poldi 0.3, you need to specify "auth-method |
| 21 |
localdb" in the configuration file poldi.conf. |
| 22 |
|
| 23 |
* Configuration |
| 24 |
|
| 25 |
With Poldi 0.3 it was possible to "register" smartcards and control |
| 26 |
the mapping between users and smartcards with the poldi-ctrl |
| 27 |
utility. As of Poldi 0.4 poldi-ctrl has been stripped in this |
| 28 |
respect; it does not contain this functionality anymore. Instead the |
| 29 |
system administrator has to edit the appropriate files manually. |
| 30 |
|
| 31 |
* Paths |
| 32 |
|
| 33 |
Some paths have changed since Poldi 0.3. In particular: |
| 34 |
${sysconfdir}/poldi/keys -> ${sysconfdir}/poldi/localdb/keys |
| 35 |
${sysconfdir}/poldi/users -> ${sysconfdir}/poldi/localdb/users |
| 36 |
|
| 37 |
* Lost configuration options |
| 38 |
|
| 39 |
Having unimplemented options in Poldis configuration file causes |
| 40 |
Poldi to bail out during initialization. Note that the following |
| 41 |
configuration options have been removed during the development of |
| 42 |
Poldi 0.4: |
| 43 |
|
| 44 |
- "debug-sc" |
| 45 |
- "ctapi-driver" |
| 46 |
- "pcsc-driver" |
| 47 |
- "reader-port" |
| 48 |
- "disable-ccid" |
| 49 |
- "debug-ccid-driver" |
| 50 |
- "disable-opensc" |
| 51 |
- "fake-wait-for-card" |
| 52 |
- "require-card-switch" |
| 53 |
- "wait-timeout" |
| 54 |
- "try_pin" |
| 55 |
- "quiet" |