• 0

start with keepass: doing the first data import - with a CSV File: How To do that? 


Question

hello dear Community, 


i need some Instructions for using Calc to import CSV password files into KeePass 2.x.  Well to begin with the beginning: KeePass is a overwhelming and supergreat fantastic, freeware password manager. 
Thank god it is also open-source, making it more secure (you can build it yourself). And i have stored my passwd in the cloud for years.  Those times are gone.  


KeePass is a free open source password manager, which helps you to manage your passwords in a secure way.  You can store all your passwords in one database, which is locked with a master key. So you only have to remember one single master key to unlock the whole database. Database files are encrypted using the best and most secure encryption algorithms currently known (AES-256, ChaCha20 and Twofish). Unfortunately, importing passwords from Calc or CSV files can be a bit tricky and yes: problematic. I have received the error Found invalid data while decoding if the format is invalid. This assumes that we are importing using the 

 

"KeePass CSV (1.x) the old legacy version" import format. I have had a look at the corresponding file format CSV Import Help (over at keepass-info ) for more information. 

The buddies on keepass-info told me to be careful: 

 

- Every value must be enclosed in double quotes. This includes blanks, numbers, and multi-line values.
- The file must be saved as UTF-8 (or ANSI).
- Double quotes must be escaped with with a backslash, like \".
- Back-slashes must be escaped with with another backslash, like \\

 

 

- here is more that i have to follow:   Can i import all my usernames in a csv data formate from Calc - can i do that!?  How to proceeed!?


https://keepass.info/help/base/index.html

 

  Quote

KeePass is a free open source password manager, which helps you to manage your passwords in a secure way. You can store all your passwords in one database, which is locked with a master key. So you only have to remember one single master key to
unlock the whole database. Database files are encrypted using the best and most secure encryption algorithms currently known (AES-256, ChaCha20 and Twofish). The database consists of only one file, so it can be transferred easily from one computer to another. Data can also be imported/exported from/to various other  formats (import from more than 40 different formats of other password managers, generic CSV importer, ...). Of course, printing entries is supported, too. KeePass supports groups, which allow you to organize your entries conveniently. For quickly locating specific entries, there are search functions. There are various methods for transferring entry data (like user names and passwords) from KeePass to other applications (clipboard, drag&drop, etc.). 
The powerful auto-type feature can simulate keypresses. KeePass has a strong password generator (you can define allowed characters, length, generation rules, ...). The program features a plugin architecture. Plugins can add features in many areas (integration, transfer, backup, network, even more import/export formats, and much more). As KeePass is open source, you can have a look at its full source code and check whether the security features are implemented correctly.
This documentation applies to KeePass 1.x and 2.x.

Expand  

 

the question is:  Can i import all my usernames in a csv data formate from Calc - can i do that!?  How to proceeed!?

2 answers to this question

Recommended Posts

  • 0
  On 17/04/2020 at 17:31, tarifa said:

 

Expand  

 

hi there - some additional things to mention regarding my start with keepass: 

 

 


This is a pretty important topic to me. And i am a Keepass-Beginner -so i am trying to go the first steps.  i do not need more than one inctance on one device.

well i think that i can use Keepass on multiple devices (PCs, Notebook and - even on phones): to do so i think that i could sync them through Nextcloud, which i probably can host on a server at home. But doing a sync via cloud is not the securest way - /(see below the discussion of various methods)

some scenarios:
a friend of mine told me that he has only one install but can launch as many instances of keepass as needed. probably have at least 10 separate databases for verious devices and functions
He also makes usage of Keepass2Android on Pixel. Everything syncs as quickly as OneDrive updates, which is close enough to real-time.

Setup:
Well regarding the Setup here: if i do a install on my home PC, and a install on my notebook. (duuuhh i also can do an install of KeePass Portable on a USB key I use at work so that I don't have to install it on my work computer, )

About the sync:
- i can do this about once a month - in other words how do you think about syncing all the databases once in a month!?
- Well that said: i have many options here: i can synchronise the database via most services across all kinds of devices. But which one is the best method here?!

note: i want to stay safe:
- for example we can sync our database via Dropbox and access it from a Linux machine, a Windows machine and (even the phone)
- but as the database is only single file, we can decide to use local copies as well. And this method does not need to include a Dropbox in the cloud.
if i just copy the database file on the device - eg. my PC, where i want to access it and then i am finished with this step.
This way my database won’t ever reach the internet. i guess that this method is pretty secure.


backup:
What seems very very important to me is the backup:
- i think it is pretty important to never forget to make backups, though!


look forward to hear from you

have a great day

  • 0

 

 


first of all - many many thanks for this great forum  -it is really a great place: . Great to be here where we can share ideas, thoughts and discuss everyting.

 

 one question though

 

after  the installation-process of keepass:  what are the next steps.

btw: do you generate a .CSV is one format you can save a spreadsheet in.
 

should we generate a list consisting of the following

 

username - passwd  - pair (eg for this site here) and afterward give the data to keepass!"?

 in other words:  So, once we have generated our list - in their approved style ! - then we could save as 'type Text .CSV'. CSV stands for 'Comma Separated Values' and essentially strips all the spreadsheet formatting out to produce a text file. This file can be then be re-opened should you wish as a spreadsheet ! And this file can be uploaded to keepass - cant it!?

 
in other words: after the installation of keepass - you set a masterpasswd. 

and after this process - do you use the password-generator for the single passwords that you are using for the various sites / etc. etx. !? cf. https://keepass.info/help/base/pwgenerator.html
This password generation method is the recommended way to generate random passwords. Other methods (pattern-based generation, ...) should only be used if passwords must follow special rules or fulfill certain conditions.

  Quote

Generation based on a character set is very simple. You simply let KeePass know which characters can be used (e.g. upper-case letters, digits, ...) and KeePass will randomly pick characters out of the set.


Defining a character set:
The character set can be defined directly in the password generator window. For convenience, KeePass offers adding commonly used ranges of characters to the set. This is done by ticking the appropriate check box. Additionally to these predefined character ranges, you can specify characters manually: all characters that you enter in the 'Also include the following characters' text box will be directly added to the character set.

The characters that you enter in the 'Also include the following characters' text box are included in the character set from which the password generator randomly chooses characters from. This means that these additional characters are allowed to appear in the generated passwords, but they are not forced to. If you want to force that some characters appear in the generated passwords, you have to use the pattern-based generation.

Character sets are sets:
In mathematical terms, character sets are sets, not vectors. This means that characters cannot be added twice to the set. Either a character is in the set or it is not.

For example, if you enter 'AAAAB' into the additional characters box, this is exactly the same set as 'AB'. 'A' will not be 4 times as likely as 'B'! If you need to follow rules like 'character A is more likely than B', you must use pattern-based generation + permuting password characters.

KeePass will 'optimize' your character set by removing all duplicate characters. If you'd enter the character set 'AAAAB' into the additional characters box, close and reopen the password generator, it'll show the shorter character set 'AB'. Similarly, if you tick the Digits check box and enter '3' into the additional box, the '3' will be ignored because it is already included in the Digits character range.

Supported characters:
All Unicode characters in the ranges [U+0001, U+D7FF] and [U+E000, U+FFFF] except { U+0009 / '\t', U+000A / '\n', U+000D / '\r' } are supported. Characters in the range [U+010000, U+10FFFF] (which need to be encoded in UTF-16 using surrogate pairs from [0xD800, 0xDFFF]) are not supported. Subsequent processing of passwords may have further limitations (for example, the character U+FFFF is forbidden in XML/KDBX files and will be replaced or removed).
Expand  

 

 

look forward to hear from you 

 

regards 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I assume he would make the same statement in those cases as well.
    • Looks like an alien. Probably is an alien. First it was aaaaallll Azure and drop everything else. Now its aaaaallll AI and drop everything else. Narrow-minded. I really loathe this guy. He's good for shareholders but absolutely nothing else. Dry as desert sand and evil to the bone.
    • Don’t care about a wrestling union. No normal person should care. 
    • Limassol, Cyprus. Just south of Turkey. NOT Russia.
    • Hello, Given the reports of Chinese Mini PCs shipping with malware, I would recommend wiping the machine and performing a clean install of Windows on it before use.  From what I can infer from the reports, the Mini PCs that shipped with malware were not the result of targeted purposeful action on the part of the device manufacturers (which is something that has happened with low-cost Android smartphones and TV boxes from China) but rather due to lax security in the manufacturing process.   Getting back to the subject at hand, there are a few steps you will want to go through before wiping the Mini PC: You can start preparing even before the Mini PC arrives.  Once you have ordered it and know the brand and model, go to the manufacturer's website and download all of the latest device drivers, BIOS (UEFI) firmware updates, machine-specific software (if any), and manuals.  Many Mini PC manufacturers do not do a lot of customization of their device drivers, just shipping whatever device drivers the the silicon vendors provide.  I still recommend downloading them, though, just in case there are some customizations or for initial install since those are the drivers you know the manufacturer validated for the Mini PC.  Store these in a safe place, so you have them ready when the Mini PC arrives. Use Microsoft's Windows Media Creation Tool to create an installation USB.  You can also create a directory on installation USB--like C:\DRIVERS\ or whatnot--and store the extracted device drivers there in case you need them while or after installing Windows. Once the Mini PC arrives, and you have your Windows installation USB available, you can proceed with wiping the PC and doing the clean install.  Here's how you do that, step-by-step: Check the computer and make sure you know how to boot it from a USB flash drive (may be a specific key you have to press when the computer is powered on, or a change to the BIOS (UEFI) firmware settings.  The PC may tell you what key combination you need to press to boot from another drive, or the manual for the PC may it. Plug the USB flash drive into the computer and power it up using the means to have it boot from the Windows install USB. Once the computer finishes booting, it should be at a Windows installation screen. Do not agree to any prompts, copyright licenses, or click on any buttons. Press the Shift + F10 keys together to open a Command Prompt. Run DISKPART to start the command-line disk partitioning utility. The command line prompt will change to DISKPART>. At the DISKPART> prompt, type LIST DISK to get the numbers of all drives installed in the system. Make a note of what number is assigned to what drive (if the Mini PC has more than one drive).  At the DISKPART> prompt, type SEL DISK n  where n is the number of the drive containing Windows. At the DISKPART> prompt, type CLEAN and this will erase the GPT/MBR code from the beginning of the drive. *WARNING:* After performing the clean operation, the drive now be blank/erased, and everything on it will be gone (all files, etc.).  You can exit DiskPart and just continue with the Windows installation as you normally would.  If needed, you can install the device drivers you put on the Windows install media to get your network connection up and running, and from there run Windows Update to get the operating system and device drivers up to date Regards, Aryeh Goretsky
  • Recent Achievements

    • Week One Done
      cac1lll earned a badge
      Week One Done
    • One Month Later
      Falcon.ai earned a badge
      One Month Later
    • Week One Done
      Falcon.ai earned a badge
      Week One Done
    • Dedicated
      EYEREX earned a badge
      Dedicated
    • First Post
      Electronic Person earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      627
    2. 2
      ATLien_0
      238
    3. 3
      Xenon
      166
    4. 4
      neufuse
      143
    5. 5
      +FloatingFatMan
      123
  • Tell a friend

    Love Neowin? Tell a friend!