Git Product home page Git Product logo

Comments (4)

cbyr2401 avatar cbyr2401 commented on June 27, 2024

Hey cmaliwat,

I think I had a similar issue when testing the script. I haven't thoroughly investigated it but I think it has to do with the passwords storing with a newline character on the end.

To confirm this can you please:

  1. Open the new modified plist file in a text editor
  2. Turn on the "view all symbols / characters" (something similar to that)
  3. Go down to where the password is stored and check if a newline is present.

I think the fixes for this issue are:

  1. Add an extra empty column to the csv import file
    or
  2. Modify the python script to remove newlines at the end of each line in the csv file.

Going back to your original post for a second. I don't think that the hashed/salted should affect the users ability to log in. I would, however, look to implement this in a future update of the script as it is good practice.

I currently don't have enough time to investigate this further at the moment, if you could report back to me on the above and I will see what I can do.

Thanks for reporting it.

from deploystudioimporter.

cmaliwat avatar cmaliwat commented on June 27, 2024

I've noted the behavior your mentioned in regards to the plist files. When viewing the plist in Text Wrangler, there is an additional random 'inverted question mark' symbol. In Atom, I see the return character for a line break.

I tested importing a plist with a blank column at the end of the csv file, simply by putting an extra , at the end of the line. The plist now does not have the random character in Text Wrangler nor the line break in Atom.

However, the user cannot login with the plain-text password in this field. It seems DeployStudio does indeed want a hashed password.

textwrangler
atom

I am using DeployStudio 1.7.6

from deploystudioimporter.

wallarug avatar wallarug commented on June 27, 2024

Cool. Thanks for investigating.

You wouldn't by any chance happen to know how deploy studio hashes the passwords?

One of the core issues I had was working out what has it used and how/what it used to salt them. If it is just a basic known hashing algorithm then maybe I could quickly implement and test it for you tomorrow afternoon.

What sort of time frame would like the passwords feature to be working? (Is this a high priority for you, or just something you are playing around with?)

I would really like to get that part of the script working for you, as it is an important add on for adding user accounts to devices.

from deploystudioimporter.

cmaliwat avatar cmaliwat commented on June 27, 2024

I do not know how Deploy Studio hashes passwords. I'm sure contact with the developers would be necessary, but I don't know how responsive they are.

I've also asked in #deploystudio on the Mac Admins Slack channel, but haven't heard from anybody there regarding the hash method.

No time frame is necessary... It would be nice to get this working eventually though.

Thanks for this project, it's been helpful up to this point.

from deploystudioimporter.

Related Issues (2)

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.