Coder Social home page Coder Social logo

keepass2-to-keepassx's Introduction

Hey hello, I'm Martin Dvorak,

I do programming both for a living (Python/7y, Go/1y, Java/23y) and for my own personal pleasure (C++/10y, C/8y). I like all flavors of coding — I prefer strongly typed languages, however, I did my master's thesis in logic (Prolog/3y) and functional (ML/2y, Haskell/3y, Lisp/4y) languages and fell in love with them. I value freedom — I'm an open-source believer and the right to fix supporter.

I use my open-source projects on a daily basis:

  • Mind Forger (C++)
    • A thinking notebook to maintain what I learned and understood over the recent years — 16k+ notes in 800+ notebooks.
  • HSTR (C)
    • Fastest zsh and bash history search for the terminal.
  • Slake Moth (Java)
    • Auto coach helping me to systematically plan, solve problems, learn from mistakes, and brainstorm using SWOT, SMARTER goals, and Eisenhower matrix in the wheel of life.

I like to read math books (I'm really bad at it) and the source code of interesting projects before going to sleep - especially VMs, compilers, and machine learning models.

My heroes are Linus Torvalds, Bjarne Stroustrup, Don Knuth, James Gosling, Richard Stallman, John Carmack, Andrew Ng and Andy Wier.

If you're ever in Prague and have similar interests or use my projects, get in touch and we'll have a beer! Blessing!

keepass2-to-keepassx's People

Contributors

dvorka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

keepass2-to-keepassx's Issues

Java emptystack exception

when running the code

./keepass2-to-keepassx.sh /home/name/Documents/name_old2.xml /home/name/Documents/new.xml

Exception in thread "main" java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:102)
at java.util.Stack.pop(Stack.java:84)
at com.mindforger.keepass.keepass2.Keepass2Parser.parseLevel(Keepass2Parser.java:89)
at com.mindforger.keepass.keepass2.Keepass2Parser.fromXml(Keepass2Parser.java:37)
at com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase.(Keepass2DatabaseToKeepassXDatabase.java:13)
at com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase.main(Keepass2DatabaseToKeepassXDatabase.java:23)

Converter only pulls entries from the first group

If you have several groups in the keepass2 db and if your first group is empty the converter looks like it doesn't work and puts out a file.

<database>
<group>
<title>name</title>
<icon>1</icon>
</group>
</database>

But if you delete all empty groups the converter works but only pulls entries from the first group regardless if you have another group with data.

A temporary fix is to tell users to move all entries to the first group.

Tool must be run from bin/ directory

Hi,
I am on ubuntu 14 and trying to convert but get this error:

Error: Could not find or load main class com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabase

The file named Keepass2DatabaseToKeepassXDatabase.java is in the com/mindforger/keepass folder.
Using JDK7
Thanks, bests

files don't convert correctly

When running the script following your instructions, the output file only had my name in it while the old xml file had all my usernames and passwords.

Would there be an issue if my current database has a key?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.