GithubHelp home page GithubHelp logo

passman's People

Contributors

cbonnell avatar earlnameless avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

passman's Issues

Clipboard manager detection does crashes on linux without root permissions

If one tries to get the list of processes under a normal user, getting the name of processes the current user does not have access to causes an exception and the program quits:

Error : Process has exited, so the requested information is not available.
  at System.Diagnostics.Process.get_ProcessName () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ProcessName ()
  at Program+<>c__DisplayClass5+<>c__DisplayClass7.<CheckApplications>b__2 (System.String partialName) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 
  at Program+<>c__DisplayClass5.<CheckApplications>b__1 (System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1F`1[System.Diagnostics.Process].MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[System.Diagnostics.Process].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[System.Diagnostics.Process]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[Process] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at Program.CheckApplications () [0x00000] in <filename unknown>:0 
  at Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 

Works fine if ran under root.

Add GNU/Linux support

Add support for GNU/Linux:

  • Done at runtime, no reason to force people to build multiple binaries
    • Clipboard management
    • Clipboard managers detection?
    • Proper interactions with console
  • Must work with given app.config file
  • sh script for building under linux using mono
  • update readme.md to explain requirements for linux
  • list clipboard managers

Data file format is incompatible between Linux and Windows

  1. Build under Linux
  2. Run under Linux and add an entry
  3. Run under Windows and try to get that entry
  4. You will get an error that Data at the root level is invalid. Line 1, position 1. when parsing XML.

Note that because it is XML file parsing error, it means that it is doing encryption/decryption the same way.

Windows used is XP SP3 w/ .NET 4.0. Linux used is Knoppix 7.0.5, mono 2.10.8.1.

Add a list command

Intro

Add a list action to list all of the password entry names. Once there are many entries, it would be useful to search thru them by name.

Code Complexity Increase

I believe this would still be worth it to add even if it will add some complexity. The format would be:

program.exe list regex

This would allow people to search for complex things, and would not alter the code significantly.

Security

Note that security is not affected, one still needs a salt+password to get the list. Once they have that, they can easily get the full xml file with passwords/usernames.

Platform

The .NET Regex APIs are port of .NET and mono runtimes and thus this would not increase the dependencies.

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.