Warning
This repository, the 1pux-backupcreator, its dependencies or usecase isnt updated, supported or tested since 2023 anymore and could likely malfunction or be deprecated. It s not recommended to use anymore. Use at your own risk, if at all.
Python Program to export 1PUX files into an encrypted 7zip archive, keeping all its data. Great to use if you want to safely backup all your 1PW data by e.g. leaving 1PW, distrust in it or switching to other services.
I created this small program because I wanted a way to backup all data from 1PW without having to rely on 1Password software on reusing it. 1Password offers the option to use CSV too, but it severely lacks content of the exported vault like attachments, notes, totp keys, etc.
Uses exported .1pux file of 1PW to create an encrypted 7zip archive with your chosen password.
7zip archive contains all of the data from the .1pux file. It is clearly structured in hierarchical folders for every entry.
-add screen of folder structure-
If you clone the repository, you have to install Python and the following packages to run the .py file
- py7zr
Move your 1pux file into the directory of the cloned repository.
If you choose to install the repository from pip then..
.. wait for it
Start the program with
python src/puxconverter.py
For further options than the default setting, check the options for the puxconverter creation:
class PuxConverter:
def __init__(self, extract = True, example = False, puxfile = None, dir = '.', encrypt = True, remove = False):
"""
- extract = True if you use a 1pux file, otherwise if already unzipped, use False
- example = False. True uses example file
- puxfile: filename of .1pux file, optional
- dir: directory path, absolute or relative to cwd, where .1pux file is inside
- encrypt = True , if you want a encrypted 7z archive instead of unencrypted folders
- remove = False, removes the 1pw input data, which was processed.
"""
Output is created in the output folder. Depending on the options it is either archived or not.
The whole Python program is local on your machine.
1PUX-BackupCreator - Python program to export 1PUX files into an encrypted 7zip archive, keeping all its data. Copyright (C) 2023 Adrian Röth
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.