Giter VIP home page Giter VIP logo

opm's People

Contributors

byteskeptical avatar qbit avatar rapenne-s avatar rnagy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

opm's Issues

Issue creating alice.pub using SSH private key

I RTFM, decided to use my ssh private key, then ran:

$ pwd
/home/jeremy/.opm/private
$ head -n 1 ~/.ssh/id_rsa                                                                                                                                                                      
-----BEGIN OPENSSH PRIVATE KEY-----
$ openssl req -x509 -new -key ~/.ssh/id_rsa -days 365 -subj '/C=HU/ST=*/L=*/O=*/OU=*/CN=Alice/' -out alice.pub
unable to load Private Key
21718428824288:error:09FFF06C:PEM routines:CRYPTO_internal:no start line:/usr/src/lib/libcrypto/pem/pem_lib.c:694:Expecting: ANY PRIVATE KEY

Did I screw up, or does the man page need updating?

Generating a new key using the openssl instructions in the man page does work. However, we should probably use chmod 600 alice.key after generating the key.

This may be obvious to some, but maybe we should use $USER.pub instead of alice.pub in the man page to make it more clear the username should be used instead of a literal alice.

New line detection matching on `n` causing paste issue with -c/-C

If you save a password that contains the string n for example pn and use the -c or -C flags to send it to a clipboard it is mis-interpreted as a multi-line entry and the wrong line is saved (the empty second one). Tracked it down to the newline on line 225 not matching correctly which causes the wrong line to be assigned to $_e on line 227. Some searching turned up this thread which inspired the fix: https://www.austingroupbugs.net/view.php?id=249

opm add test/test

Enter password for test/test: pn
Retype password for test/test pn

opm -c show test/test

#5

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.