Code Monkey home page Code Monkey logo

Comments (2)

lifepillar avatar lifepillar commented on June 19, 2024

Where does your CSV come from? You cannot (directly) import any CSV file: you can only (directly) import files that have been exported by CSVKeychain itself. If you are building your CSV file in some other way, then it must have the following header:

"Where","Account","Password","Label","Comment","Created","Modified","Kind","Type","Domain","AuthType","Class","Creator"

and all fields must be double-quoted. Only the Where, Account and Class values are mandatory (cannot be empty). The Class value must be genp for generic passwords and inet for Internet and network passwords. This is an example of a valid CSV file:

"Where","Account","Password","Label","Comment","Created","Modified","Kind","Type","Domain","AuthType","Class","Creator"
"MyApp","myusername","verystrong12345","www.foo.com","","20171126170739","20171210145348","application password","","","","genp","sckj"
"smb://my.network.mount","XYZ","password123","","","","","Network password","","","","inet",""
"https://some.site.org","myusername","mypassword","","","","","internet password","","","","inet",""
"Minimal record","MyAccount","","","","","","","","","","genp",""

Also, make sure to use the current master, because I have just fixed a typo in the code, which caused an error when an Internet password does not have an associated Label.

Does it help?

Edit: mention that also the Class field is mandatory.

from csvkeychain.

lifepillar avatar lifepillar commented on June 19, 2024

Closing for lack of feedback (I assume you fixed your issue). Feel free to reopen if necessary.

from csvkeychain.

Related Issues (16)

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.