Bug 502527

Summary: Add import/export of accounts for backup purposes
Product: [Applications] Keysmith Reporter: pqwoerituytrueiwoq
Component: GeneralAssignee: Bhushan Shah <bshah>
Status: REPORTED ---    
Severity: wishlist CC: oat-lip-confront
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pqwoerituytrueiwoq 2025-04-07 14:47:04 UTC
The gnome-authenticator has this functionality, i propose adding this for the sake of feature parity, the gnome software exports/imports data in JSON format, i suggest using the same data structure for ease of migrating between gnome and kde

Example data (FAKE SECRET KEYS):

[
    {
        "secret": "DW6UXL48SDKFNZ66",
        "label": "user_name",
        "period": 30,
        "digits": 6,
        "type": "OTP",
        "algorithm": "SHA1",
        "thumbnail": "Default",
        "last_used": 0,
        "tags": [
            "google.com"
        ]
    },
    {
        "secret": "0UNGLXHQYMH8WJV6",
        "label": "pqwoerituytrueiwoq",
        "period": 30,
        "digits": 6,
        "type": "OTP",
        "algorithm": "SHA1",
        "thumbnail": "Default",
        "last_used": 0,
        "tags": [
            "kde.org"
        ]
    }
]
Comment 1 Sylens 2025-11-09 09:00:42 UTC
As for the time being I was also looking for a solution, I found that copying the /home/[username]/.config/org.kde.keysmith/ does the trick. It's a workaround until we get a proper implementation into the GUI.