KWallet for Plasma 5 now automatically migrates KDE4 wallets!

Posté le 13 juillet 2014 @ 02:01 par Valentin

Next time you’ll start your updated Plasma 5 session’s KDE Wallet system, it’ll eventually start migrating your wallets. The precondition is that you’re doing that on a system that also has KDE4 and that you previously used that installation’s KDE Wallet system. If your system doesn’t have a KDE4 wallet daemon, then nothing will happen.

Simply follow the instructions of the wizard that’ll popup. If you accept the migration option, then for each of your existing KDE4 wallet you’ll be :
- prompted with a new Plasma 5 wallet creation wizard – that’ll eventually be the moment to switch to GPG wallets ;-)
- eventually prompted for the old wallet’s password, it the old daemon didn’t had it already opened by some other KDE4 program.
The migration assistant will preserve wallet names and wallet internal structure.

As usual, do not hesitate to file bug reports if you encounter any problem!

A final note about those who installed KDE4 in a prefix that’s not /usr. Please ‘ln -s [your kwalletd location] /usr/bin/kwalletd’ in order to let the migration agent correctly find and start the KDE4 daemon. Without that, it’ll not trigger the migration. (yes, that’s a quick hack, but it works).

6 Commentaires

  1. Mickaël Leduque
    13 juillet 2014 à 15:37

    Is this a one way migration, i.e. will the user still be able to use the kde4 wallet at a later time ?

  2. richard
    14 juillet 2014 à 14:58

    And if one does a clean install, but still wants to migrate the old wallet?

  3. Valentin
    7 août 2014 à 21:00

    @Mickaël Leduque : the kde4 wallet is not affected by the migration, which is a read-only operation. The new wallet will live in kwalletd5.

  4. Valentin
    7 août 2014 à 21:02

    @richard : well, for the migration wizard to trigger it must find an existing kde4 wallet, that is the corresponding kwalletd. So on a clean install you’ll want to temporarily install the kde4 wallet system.

  5. xin
    19 novembre 2014 à 08:44

    @Valentin: I doubt that that is what Richard wants. Imagine for example that you buy a new notebook, copy your configuration, do a clean install of newest software (=KDE5) and you are forced to install KDE4 just to migrate your old data. This doesn’t make any sense. This should work in the « it just works » world and the developer responsibility (I am also a developer) is to find a way how to make it working. Please make the migration working without KDE4. Thanks.

  6. Valentin
    19 novembre 2014 à 10:03

    @xin: well, in a perfect world the old wallet file should have been opened by kwalletd5 directly, without requiring a migration process whatsoever. in our case, something (that i don’t have the time to investigate) has changed in qt5 and the existing kwalletd code, when linked against it, is unable to correctly handle kwl files, hence the migration tool.

    so richard may want to export the wallet from the old kde4 system then import it. or maybe you could help me find the binary incompatibility which prevents kwalletd code, from kf5, to correctly handle the kde4 kwl files :-)

Laisser un commentaire

Connexion OpenID

Connexion Standard

Options:

Taille

Couleurs