-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix sed for POSIX compliance. #583
Commits on Sep 16, 2016
-
edit: fix Name/Name conflict when editing secure notes
"Name" in the template file could be interpreted as either the name of the account itself, or of the (person's) name in the template. The result of this confusion is that editing the Name in the SSN template didn't work; it would be assigned to account fullname instead (which we later throw away when editing secure notes). Use line-number to disambiguate the case: account name should always be on the first line, everything thereafter is part of a note. Also move the strdup to where it is used so the lifetime of the string copy is clearer. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedSep 16, 2016 Configuration menu - View commit details
-
Copy full SHA for 8322ffe - Browse repository at this point
Copy the full SHA 8322ffeView commit details
Commits on Sep 20, 2016
-
Added build directory to gitignore
Signed-off-by: Filippo Cucchetto filippocucchetto@gmail.com
Configuration menu - View commit details
-
Copy full SHA for e121558 - Browse repository at this point
Copy the full SHA e121558View commit details -
Added support for the CMake build system
Signed-off-by: Filippo Cucchetto filippocucchetto@gmail.com
Configuration menu - View commit details
-
Copy full SHA for b5dcb0b - Browse repository at this point
Copy the full SHA b5dcb0bView commit details -
Signed-off-by: Filippo Cucchetto filippocucchetto@gmail.com
Configuration menu - View commit details
-
Copy full SHA for 22a7ea0 - Browse repository at this point
Copy the full SHA 22a7ea0View commit details
Commits on Oct 10, 2016
-
edit: do not make field entries for username/password
A user reported that using Server secure note type resulted in some odd stuff showing up in the plugin vault. This note type has a "Username" and "Password" field, but we already use that to map to account->username and account->password. When collapsing, the contents of those fields gets copied back into the note, along with any fields in the fields list. Unfortunately, we *also* copied in the empty duplicate Username/Password fields from the fields, resulting in a note with extra fields that confused the plugin. Fix this by not creating the duplicate fields in the fields list in the first place; then only the version in the account will get copied into the note. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 10, 2016 Configuration menu - View commit details
-
Copy full SHA for ab927ef - Browse repository at this point
Copy the full SHA ab927efView commit details -
blob: add a helper for account_is_secure_note
Similarly to account_is_group, add a function that documents the special url format denoting secure note types rather than open-coding the comparison. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 10, 2016 Configuration menu - View commit details
-
Copy full SHA for a28e438 - Browse repository at this point
Copy the full SHA a28e438View commit details -
edit: fix editing of secure note names
It was reported that editing a secure note to rename it doesn't work, while it does work for accounts. The reason is we only apply name changes only if the user had specified `--name`. But this is a historical limitation, e.g. when using the "any" edit type it makes sense to retain username edits, so just do it always since we always have a copy of the original account name in any case. Fixes lastpass#106. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 10, 2016 Configuration menu - View commit details
-
Copy full SHA for c14148b - Browse repository at this point
Copy the full SHA c14148bView commit details
Commits on Oct 12, 2016
-
ls: handle null last_modified_gmt
I stumbled across a segfault doing 'lpass ls -l' -- it's possible for an account not to have an mtime at all, so don't crash in this case. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 12, 2016 Configuration menu - View commit details
-
Copy full SHA for 5b5310a - Browse repository at this point
Copy the full SHA 5b5310aView commit details
Commits on Oct 20, 2016
-
blob: dedupe and expand string buffer usage
There is more than one implementation now for a simple string buffer object (string + allocated size + used length), so standardize on the implementation in blob.c. Add append_char (used by import) and append_str (to be used later) to round out the common operations we will need. This also fixes an off-by-one in append_char. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 7ced6ca - Browse repository at this point
Copy the full SHA 7ced6caView commit details -
ls: add a custom printf-like formatter
We occasionally get requests to add new fields to ls output or somehow customize what stuff gets shown to make things better for humans or for screen scrapers. Rather than trying to accomodate everyone's use case, add a new format library like printf, so that you can (eventually) do things like ./lpass ls --format='%N %i %u' or ./lpass show --format='%fN' ...or whatever. I haven't really settled on the right format strings to use so this is still a WIP, but currently it can handle generating the existing (non-color) ls format. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 20, 2016 Configuration menu - View commit details
-
Copy full SHA for d2371e3 - Browse repository at this point
Copy the full SHA d2371e3View commit details
Commits on Oct 21, 2016
-
ls: simplify creation of format string
The format string only needs to be created once instead of in a loop, and using xasprintf simplifies things a bit, so do that. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for a8313e0 - Browse repository at this point
Copy the full SHA a8313e0View commit details -
ls: use format machinery for tree print as well
This drops a bit of code duplication by using the same format string for both color-less and tree mode output. The only difference in the format string between the two is whether the fullname or short acpcount name is used; we can go ahead and embed the terminal color codes which will simply get stripped in terminal_printf. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for 025a69c - Browse repository at this point
Copy the full SHA 025a69cView commit details -
ls: enable user-provided format strings
This adds the ability to supply a custom format string to ls. This might be useful for certain scripting tasks; e.g. you can save a sed/awk pipeline when grabbing an id by doing: lpass ls --format=%i account-name Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for df6db2d - Browse repository at this point
Copy the full SHA df6db2dView commit details -
format: expand format specifiers, and support '/' modifier
This adds some infrastructure useful for cmd-show: - You can use '/' after % to include a slash only if the expansion of the rest of the placeholder is non-empty - group and shared folder name gained their own placeholders Thus showing a path-like representation of a name can be done like "%/S%/g%Nf". Also, format_field function was added which formats a name/value pair ("%fn", "%fv" resp.). It also takes an account so that it can format any of the existing account fields as needed. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for 01d5dce - Browse repository at this point
Copy the full SHA 01d5dceView commit details -
cmd-show: support user-specified formats
This adds the ability to specify the field format used with command-show using "--format", and the title format with "--title-format". Just as a fairly contrived example, you can get almost-json like this: echo "{"; \ ./lpass show --title-format=' "title": "%/S%/g%Ns",' \ --format=' "%fn": "%fv",' foo; \ echo "}" Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for b05018b - Browse repository at this point
Copy the full SHA b05018bView commit details -
format: revise all of the placeholders for account
Group the placeholders by type of object being printed (so "%aX" for account). This reduces pollution of the top-level namespace a bit so that we can use more natural characters. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for 8d67e93 - Browse repository at this point
Copy the full SHA 8d67e93View commit details -
implement tab-completion of field names
This uses the new format string infrastructure to display just fieldnames in a subshell so that the fields in a specific account can be tab-completed. In order for lpass to know which account is being queried, you have to specify account name first, like: lpass show foo --field [tab] There's a slight annoyance that title cannot go away completely, so post-process with egrep to drop those. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 21, 2016 Configuration menu - View commit details
-
Copy full SHA for 452ea3f - Browse repository at this point
Copy the full SHA 452ea3fView commit details
Commits on Nov 1, 2016
-
$(wildcard) does not guarantee a sorted list, which causes also a non-deterministic order while linking the binary. To support reproducible building, the list is explicitely sorted. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
Configuration menu - View commit details
-
Copy full SHA for ce73279 - Browse repository at this point
Copy the full SHA ce73279View commit details
Commits on Nov 2, 2016
-
Merge pull request lastpass#214 from reinerh/master
Sort list of source files
Configuration menu - View commit details
-
Copy full SHA for f77c56d - Browse repository at this point
Copy the full SHA f77c56dView commit details
Commits on Nov 14, 2016
-
Merge remote-tracking branch 'origin/topic-user-format-strings'
Bob Copeland committedNov 14, 2016 Configuration menu - View commit details
-
Copy full SHA for 32dc063 - Browse repository at this point
Copy the full SHA 32dc063View commit details
Commits on Nov 23, 2016
-
cmake: default openssl directory on mac to /usr/local/opt/openssl
Builds with CMake would link against the wrong (apple-supplied) version of openssl; make sure we use the one installed by brew. Pass -DOPENSSL_INCLUDE_DIR to use something else. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 23, 2016 Configuration menu - View commit details
-
Copy full SHA for ab6ad67 - Browse repository at this point
Copy the full SHA ab6ad67View commit details
Commits on Nov 28, 2016
-
Add the install-doc target to install the manpage which was present in the original Makefile but missing here. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for 6879b9f - Browse repository at this point
Copy the full SHA 6879b9fView commit details -
cmake: remove Makefile since cmake generates it now
"cmake ." in order to get a Makefile for make. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for a971ec2 - Browse repository at this point
Copy the full SHA a971ec2View commit details -
README.md: update documentation for cmake
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for 1a0f563 - Browse repository at this point
Copy the full SHA 1a0f563View commit details -
This is needed on some Linux platforms for error-free build. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for ad86e3b - Browse repository at this point
Copy the full SHA ad86e3bView commit details -
cmake: install bash-completions file
If we can determine the destination directory, install bash completions file. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for 2ab0931 - Browse repository at this point
Copy the full SHA 2ab0931View commit details -
cmake: don't expect WIN32 in cygwin
CMake complains when building in cygwin unless you tell it whether or not your project needs win32. So tell it. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for 90fa52e - Browse repository at this point
Copy the full SHA 90fa52eView commit details -
Merge branch 'pending-topic-cmake'
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for e9bc0c5 - Browse repository at this point
Copy the full SHA e9bc0c5View commit details -
docs: document format specifiers
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedNov 28, 2016 Configuration menu - View commit details
-
Copy full SHA for 3ea394f - Browse repository at this point
Copy the full SHA 3ea394fView commit details
Commits on Dec 1, 2016
-
For some use cases we may need to ask the user for one of several options, not just yes or no. Add a function that implements this, taking the charset of options as a string and returning the selected option. Rewrite ask_yes_no to use the new function. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 1, 2016 Configuration menu - View commit details
-
Copy full SHA for b6f4232 - Browse repository at this point
Copy the full SHA b6f4232View commit details -
show: add support for viewing/saving attachments
This change adds the ability to retrieve attachments for secure notes. The `lpass show` command now shows attachment ids and filenames if a secure note has attachments. The attachment id can then be passed to `lpass show acct --attach=attachid` which will either print the attachment (if non-binary) or offer the ability to save. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 1, 2016 Configuration menu - View commit details
-
Copy full SHA for a4532a9 - Browse repository at this point
Copy the full SHA a4532a9View commit details
Commits on Dec 5, 2016
-
cipher: support opaque EVP_CIPHER_CTX
In OpenSSL 1.1+, EVP_CIPHER_CTX can no longer be declared on the stack; instead you have to declare a pointer and then use _new()/_free() to allocate or free it. These functions continue to work on older OpenSSL, so switch to the new method. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 5, 2016 Configuration menu - View commit details
-
Copy full SHA for 6e4ff62 - Browse repository at this point
Copy the full SHA 6e4ff62View commit details -
cipher: drop p8inf->broken flag check
struct pkcs8_priv_key_info_st is now opaque as of OpenSSL 1.1 so we cannot look directly at its flags going forward. ./cipher.c: In function ‘cipher_rsa_decrypt’: ./cipher.c:73:11: error: dereferencing pointer to incomplete type ‘PKCS8_PRIV_KEY_INFO {aka struct pkcs8_priv_key_info_st}’ if (p8inf->broken) ^ Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 390c01a - Browse repository at this point
Copy the full SHA 390c01aView commit details -
In OpenSSL 1.1, HMAC_CTX is now opaque and _init/_cleanup functions are history. Change the pbkdf2 implementation to conditionally use HMAX_CTX_new()/_free() and use context pointers throughout. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 0f9e3d9 - Browse repository at this point
Copy the full SHA 0f9e3d9View commit details
Commits on Dec 16, 2016
-
CMakeLists.txt: Fix system installation
- The GNUInstallDirs package, unlike the builtin install() macro, doesn't handle DESTDIR for you. So specify DESTDIR by hand, wherever applicable. - Specify the correct path of the manpage to install. - Don't require the HTML doc to be built as a prerequisite of installing the manpage. - Make targets "more correct", add uninstall target. We would like to clean up the overly tortuous layer of indirection over pkg-config, but on systems with ancient versions of CMake (i.e. Debian stable) pkg_get_variable simply doesn't exist. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 72cb8de - Browse repository at this point
Copy the full SHA 72cb8deView commit details -
Merge pull request lastpass#230 from eli-schwartz/master
CMakeLists.txt: Fix system installation
Configuration menu - View commit details
-
Copy full SHA for d60e731 - Browse repository at this point
Copy the full SHA d60e731View commit details
Commits on Dec 20, 2016
-
cmake: guard use of BASH_COMPLETIONS_COMPLETIONSDIR
This variable doesn't exist on all installations, so don't try to install it if not defined. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 92bde18 - Browse repository at this point
Copy the full SHA 92bde18View commit details -
travis: don't error if cmake/libxml already installed
Build for OSX was failing in travis due to existing cmake. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 7d2dd66 - Browse repository at this point
Copy the full SHA 7d2dd66View commit details -
travis: try another method for ignoring install failures
Travis doesn't like the '||:' syntax; use '|| true' instead. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 3b19974 - Browse repository at this point
Copy the full SHA 3b19974View commit details
Commits on Dec 28, 2016
-
show: don't mess up ssh key headers
When undoing the newline conversion of ascii armor keys, don't convert embedded spaces that follow a colon. These signify headers and are used in encrypted private keys. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedDec 28, 2016 Configuration menu - View commit details
-
Copy full SHA for d6844b8 - Browse repository at this point
Copy the full SHA d6844b8View commit details
Commits on Jan 2, 2017
-
build: reinstall Makefile, to call cmake
This normalizes build to happen in build subdirectory so that existing source tree doesn't get polluted by build artifacts. The main targets are replicated in the top-level makefile so that most existing build setups should mostly continue to work, though the output files will now end up in the build/ directory. Of course doing 'cmake . && make' will continue to put the build artifacts in the top-level directory if someone wants that. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 2, 2017 Configuration menu - View commit details
-
Copy full SHA for 2ab47cc - Browse repository at this point
Copy the full SHA 2ab47ccView commit details -
build: fix debian build for cmake
This reinstates the default of /usr for the installation directory prefix, and adds the build/xxx path for manpages, so that the debian package works again. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for d4dee58 - Browse repository at this point
Copy the full SHA d4dee58View commit details -
add uninstall target to toplevel
Fixes lastpass#226. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 2, 2017 Configuration menu - View commit details
-
Copy full SHA for c8aa412 - Browse repository at this point
Copy the full SHA c8aa412View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 2, 2017 Configuration menu - View commit details
-
Copy full SHA for 623b344 - Browse repository at this point
Copy the full SHA 623b344View commit details -
Merge branch 'topic-attachments'
This adds the (read-only) attachment functionality to lpass. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 2, 2017 Configuration menu - View commit details
-
Copy full SHA for f634fba - Browse repository at this point
Copy the full SHA f634fbaView commit details -
update changelog for upcoming release
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 2, 2017 Configuration menu - View commit details
-
Copy full SHA for 77b630e - Browse repository at this point
Copy the full SHA 77b630eView commit details
Commits on Jan 3, 2017
-
build: pass mandir to cmake, and regen cmake from toplevel
This lets 'make MANDIR=x install-doc" work as expected. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 1b7a5ca - Browse repository at this point
Copy the full SHA 1b7a5caView commit details -
OSX doesn't support install -D; do it in two steps. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 3, 2017 Configuration menu - View commit details
-
Copy full SHA for a620758 - Browse repository at this point
Copy the full SHA a620758View commit details -
debian: synchronize with downstream control files
This updates (some of) the debian directory to match that of the downstream debian package so that packages built directly from source with dpkg-buildpackage more closely match the ones provided from the distribution. Set version to 1.1.0 to match upcoming release. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 47026f5 - Browse repository at this point
Copy the full SHA 47026f5View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 063c4ce - Browse repository at this point
Copy the full SHA 063c4ceView commit details
Commits on Jan 4, 2017
-
Fix compiling when using LibreSSL
Fix undefined reference to `HMAC_CTX_new' and `HMAC_CTX_free' when using LibreSSL instead of OpenSSL. Signed-off-by: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Configuration menu - View commit details
-
Copy full SHA for 25e2569 - Browse repository at this point
Copy the full SHA 25e2569View commit details -
a971ec2 removed part of the support for OpenBSD. Re-add -lkvm to LDLIBS (if lastpass-cli is compiled on OpenBSD). Signed-off-by: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Configuration menu - View commit details
-
Copy full SHA for 636c44f - Browse repository at this point
Copy the full SHA 636c44fView commit details -
Merge pull request lastpass#237 from bket/libressl
Fix compiling when using LibreSSL
Configuration menu - View commit details
-
Copy full SHA for 218f6ca - Browse repository at this point
Copy the full SHA 218f6caView commit details -
Merge pull request lastpass#238 from bket/openbsd
Fix support for OpenBSD
Configuration menu - View commit details
-
Copy full SHA for 919712e - Browse repository at this point
Copy the full SHA 919712eView commit details -
Display fullname differs from account name when there is no group; in this case (none) is prepended to the account, but we sort as if it isn't there, leading to mixed up sorting. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 4, 2017 Configuration menu - View commit details
-
Copy full SHA for 3af7429 - Browse repository at this point
Copy the full SHA 3af7429View commit details
Commits on Jan 5, 2017
-
blob: fix segfault when using 'show' on a secure note
vinceatbluelabs reported a segfault due to the new attachments code -- if attachment key is unspecified (like it is for most notes) then expansion will fail. I had intended to make this field always present like id, name, etc but left that part out. Also free these fields when the account is freed. Fixes lastpass#241. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 8bb4b14 - Browse repository at this point
Copy the full SHA 8bb4b14View commit details -
changelog: update for new release
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 68021d3 - Browse repository at this point
Copy the full SHA 68021d3View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 1072699 - Browse repository at this point
Copy the full SHA 1072699View commit details
Commits on Jan 11, 2017
-
terminal: fix segfault in lpass logout
vinceatbluelabs on github reports a segfault with lpass logout --color=never due to unsigned overflow when len < 2. Fix this by checking first that len is at least two characters long before trying to strip out any escape characters. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 11, 2017 Configuration menu - View commit details
-
Copy full SHA for 18996ca - Browse repository at this point
Copy the full SHA 18996caView commit details
Commits on Jan 13, 2017
-
edit: initialize attach keys for new accounts
lpass add was failling in secure notes due to attachment keys being uninitialized. Fix by setting these where other fields are initialized. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 13, 2017 Configuration menu - View commit details
-
Copy full SHA for 791f8e3 - Browse repository at this point
Copy the full SHA 791f8e3View commit details
Commits on Jan 17, 2017
-
Merge pull request lastpass#252 from lastpass/topic-sort
ls: sort by display fullname
Configuration menu - View commit details
-
Copy full SHA for 2af575b - Browse repository at this point
Copy the full SHA 2af575bView commit details -
doc: document
lpass show
matching optionsAdd documentation for --fixed-strings, --basic-regexp, --expand multi. Signed-off-by: Eric B. Hymowitz <eric_b_hymowitz@yahoo.com> [copeland@lastpass.com: fixed up commitlog] Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 91cb253 - Browse repository at this point
Copy the full SHA 91cb253View commit details -
doc: document command aliases and default options
Add documentation for the alias feature. Signed-off-by: Eric B. Hymowitz <eric_b_hymowitz@yahoo.com> [copeland@lastpass.com: fixed up commitlog] Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 86225bb - Browse repository at this point
Copy the full SHA 86225bbView commit details -
doc: shorten the section on aliases slightly
Simplify the aliases documentation a bit by showing echo commands to create the necessary files. As the configuration directory is not necessarily in $LPASS_HOME, add a reference to the previous section, and use ~/.config/lpass in the examples since that is where it is typically found on Linux. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 9e8dd16 - Browse repository at this point
Copy the full SHA 9e8dd16View commit details
Commits on Jan 18, 2017
-
test: implement a mock http server for basic testing
This adds a new executable target, lpass-test, which returns canned responses for http requests. With suitable mocked responses, we can use this to do testing without an external server. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 18, 2017 Configuration menu - View commit details
-
Copy full SHA for 7e993b7 - Browse repository at this point
Copy the full SHA 7e993b7View commit details -
test: add some tests of basic functionality
This adds a bash-driven test infrastructure that uses the lpass-test binary to do some simple tests of login, add, edit, show, duplicate, and generate. All commands disable syncing and either operate on the local blob records (of added accounts) or the accounts that are returned in the mock getaccts function. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 18, 2017 Configuration menu - View commit details
-
Copy full SHA for e59c8cb - Browse repository at this point
Copy the full SHA e59c8cbView commit details
Commits on Feb 3, 2017
-
build: remove build dir on 'make clean'
When using the normal build/ build directory, everything under there can be removed on a clean build and regenerated. Failure to clean up all of this was causing some issues in package builds. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 32172dd - Browse repository at this point
Copy the full SHA 32172ddView commit details -
build: add cmake, pkg-config to build-depends
These are needed for the build now. Reported by Knut Ahlers. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 3, 2017 Configuration menu - View commit details
-
Copy full SHA for ced43ae - Browse repository at this point
Copy the full SHA ced43aeView commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 6cd4daa - Browse repository at this point
Copy the full SHA 6cd4daaView commit details -
debian: add 1.1.2 changelog entry for package
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 3, 2017 Configuration menu - View commit details
-
Copy full SHA for 97e6e62 - Browse repository at this point
Copy the full SHA 97e6e62View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 3, 2017 Configuration menu - View commit details
-
Copy full SHA for c9fa3a5 - Browse repository at this point
Copy the full SHA c9fa3a5View commit details
Commits on Feb 17, 2017
-
This creates a 'make test' target in toplevel makefile, and also excludes lpass-test from being built as part of "make all". Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 0b77269 - Browse repository at this point
Copy the full SHA 0b77269View commit details -
fix warnings in test build for unused funcitons
A lot of these functions are only used in libcurl, so we should leave them out of the test builds. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 5629ba5 - Browse repository at this point
Copy the full SHA 5629ba5View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 34c9cf5 - Browse repository at this point
Copy the full SHA 34c9cf5View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 17, 2017 Configuration menu - View commit details
-
Copy full SHA for 1c6f8f6 - Browse repository at this point
Copy the full SHA 1c6f8f6View commit details
Commits on Feb 23, 2017
-
tests: add a test for editing an SSN name
User has reported an issue in this area and we did have a bug here once, so add another test just to make sure this works. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 9432202 - Browse repository at this point
Copy the full SHA 9432202View commit details -
share: display the created share name
There's a certain amount of confusion by the fact that lpass insists on forcing the Shared-XXX filename convention, so users can't find the shared folder they just created. Make it a little more obvious by telling the folder name that was ultimately created. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 64553a3 - Browse repository at this point
Copy the full SHA 64553a3View commit details -
Currently only folders with something in them get shown. For regular folders, there is the concept of the 'group' type account which can be used to represent an empty folder, so these can be displayed in `lpass ls`. For shared folders, though, there is not such an account type. But we know all the shared folders as they are added to a list in the blob, so we can create a fake group account just for displaying inside `lpass ls`. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedFeb 23, 2017 Configuration menu - View commit details
-
Copy full SHA for c1e7de1 - Browse repository at this point
Copy the full SHA c1e7de1View commit details
Commits on Mar 1, 2017
-
show: display reprompt status if enabled
I plan to add editing of reprompt status, and it would be helpful to see it in the 'show' command to see if it is currently enabled or not. Since the vast majority of sites are unlikely to have reprompt enabled, only show it if set to true, to avoid adding too much noise. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 1, 2017 Configuration menu - View commit details
-
Copy full SHA for 3fbc8d1 - Browse repository at this point
Copy the full SHA 3fbc8d1View commit details -
edit: add a method of editing reprompt setting
Although we track it and now show it, there is no way for a user using the CLI to modify the reprompt setting for a site. This change adds a new line into the edit buffer for accounts if the reprompt setting is set to true, like so: [...] Reprompt: Yes If reprompt is not true (vast majority of cases), we just leave it out. If the value is changed to anything other than Yes during the edit session, then reprompt is changed accordingly. Thus reprompt can be turned on and off like so: echo "Reprompt: Yes" | lpass edit site --non-interactive echo "Reprompt: No" | lpass edit site --non-interactive Add a test to capture this functionality. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 1, 2017 1Configuration menu - View commit details
-
Copy full SHA for f96885f - Browse repository at this point
Copy the full SHA f96885fView commit details
Commits on Mar 6, 2017
-
edit: fix reprompt edit for notes
We didn't copy the edited pwprotect back into expanded notes; fix that. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 6, 2017 Configuration menu - View commit details
-
Copy full SHA for 80a6ce9 - Browse repository at this point
Copy the full SHA 80a6ce9View commit details
Commits on Mar 14, 2017
-
NULL-check the argument to append_str
Fixes lastpass#283. Signed-off-by: Kyle Burton <kyle.burton@gmail.com> Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 939c7da - Browse repository at this point
Copy the full SHA 939c7daView commit details -
format: always initialize buffer with some space
If format_account() wound up not appending any characters at all, then buf->bytes might still be a null pointer (i.e., only appending a character causes buf->bytes to get created). We would then pass this into terminal_printf again in order to use it for show(). Fix the issues in this area by introducing buffer_init() and using that in the format cases. The buffer_init function always allocates an empty 80-character string in the expectation it will get used. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 7e9cec2 - Browse repository at this point
Copy the full SHA 7e9cec2View commit details -
endpoints.c: fix valgrind identified memory leaks
cmake -DCMAKE_BUILD_TYPE=Debug . make valgrind --log-file=./valgrind.log --leak-check=full ./lpass export --sync=now Signed-off-by: Kyle Burton <kyle.burton@gmail.com> Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 58fbb17 - Browse repository at this point
Copy the full SHA 58fbb17View commit details -
Fix: /tmp/lastpass-cli/cmd-ls.c:351:29: warning: The left operand of '!=' is a garbage value /tmp/lastpass-cli/endpoints.c:429:7: warning: Use of memory after it is freed Reported by @wkoszek on github (lastpass#281). There were a few false positives caused by the pattern: _cleanup_free_ char *reply = NULL; reply = get_some_data(); In which the reply is there so it can be freed. I left these alone. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 14, 2017 Configuration menu - View commit details
-
Copy full SHA for a53de5d - Browse repository at this point
Copy the full SHA a53de5dView commit details
Commits on Mar 25, 2017
-
edit: add a maximum of 45k characters for notes
The server will reject fields that are too large which will cause sync to hang. Add an upper limit. Fixes lastpass#278. Reported by deniseyu on github. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 25, 2017 Configuration menu - View commit details
-
Copy full SHA for c5efd73 - Browse repository at this point
Copy the full SHA c5efd73View commit details
Commits on Apr 13, 2017
-
Missing xsltproc, cmake, and gcc dependencies in README
Signed-off-by: Christian Rondeau <christian.rondeau@gmail.com> [copeland@lastpass.com - squashed two related patches] Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 48b55f2 - Browse repository at this point
Copy the full SHA 48b55f2View commit details
Commits on Apr 14, 2017
-
Fix a typo in asciidoc instructions
Signed-off-by: Christian Rondeau <christian.rondeau@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6f18014 - Browse repository at this point
Copy the full SHA 6f18014View commit details
Commits on Apr 19, 2017
-
Merge pull request lastpass#295 from christianrondeau/docpr
Fix a typo in asciidoc instructions
Configuration menu - View commit details
-
Copy full SHA for d6c7147 - Browse repository at this point
Copy the full SHA d6c7147View commit details
Commits on Apr 20, 2017
-
endpoints: fix trust for out-of-band case
The trust.php call was missing a token which caused trust updates to be ignored. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedApr 20, 2017 Configuration menu - View commit details
-
Copy full SHA for 46b8f48 - Browse repository at this point
Copy the full SHA 46b8f48View commit details
Commits on Apr 25, 2017
-
test: add a test for adding an ssh key
Due to the way LastPass stores multiline fields, this frequently comes up as a bug report; make a test to demonstrate how it currently works (notably you have to remove newlines.) Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedApr 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 75bcbcb - Browse repository at this point
Copy the full SHA 75bcbcbView commit details
Commits on Apr 26, 2017
-
support new-style private key format fields
The LastPass plugins now support multiline fields (besides Notes) if the field is part of a known note template. This has been used to capture the embedded newlines in ascii-armored private SSH keys with the ssh-key note type. Until now lpass only supported ssh keys stored on a single line, so add the ability to parse these kinds of strings to enable support for keys created in the newer plugins. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedApr 26, 2017 Configuration menu - View commit details
-
Copy full SHA for 1ae6957 - Browse repository at this point
Copy the full SHA 1ae6957View commit details
Commits on May 5, 2017
-
Add build-essential to Ubuntu package dependencies
Ubuntu requires the `build-essential` package for cmake to complete. Signed-off-by: Craig Menning <cmenning@gmail.com>
Craig Menning committedMay 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 336748a - Browse repository at this point
Copy the full SHA 336748aView commit details
Commits on May 8, 2017
-
Merge pull request lastpass#301 from cmenning/add-build-essential
Add build-essential to Ubuntu package dependencies
Configuration menu - View commit details
-
Copy full SHA for f015a5e - Browse repository at this point
Copy the full SHA f015a5eView commit details
Commits on May 23, 2017
-
Include pkg-config in Ubuntu dependencies
Running `cmake .` on Ubuntu 16.04 gives an error: ``` Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) ``` Signed-off-by: Glenn Oppegard <goppegard@pivotal.io>
Configuration menu - View commit details
-
Copy full SHA for e6efe1a - Browse repository at this point
Copy the full SHA e6efe1aView commit details -
Merge pull request lastpass#307 from oppegard/patch-1
Include pkg-config in Ubuntu dependencies
Configuration menu - View commit details
-
Copy full SHA for b8b20ea - Browse repository at this point
Copy the full SHA b8b20eaView commit details
Commits on May 24, 2017
-
Add SUN_LEN when not defined (termux)
Signed-off-by: Christian Rondeau <christian.rondeau@gmail.com> Note that this code is found as-is in multiple `un.h` implementations. Source and alternatives for SUN_LEN: https://stackoverflow.com/a/2307539/154480
Configuration menu - View commit details
-
Copy full SHA for dfd7ea2 - Browse repository at this point
Copy the full SHA dfd7ea2View commit details -
Merge pull request lastpass#308 from christianrondeau/termux
Add SUN_LEN when not defined (termux)
Configuration menu - View commit details
-
Copy full SHA for 670acab - Browse repository at this point
Copy the full SHA 670acabView commit details
Commits on Jun 5, 2017
-
Add a test for the basic CSV export functionality. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 5, 2017 Configuration menu - View commit details
-
Copy full SHA for 147903f - Browse repository at this point
Copy the full SHA 147903fView commit details
Commits on Jun 7, 2017
-
export --full to dump the full account struct
Signed-off-by: Kyle Burton <kyle.burton@gmail.com> [copeland@lastpass.com: edited to remove some unrelated changes] Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 7e9c202 - Browse repository at this point
Copy the full SHA 7e9c202View commit details -
export: allow customizing the list of exported fields
Add a new --fields=FIELDLIST argument which can be used to customize the list of output fields instead of printing just the few defaults that we can import. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for aabc642 - Browse repository at this point
Copy the full SHA aabc642View commit details -
tests: add a test for extended export
Add a test that uses a customized field list including some unknown property (which should be rendered as empty string). Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for c59160a - Browse repository at this point
Copy the full SHA c59160aView commit details -
README: advocate top-level makefile
'make test' only works if you start with the toplevel makefile because it now assumes cmake is run from the build/ directory (this is the suggested practice so that build artifacts don't contaminate the source). So advise using 'make' instead of the cmake-generated Makefile, at least for people who aren't familiar with cmake which will build with cmake in the build/ directory. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for a532da4 - Browse repository at this point
Copy the full SHA a532da4View commit details -
endpoints: remove dead fields code
stringify_field(s) isn't currently used, just drop it for now. It was intended to support field updates but we still don't support that yet. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 5760c2b - Browse repository at this point
Copy the full SHA 5760c2bView commit details -
share: make reply free explicit in simple cases
clang analyzer says that reply is unused. This is a false positive because, although we don't look at the reply, we still need to free it. So just explicitly call free to quiet the check. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 873482b - Browse repository at this point
Copy the full SHA 873482bView commit details -
login: check cause before using
This is a false-positive from clang-analyzer: if ordinary_login returns false then cause must not be null. Still, the flow is a bit confusing so just go ahead and add a null check before we use it. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 1ba2e60 - Browse repository at this point
Copy the full SHA 1ba2e60View commit details -
version: prepare version 1.2.0
Add the changelogs for the next release. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 7, 2017 Configuration menu - View commit details
-
Copy full SHA for 8f155ef - Browse repository at this point
Copy the full SHA 8f155efView commit details
Commits on Jun 9, 2017
-
Similar to building lpass, OpenBSD requires -lkvm when building lpass-test. Signed-off-by: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Configuration menu - View commit details
-
Copy full SHA for 8484a4b - Browse repository at this point
Copy the full SHA 8484a4bView commit details -
Merge pull request lastpass#310 from bket/test-openbsd
OpenBSD requires -lkvm
Configuration menu - View commit details
-
Copy full SHA for 2c60147 - Browse repository at this point
Copy the full SHA 2c60147View commit details
Commits on Jun 15, 2017
-
pid_to_cmd: Use sysctl on FreeBSD, DragonFly and NetBSD.
Replace use of /proc with sysctl KERN_PROC_PATHNAME on FreeBSD, DragonFlyBSD (3.8+) and recent NetBSDs (8.0+). As NetBSD 8 isn't out yet, the fallback to /proc is maintained. DragonFlyBSD 3.8 is 3 years old and there seems little reason to make the logic more complex for the sake of supporting older versions. Signed-off-by: Thomas Hurst <tom@hur.st>
Configuration menu - View commit details
-
Copy full SHA for db843be - Browse repository at this point
Copy the full SHA db843beView commit details
Commits on Jun 19, 2017
-
Merge pull request lastpass#313 from Freaky/bsd-sysctl
pid_to_cmd: Use sysctl on FreeBSD, DragonFly and NetBSD.
Configuration menu - View commit details
-
Copy full SHA for be09223 - Browse repository at this point
Copy the full SHA be09223View commit details
Commits on Jun 21, 2017
-
Looks like adding a note field to a secure note results in 'lpass show' not being able to display fields without excess text displaying at the end. Signed-off-by: Vince Broz <vince.broz@bluelabs.com>
Configuration menu - View commit details
-
Copy full SHA for be7b130 - Browse repository at this point
Copy the full SHA be7b130View commit details -
blob: only do field concatenation for multiline fields
Commit 1ae6957, "support new-style private key format fields" introduced a regression in that non-templated fields got merged with the preceeding fields for all template types. While this is similar to what the website does, it broke workflows for several users and, in practical terms, only ssh private keys have this feature, so we only need to do it there. Introduce a new function to tell us which template fields are eligible for this version of expansion and only do it for those. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 301668b - Browse repository at this point
Copy the full SHA 301668bView commit details -
Merge pull request lastpass#312 from vinceatbluelabs/notes_break_show…
…_on_field Excess output when showing fields on secure notes that have a 'Notes' field
Configuration menu - View commit details
-
Copy full SHA for 5974e7c - Browse repository at this point
Copy the full SHA 5974e7cView commit details -
test: add a test case for showing secure notes
This test covers a regression where the final parsed field in a secure note would get dropped. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 85d7f90 - Browse repository at this point
Copy the full SHA 85d7f90View commit details -
blob: fix parsing for secure notes
The final entry in a secure note doesn't necessarily end in a newline, but the field parsing code skipped the last line due to a regression introduced in commit 1ae6957. Make sure the final line is considered. Fixes lastpass#311. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 0574dc5 - Browse repository at this point
Copy the full SHA 0574dc5View commit details
Commits on Jun 28, 2017
-
Prepare a new release with recent fixes. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJun 28, 2017 Configuration menu - View commit details
-
Copy full SHA for eda59f8 - Browse repository at this point
Copy the full SHA eda59f8View commit details
Commits on Jul 18, 2017
-
format: support "%al" for account URL
Signed-off-by: Yikai Zhao <i@BlahGeek.com>
Configuration menu - View commit details
-
Copy full SHA for 6dd3dc1 - Browse repository at this point
Copy the full SHA 6dd3dc1View commit details
Commits on Jul 19, 2017
-
Merge pull request lastpass#315 from blahgeek/master
format: support "%al" for account URL
Configuration menu - View commit details
-
Copy full SHA for e72a522 - Browse repository at this point
Copy the full SHA e72a522View commit details
Commits on Jul 27, 2017
-
agent: check for LPASS_AGENT_DISABLE in agent_start()
The agent was being started in agent_save() which is called from login, regardless of LPASS_AGENT_DISABLE setting. Move it to agent_start() so that it is always checked. Fixes lastpass#320. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJul 27, 2017 Configuration menu - View commit details
-
Copy full SHA for 2d55f31 - Browse repository at this point
Copy the full SHA 2d55f31View commit details
Commits on Aug 23, 2017
-
Revert "endpoints: remove dead fields code"
This reverts commit 5760c2b.
Bob Copeland committedAug 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 684bf31 - Browse repository at this point
Copy the full SHA 684bf31View commit details -
endpoints: include fields when doing add/edit account
When adding an account with fields, the fields are never sent to the server. Consequently, they are dropped whenever the save is completed. Persist the fields if present using the SAED machinery. Fixes github issue lastpass#324. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedAug 23, 2017 Configuration menu - View commit details
-
Copy full SHA for eef9cdf - Browse repository at this point
Copy the full SHA eef9cdfView commit details -
edit: allow passing multiple lines to lpass edit --field=X
It's convenient to be able to add an ssh-key via just cat my-key-file | lpass edit --field='Private Key' --non-interactive foo ...rather than having to pipe to tr to remove newlines. Enable that usecase by reading multiple lines from stdin in this case instead of just the first line. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedAug 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 1b71a56 - Browse repository at this point
Copy the full SHA 1b71a56View commit details -
blob: don't skip internal newlines while processing a field
Although we could add embedded newlines in ssh-keys, blob parser was mangling them again by stripping out the newline between the key info and the key data. Preserve those. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedAug 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 113e27b - Browse repository at this point
Copy the full SHA 113e27bView commit details -
test: fix test cases that do more than one assert
Some of the test cases would check more than one assertion but keep going after the first assertion failed; this could hide errors in the test suite. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedAug 23, 2017 Configuration menu - View commit details
-
Copy full SHA for cf52190 - Browse repository at this point
Copy the full SHA cf52190View commit details -
tests: remove 'tr' from ssh test pipeline
Now that `lpass edit` can handle multiline text when specifying the fieldname, we don't need to use 'tr' here. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedAug 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 88eda28 - Browse repository at this point
Copy the full SHA 88eda28View commit details
Commits on Aug 25, 2017
-
edit: support ssh keys in interactive lpass add
Split out the edit file parser from the processing code, and enhance it to accumulate multiline strings in a similar manner to expanding notes in the blob. This allows us to put a multiline private ssh key file in the ssh secure notes in a more natural way than joining a bunch of lines together. Fixes lastpass#316. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedAug 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 24958c0 - Browse repository at this point
Copy the full SHA 24958c0View commit details
Commits on Aug 26, 2017
-
Signed-off-by: Steven Liekens <steven.liekens@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 075b102 - Browse repository at this point
Copy the full SHA 075b102View commit details -
Merge pull request lastpass#327 from StevenLiekens/patch-1
Add link to documentation
Configuration menu - View commit details
-
Copy full SHA for 68f28e0 - Browse repository at this point
Copy the full SHA 68f28e0View commit details
Commits on Sep 8, 2017
-
Fix debian building on newer systems
Signed-off-by: Hannes Hörl <hannes.hoerl+gh@snowreporter.com>
Configuration menu - View commit details
-
Copy full SHA for d50e114 - Browse repository at this point
Copy the full SHA d50e114View commit details
Commits on Sep 10, 2017
-
updated Readme.md to reflect the two packages avalaible from AUR and …
…the Arch Community Repository Signed-off-by: Darragh Grealish <me@darraghgrealish.com>
Configuration menu - View commit details
-
Copy full SHA for 2b54844 - Browse repository at this point
Copy the full SHA 2b54844View commit details
Commits on Sep 12, 2017
-
Merge pull request lastpass#328 from hoegaarden/debian-fix
Fix debian building on newer systems
Configuration menu - View commit details
-
Copy full SHA for e16a093 - Browse repository at this point
Copy the full SHA e16a093View commit details
Commits on Sep 15, 2017
-
Merge pull request lastpass#329 from grealish/master
Updated Readme to reflect correct Arch Linux information
Configuration menu - View commit details
-
Copy full SHA for 71d4661 - Browse repository at this point
Copy the full SHA 71d4661View commit details -
show: load attachments from getattach
Fixes lastpass#1 and lastpass#318: Load attachments from the correct endpoint. For shared attachments, include the shared folder id. Signed-off-by: Spencer Whyte <spencerwhyte@gmail.com> [added free(), revised commitlog] Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 245b957 - Browse repository at this point
Copy the full SHA 245b957View commit details
Commits on Sep 22, 2017
-
problem: can't complete names with spaces in them
Instead of just grabbing the first field using awk, use the same sed logic for stripping the ID that the next line uses. Signed-off-by: Justin Azoff <justin.azoff@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7e307bb - Browse repository at this point
Copy the full SHA 7e307bbView commit details -
Merge pull request lastpass#334 from JustinAzoff/master
problem: can't complete names with spaces in them
Configuration menu - View commit details
-
Copy full SHA for cda980c - Browse repository at this point
Copy the full SHA cda980cView commit details
Commits on Sep 29, 2017
-
OpenBSD has some nifty features for the memory allocator. One of these features is 'use after free detection'. With this this feature enabled lpass segfaults. This segfault is explained by the order of curl_easy_cleanup and curl_easy_getinfo in http.c: First a libcurl easy handle is ended, and then it is used to gather some information. Description of curl_easy_cleanup states that "This function must be the last function to call for an easy session." Signed-off-by: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Configuration menu - View commit details
-
Copy full SHA for 68cfae0 - Browse repository at this point
Copy the full SHA 68cfae0View commit details -
Merge pull request lastpass#336 from bket/curl_easy_cleanup
use-after-free bug in http.c
Configuration menu - View commit details
-
Copy full SHA for 1541a4a - Browse repository at this point
Copy the full SHA 1541a4aView commit details
Commits on Oct 12, 2017
-
Support VISUAL editor environment variable (Closes: github lastpass#337)
Takes preference over the EDITOR environment variable as per https://en.wikibooks.org/wiki/Guide_to_Unix/Environment_Variables#VISUAL Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 9e20ce1 - Browse repository at this point
Copy the full SHA 9e20ce1View commit details -
Update gitignore to exclude test dir test/.lpass
Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for b207316 - Browse repository at this point
Copy the full SHA b207316View commit details
Commits on Oct 13, 2017
-
Merge pull request lastpass#339 from waterkip/337-add-visual-support
Support VISUAL editor environment variable (Closes: github lastpass#337)
Configuration menu - View commit details
-
Copy full SHA for 6e8687c - Browse repository at this point
Copy the full SHA 6e8687cView commit details
Commits on Oct 15, 2017
-
- Add missing options. - Remove unused functions. - Simplify remaining functions (entry completion should be fast now). - Add missing command (status). - Rearrange items in alphabetic order. Signed-off-by: Israel Chauca <israelchauca@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 193e06f - Browse repository at this point
Copy the full SHA 193e06fView commit details
Commits on Oct 25, 2017
-
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 25, 2017 Configuration menu - View commit details
-
Copy full SHA for d57448e - Browse repository at this point
Copy the full SHA d57448eView commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 24e5715 - Browse repository at this point
Copy the full SHA 24e5715View commit details -
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedOct 25, 2017 Configuration menu - View commit details
-
Copy full SHA for 4ce0404 - Browse repository at this point
Copy the full SHA 4ce0404View commit details -
Merge pull request lastpass#341 from Raimondi/patch-1
Update completions-lpass.fish
Configuration menu - View commit details
-
Copy full SHA for 5b48a30 - Browse repository at this point
Copy the full SHA 5b48a30View commit details
Commits on Oct 26, 2017
-
generate: fix type for option parsing
char may or may not be signed depending on architecture. If char is unsigned on a given architecture, then will the testing the return value from getopt_long (which is int) always fail. This happened on some architectures like ppc64le, aarch64 and s390x. To fix this we use same type as getopt_long return value: int. fixes lastpass#345 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Configuration menu - View commit details
-
Copy full SHA for d170eb7 - Browse repository at this point
Copy the full SHA d170eb7View commit details -
Merge pull request lastpass#346 from ncopa/fix-generate
generate: fix type for option parsing
Configuration menu - View commit details
-
Copy full SHA for 8d086f6 - Browse repository at this point
Copy the full SHA 8d086f6View commit details
Commits on Nov 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 5019414 - Browse repository at this point
Copy the full SHA 5019414View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb90968 - Browse repository at this point
Copy the full SHA fb90968View commit details -
Signed-off-by: Josh Soref <jsoref@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eb58665 - Browse repository at this point
Copy the full SHA eb58665View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c1512 - Browse repository at this point
Copy the full SHA e7c1512View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 80c1174 - Browse repository at this point
Copy the full SHA 80c1174View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9601f7 - Browse repository at this point
Copy the full SHA a9601f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4446d8d - Browse repository at this point
Copy the full SHA 4446d8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82bb51d - Browse repository at this point
Copy the full SHA 82bb51dView commit details
Commits on Dec 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a3e38fa - Browse repository at this point
Copy the full SHA a3e38faView commit details
Commits on Jan 2, 2018
-
copyright: update dates to 2018
Happy New Year! Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 2, 2018 Configuration menu - View commit details
-
Copy full SHA for 1d4d4cf - Browse repository at this point
Copy the full SHA 1d4d4cfView commit details
Commits on Jan 5, 2018
-
Remove --with-doc instruction for Homebrew install
Fixes lastpass#347 Signed-off-by: Roger D. Winans <roger@solvahol.org>
Configuration menu - View commit details
-
Copy full SHA for 26c4e67 - Browse repository at this point
Copy the full SHA 26c4e67View commit details
Commits on Jan 9, 2018
-
Merge pull request lastpass#367 from solvaholic/solvaholic/touch-readme
Remove --with-doc instruction for Homebrew install
Configuration menu - View commit details
-
Copy full SHA for 9606180 - Browse repository at this point
Copy the full SHA 9606180View commit details -
import: optionally preserve duplicate accounts
Some users would like to keep duplicates when importing. Provide the --keep-dupes option for that. Fixes lastpass#365. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedJan 9, 2018 Configuration menu - View commit details
-
Copy full SHA for 092ff4f - Browse repository at this point
Copy the full SHA 092ff4fView commit details
Commits on Jan 11, 2018
-
lastpass#314 Allow providing custom path to pinentry
Signed-off-by: Martynas Mickevičius <self@2m.lt>
Configuration menu - View commit details
-
Copy full SHA for f5b9ae5 - Browse repository at this point
Copy the full SHA f5b9ae5View commit details
Commits on Jan 27, 2018
-
Merge pull request lastpass#369 from 2m/wip-pinentry-env-2m
lastpass#314 Allow providing custom path to pinentry
Configuration menu - View commit details
-
Copy full SHA for 0d97b3b - Browse repository at this point
Copy the full SHA 0d97b3bView commit details
Commits on Jan 28, 2018
-
add show --quiet to print binary attachments to stdout
problem: trying to automate printing attachments to standard output the program stops and asks for user input. To avoid this behaviour I've implemented --quiet in the same way as status so it just behaves as usual (printing to standard output) documentation and --help have both been updated Signed-off-by: Pau Sanchez <contact@pausanchez.com>
Configuration menu - View commit details
-
Copy full SHA for 5dbf187 - Browse repository at this point
Copy the full SHA 5dbf187View commit details
Commits on Feb 2, 2018
-
Merge pull request lastpass#377 from pausan/force-show-attachments
add show --quiet to print binary attachments to stdout
Configuration menu - View commit details
-
Copy full SHA for b703598 - Browse repository at this point
Copy the full SHA b703598View commit details
Commits on Feb 23, 2018
-
Signed-off-by: Richard Hillmann <richie@project0.de>
Configuration menu - View commit details
-
Copy full SHA for a46e3db - Browse repository at this point
Copy the full SHA a46e3dbView commit details
Commits on Feb 26, 2018
-
Merge pull request lastpass#379 from Project0/feature/zsh
Add zsh completion
Configuration menu - View commit details
-
Copy full SHA for e02dfff - Browse repository at this point
Copy the full SHA e02dfffView commit details
Commits on Mar 13, 2018
-
upload: don't backoff as much for 500 errors
When we encounter a server error (non-200) we always backoff. However, many times this isn't a rate limit but some other (possibly temporary) 500 error which we can retry with less waiting. Reduce the backoff scaling for these types of errors. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 40109c8 - Browse repository at this point
Copy the full SHA 40109c8View commit details -
show: teach show --json option
Based on a patch from Pau Sanchez, add --json option for "lpass show", which can be friendlier for certain kinds of scripting tasks. Normal selection rules apply, so you can, for example, do: lpass show -jxG .* to dump all accounts. In the future we may switch out the custom json code for YAJL or similar, but this gets the basics working. Fixes lastpass#263. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for e5a22e2 - Browse repository at this point
Copy the full SHA e5a22e2View commit details -
tests: add a test for show --json
Add a test for show --json. Because it's hard to get trailing whitespace correct (and it doesn't matter for json), also strip out trailing whitespace before comparing strings. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for dec17ce - Browse repository at this point
Copy the full SHA dec17ceView commit details -
json-format: rename to dash instead of underscore
Maintain naming consistency by renaming json_* to json-* Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 305364e - Browse repository at this point
Copy the full SHA 305364eView commit details
Commits on Mar 14, 2018
-
tests: add a test case for freeform notes
It was reported that we are saving the notes as fields; make a test case for this. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 0a1bc00 - Browse repository at this point
Copy the full SHA 0a1bc00View commit details -
edit: fix editing of site notes
These were being added to fields because there was no check for Notes label in assign_account_value. Fixes lastpass#374. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for 76d4fbc - Browse repository at this point
Copy the full SHA 76d4fbcView commit details
Commits on Mar 15, 2018
-
changelog: prepare changelogs for 1.3.0 release
Signed-off-by: Bob Copeland <copeland@lastpass.com>
Configuration menu - View commit details
-
Copy full SHA for fe108e4 - Browse repository at this point
Copy the full SHA fe108e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5843a3e - Browse repository at this point
Copy the full SHA 5843a3eView commit details -
Added CLion project files to ignore list
Signed-off-by: Andras Rutkai <andras.rutkai@logmein.com>
Configuration menu - View commit details
-
Copy full SHA for a49ed5f - Browse repository at this point
Copy the full SHA a49ed5fView commit details -
Missing dependencies in readme.
Fixes lastpass#317 Signed-off-by: Andras Rutkai <andras.rutkai@logmein.com>
Configuration menu - View commit details
-
Copy full SHA for 79eec48 - Browse repository at this point
Copy the full SHA 79eec48View commit details -
tests: rename note-with-notes test to what it does
Commit be7b130 added a test case to demonstrate a particular parsing issue when there was a field in a secure note. Confusingly, this field was called "Note" (unlike the actual name, "Notes"). Rename "Note" to "Field" in order to clear up this confusion a bit. I verified that the original case will still fail on the original code, whether named Field or Note. Signed-off-by: Bob Copeland <copeland@lastpass.com>
Bob Copeland committedMar 15, 2018 Configuration menu - View commit details
-
Copy full SHA for 95f74f8 - Browse repository at this point
Copy the full SHA 95f74f8View commit details
Commits on Mar 16, 2018
-
Update README.md for installing lastpass cli on Debian
Reordered the Ubuntu and Debian section. Use apt instead of apt-get: https://itsfoss.com/apt-vs-apt-get-difference/ Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for d8b2a1c - Browse repository at this point
Copy the full SHA d8b2a1cView commit details -
Set action on lpass help preventing a fallthrough
See: https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ This changeset changes the 'lpass help` command return code, as it now returns 0. The old behaviour was to return an error code of 1. I don't think a program should return an error state when requesting the help. Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for f2ea88e - Browse repository at this point
Copy the full SHA f2ea88eView commit details -
All editors who support this will respect line endings, tabs, etc. It is awesome :) Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 8686f64 - Browse repository at this point
Copy the full SHA 8686f64View commit details
Commits on Mar 31, 2018
-
Add Dockerfile to create a clean build environment
There are two Dockerfiles: 1) Dockerfile and 2) Dockerfile.dev The Dockerfile is the one which has the smallest image because everything is done in 1 RUN statement. The Dockerfile.dev is the one that may be easier for a developer. It caches the apt-get install phase so you don't need to rebuild everything from scratch if you are testing your changes. And it doesn't delete the build artifacts so you can hop into the container and see what is left behind. The next step would be to create a Debian/Ubuntu package based of this Docker image. I'll leave that as a TODO for now :) Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for bf484f2 - Browse repository at this point
Copy the full SHA bf484f2View commit details
Commits on Apr 6, 2018
-
Signed-off-by: Andras Rutkai <andras.rutkai@logmein.com>
Configuration menu - View commit details
-
Copy full SHA for a8bcc6d - Browse repository at this point
Copy the full SHA a8bcc6dView commit details
Commits on May 7, 2018
-
Merge pull request lastpass#387 from waterkip/dockerize-lastpass-build
Add Dockerfile to create a clean build environment.
Configuration menu - View commit details
-
Copy full SHA for 3545a4f - Browse repository at this point
Copy the full SHA 3545a4fView commit details
Commits on May 16, 2018
-
Revert "pins: remove GlobalSign R1/R3 pins"
This reverts commit 46e2a0f.
Bob Copeland committedMay 16, 2018 1Configuration menu - View commit details
-
Copy full SHA for b888411 - Browse repository at this point
Copy the full SHA b888411View commit details
Commits on May 17, 2018
-
Merge pull request lastpass#410 from bcopeland/master
Revert "pins: remove GlobalSign R1/R3 pins"
Configuration menu - View commit details
-
Copy full SHA for 6a941d6 - Browse repository at this point
Copy the full SHA 6a941d6View commit details -
Merge pull request lastpass#385 from waterkip/fresh-install-debian-te…
…sting Set action on lpass help preventing a fallthrough (fixes lastpass#386)
Configuration menu - View commit details
-
Copy full SHA for 627a06e - Browse repository at this point
Copy the full SHA 627a06eView commit details -
Signed-off-by: Andras Rutkai <andras.rutkai@logmein.com>
Configuration menu - View commit details
-
Copy full SHA for 2e89a38 - Browse repository at this point
Copy the full SHA 2e89a38View commit details
Commits on May 18, 2018
-
Running 'make test' fails on OpenBSD.
Running 'make test' on OpenBSD results in sporadicaly, random tests failing. Cause is always the same; a segmentation fault in lpass-test. Root cause is strange string magic in config.c. Signed-off-by: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Configuration menu - View commit details
-
Copy full SHA for 8d84683 - Browse repository at this point
Copy the full SHA 8d84683View commit details
Commits on Jun 11, 2018
-
The git repo contains the latest release which will be 1.3.2. This makes it easier for others to install the sources from git and know that they aren't running the previous version. Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 7e9f853 - Browse repository at this point
Copy the full SHA 7e9f853View commit details
Commits on Jun 12, 2018
-
Merge pull request lastpass#411 from bket/fix_make_test_openbsd
Running 'make test' fails on OpenBSD.
Configuration menu - View commit details
-
Copy full SHA for 129e434 - Browse repository at this point
Copy the full SHA 129e434View commit details -
Update dependencies for Debian stable/testing
I've also updated the README.md to reflect some changes for Ubuntu 18.04 as these are now the same as for Debian testing. Closes: (GH lastpass#415) Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 07d7213 - Browse repository at this point
Copy the full SHA 07d7213View commit details -
add lastpass attachment export script
Signed-off-by: Lukas Elsner <mail@lukaselsner.de>
u222471 committedJun 12, 2018 Configuration menu - View commit details
-
Copy full SHA for 1fe3115 - Browse repository at this point
Copy the full SHA 1fe3115View commit details
Commits on Jun 14, 2018
-
add getopts, usage and some optimizations
Signed-off-by: Lukas Elsner <mail@lukaselsner.de> Signed-off-by: Lukas Elsner <mail@lukaselsner.de>
u222471 committedJun 14, 2018 Configuration menu - View commit details
-
Copy full SHA for 3e8f2d5 - Browse repository at this point
Copy the full SHA 3e8f2d5View commit details -
Merge pull request lastpass#417 from waterkip/debian-based
Update dependencies for Debian stable/testing
Configuration menu - View commit details
-
Copy full SHA for f489db1 - Browse repository at this point
Copy the full SHA f489db1View commit details -
Signed-off-by: Lukas Elsner <mail@lukaselsner.de> Signed-off-by: Lukas Elsner <mail@lukaselsner.de>
u222471 committedJun 14, 2018 Configuration menu - View commit details
-
Copy full SHA for 0cef341 - Browse repository at this point
Copy the full SHA 0cef341View commit details
Commits on Jun 15, 2018
-
Merge pull request lastpass#418 from waterkip/version-bump
Bump version to 1.3.2
Configuration menu - View commit details
-
Copy full SHA for df182dd - Browse repository at this point
Copy the full SHA df182ddView commit details
Commits on Feb 12, 2019
-
Added an error message for not having a CSV header on import
Signed-off-by: Judd Montgomery <judd@engineer.com>
Configuration menu - View commit details
-
Copy full SHA for f0f4e83 - Browse repository at this point
Copy the full SHA f0f4e83View commit details
Commits on Feb 13, 2019
-
Merge pull request lastpass#424 from juddmon/master
Added an error message for not having a CSV header on import by Judd Montgomery
Configuration menu - View commit details
-
Copy full SHA for b2095ad - Browse repository at this point
Copy the full SHA b2095adView commit details
Commits on Feb 22, 2019
-
Different package names in Xenial
Just Ubuntu things™ Signed-off-by: Nicholas Timkovich <prometheus235@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2a5dacf - Browse repository at this point
Copy the full SHA 2a5dacfView commit details -
Fixes this potential ugliness in some setups: before ------ Usage: /run/current-system/sw/bin/lpass {--help|--version} /run/current-system/sw/bin/lpass login .... after ----- Usage: lpass {--help|--version} lpass login .... Signed-off-by: William Casarin <jb55@jb55.com>
Configuration menu - View commit details
-
Copy full SHA for 4161de9 - Browse repository at this point
Copy the full SHA 4161de9View commit details
Commits on Feb 28, 2019
-
Merge pull request lastpass#476 from jb55/basename-usage
usage: use basename(argv[0])
Configuration menu - View commit details
-
Copy full SHA for 42a8081 - Browse repository at this point
Copy the full SHA 42a8081View commit details -
Merge pull request lastpass#425 from nicktimko/patch-1
Different package names in Xenial
Configuration menu - View commit details
-
Copy full SHA for c9c9d8f - Browse repository at this point
Copy the full SHA c9c9d8fView commit details
Commits on Mar 8, 2019
-
readme: home-brew formula doesn’t have
--with-pinentry
option.Signed-off-by: Thomas Haggett <thomas@freeagent.com>
Thomas Haggett committedMar 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 98392ac - Browse repository at this point
Copy the full SHA 98392acView commit details -
Create subdirectories when determining config path
If a config file name is provided to `config_path_for_type` that contains `/`, create the required subdirectories to allow subsequent creation of this file by the caller. Fixes lastpass#265 Signed-off-by: Tom Sullivan <tom@msbit.com.au>
Configuration menu - View commit details
-
Copy full SHA for 46fc80a - Browse repository at this point
Copy the full SHA 46fc80aView commit details
Commits on Mar 11, 2019
-
Merge pull request lastpass#452 from msbit/265-lastpass-cli
lpass now creates directories in config path under lpass if they do not exist by @msbit
Configuration menu - View commit details
-
Copy full SHA for 594570b - Browse repository at this point
Copy the full SHA 594570bView commit details
Commits on Mar 12, 2019
-
Include
libgen.h
for BSD buildsSigned-off-by: Tom Sullivan <tom@msbit.com.au>
Configuration menu - View commit details
-
Copy full SHA for 79226a6 - Browse repository at this point
Copy the full SHA 79226a6View commit details -
Install bash-completions in PREFIX dir structure
The problem is that the bash completion dir uses a different prefix when found by pkg-config. If the prefix is the same, all is well, otherwise users end up looking for a different location and may suffer from permissions denied errors. This changeset fixes this by regex replacing the prefix of the bash completion directory path. This changeset includes a change to the lookup method for pkg-config vars. It has been changed to reflect the API of FindPkgConfig. There are a lot of if-statements added to check which version of CMake is used. This may not be needed, but.. this will help any upgrade to CMake 3.4 and up. After which most of the code that has been introduced by the changeset can be removed \o/. Fixes: lastpass#478 Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
1Configuration menu - View commit details
-
Copy full SHA for 0431052 - Browse repository at this point
Copy the full SHA 0431052View commit details
Commits on Mar 13, 2019
-
Merge pull request lastpass#480 from joshado/brew_install
readme: home-brew formula doesn’t have `--with-pinentry` option.
Configuration menu - View commit details
-
Copy full SHA for 5943be9 - Browse repository at this point
Copy the full SHA 5943be9View commit details -
Merge pull request lastpass#481 from msbit/bsd-basename
Include `libgen.h` for BSD builds
Configuration menu - View commit details
-
Copy full SHA for 858db57 - Browse repository at this point
Copy the full SHA 858db57View commit details -
Merge pull request lastpass#483 from waterkip/lastpassgh-478-bash-com…
…pletions Install bash-completions in PREFIX dir structure
Configuration menu - View commit details
-
Copy full SHA for 8d91585 - Browse repository at this point
Copy the full SHA 8d91585View commit details
Commits on Mar 14, 2019
-
In order to prevent weird version discussions (see lastpass#481 for such an example) this changeset tries to do versioning the same way as the git project does this. Some caveats apply: 1) Maintainers *must* use annotated tags. Release 1.3.1 is not annotated for example. 2) Maintainers *must* can use a `version` file in the repo to override any logic. This will generate a "static" version. 3) Maintainers *must* bump the version in `LASTPASS-VERSION-GEN` after a release. Some benefits apply too: 1) We can see clearly at which version the client was build 2) We can see if it was a "dirty" build ``` $ lpass --version LastPass CLI v1.3.0.34.g5bf38bc.dirty ``` Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for fe69be7 - Browse repository at this point
Copy the full SHA fe69be7View commit details
Commits on Mar 15, 2019
-
Remove memory leak in
config_path_for_type
Replace repeated calls to `xasprintf` with calls to `xstrappendf`, thus not repeatedly reallocating memory, only one instance of which will be freed. Signed-off-by: Tom Sullivan <tom@msbit.com.au>
Configuration menu - View commit details
-
Copy full SHA for a6dba10 - Browse repository at this point
Copy the full SHA a6dba10View commit details
Commits on Mar 16, 2019
-
Link against Brew CURL under macOS
If building on macOS, add the appropriate PKG_CONFIG_PATH to the environment to hint to the `FindCURL` module to look for that one first. Fixes lastpass#427 Signed-off-by: Tom Sullivan <tom@msbit.com.au>
Configuration menu - View commit details
-
Copy full SHA for a638245 - Browse repository at this point
Copy the full SHA a638245View commit details
Commits on Mar 19, 2019
-
Merge pull request lastpass#486 from msbit/config-path-for-type-mem-leak
Remove memory leak in `config_path_for_type` by @msbit
Configuration menu - View commit details
-
Copy full SHA for f1e088a - Browse repository at this point
Copy the full SHA f1e088aView commit details -
Merge pull request lastpass#485 from waterkip/auto-gen-version
Generate version.h file by @waterkip
Configuration menu - View commit details
-
Copy full SHA for 9019546 - Browse repository at this point
Copy the full SHA 9019546View commit details -
Merge pull request lastpass#487 from msbit/apple-brew-curl
Link against Brew CURL under macOS by @msbit
Configuration menu - View commit details
-
Copy full SHA for d1e408f - Browse repository at this point
Copy the full SHA d1e408fView commit details
Commits on Mar 20, 2019
-
Force IPv4 for every curl call made to lastpass API servers
Users with IPv6 enabled report slowness due to IPv6. The default of Curl is to look at both IPv6 and IPv4. This quickfix makes it possible for users to not experience these issues. We may need to do this differently by enabling lpass -4 to force IPv4 and -6 for v6. Fixes: lastpass#440, lastpass#475 Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 570f81c - Browse repository at this point
Copy the full SHA 570f81cView commit details -
Merge pull request lastpass#488 from waterkip/lastpassgh-440-quickfix
Force IPv4 for every curl call made to lastpass API servers by @waterkip
Configuration menu - View commit details
-
Copy full SHA for 5531e25 - Browse repository at this point
Copy the full SHA 5531e25View commit details -
version.h: do not update the modification timestamp on every single run
The LASTPASS-VERSION-GEN script was copied from another project that used an entirely different format to generate a Makefile include. As a result, it always considered the file out of date, and always remade it, thereby causing `make && sudo make install` to rebuild many files and relink the executable during the install step. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Configuration menu - View commit details
-
Copy full SHA for 86e6da9 - Browse repository at this point
Copy the full SHA 86e6da9View commit details -
make: don't require using make, as it is a compat wrapper for cmake
Running part of the build process in the toplevel Makefile means that users are forbidden to use cmake directly in order to get more control over the cmake arguments, and are also forbidden to use alternative cmake backends without having the Make program installed. It also causes unpredictable issues that must be worked around by every downstream consumer, when the established cmake build process that is supposed to work, aborts with: /build/lastpass-cli-git/src/lastpass-cli/blob.c:42:10: fatal error: version.h: No such file or directory #include "version.h" ^~~~~~~~~~~ compilation terminated. Fixes eli-schwartz/pkgbuilds#12 Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Configuration menu - View commit details
-
Copy full SHA for 5136ac9 - Browse repository at this point
Copy the full SHA 5136ac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32162b5 - Browse repository at this point
Copy the full SHA 32162b5View commit details
Commits on Mar 22, 2019
-
Merge pull request lastpass#490 from eli-schwartz/fix-cmake
make: don't require using make, as it is a compat wrapper for cmake by @eli-schwartz
Configuration menu - View commit details
-
Copy full SHA for f5ad720 - Browse repository at this point
Copy the full SHA f5ad720View commit details -
Merge pull request lastpass#489 from waterkip/changelog
Update CHANGELOG.md for a new release
Configuration menu - View commit details
-
Copy full SHA for 95d7eeb - Browse repository at this point
Copy the full SHA 95d7eebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60d9968 - Browse repository at this point
Copy the full SHA 60d9968View commit details -
Be able to run cmake with cmake 3.7 and less
The CMakelist.txt uses VERSION_GREATER_EQUAL which isn't supported until CMake 3.7. Use VERSION_LESS (which is around in 3.02) instead. Fixes: lastpass#492 Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 162f058 - Browse repository at this point
Copy the full SHA 162f058View commit details -
Remove version generation from Makefile
Since the cmake takes care of this we don't need to have it in the Makefile anymore Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 23d8936 - Browse repository at this point
Copy the full SHA 23d8936View commit details
Commits on Mar 25, 2019
-
Merge pull request lastpass#494 from waterkip/remove-makefile
Remove version generation from Makefile by @waterkip
Configuration menu - View commit details
-
Copy full SHA for 9cda11d - Browse repository at this point
Copy the full SHA 9cda11dView commit details -
Merge pull request lastpass#493 from waterkip/lastpassgh-492-ubuntu_x…
…enial_build Be able to run cmake with cmake 3.7 and lessby @waterkip
Configuration menu - View commit details
-
Copy full SHA for f38eb66 - Browse repository at this point
Copy the full SHA f38eb66View commit details
Commits on Mar 26, 2019
-
Decrease the time for the cli app to do things
When the local blob version and the remote version are the same skip downloading a new blob and just continue with the current blob. This could potentially shave 300ms (or more, I've seen close to 2 seconds in my browser) when the blob hasn't been updated on the remote side. There is still a small performance hit on `login_check.php` but I cannot think of logical ways why we would increase the timeout, the 5 seconds that is place now make sense to me as you want to display things. Maybe there should be a post action on any command that has `--sync=auto` so subsequent calls have a blob in sync and would cause slowness of the CLI app. Fixes: lastpass#475 Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for df90a4a - Browse repository at this point
Copy the full SHA df90a4aView commit details -
Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 37800a9 - Browse repository at this point
Copy the full SHA 37800a9View commit details
Commits on Mar 29, 2019
-
Merge pull request lastpass#491 from waterkip/lastpassgh-475-decrease…
…_display_time Decrease the time for the cli app to do things by @waterkip
Configuration menu - View commit details
-
Copy full SHA for 81ed15c - Browse repository at this point
Copy the full SHA 81ed15cView commit details -
Fix bug where logout requires login
`lpass status` asks the agent to see if we are logged in or not. The code for the logout bit checks the session and if a session has gone stale it want to refresh it. Implement a similar logic as in cmd-status.c where we ask the agent if we have a session, if we do, proceed as always, else, wipe all the session data that we can find. This removes the if-logic in session kill, to delete all config files even if they for whatever reason do not exist. Since we want to kill it, it seems logical to ignore these missing files. Fixes: lastpass#477 Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 0bb0f29 - Browse repository at this point
Copy the full SHA 0bb0f29View commit details
Commits on Apr 5, 2019
-
Merge pull request lastpass#496 from waterkip/lastpassgh-477-logout_s…
…hould_not_require_a_login Fix bug where logout requires login by @waterkip
Configuration menu - View commit details
-
Copy full SHA for b838abc - Browse repository at this point
Copy the full SHA b838abcView commit details
Commits on Apr 10, 2019
-
Fix non-default PKG_CONFIG_PATH on macOS
PKG_CONFIG_PATH shouldn't be reset, only appended to or prepended to, so that the user can still use non-default paths if they need to. Additionally, package managers other than Homebrew (such as Nix) still need to be able to provide their own versions of packages, and aren't going to use Homebrew's default path to do so. Signed-off-by: Alyssa Ross <hi@alyssa.is>
Configuration menu - View commit details
-
Copy full SHA for 685bccc - Browse repository at this point
Copy the full SHA 685bcccView commit details
Commits on Apr 15, 2019
-
Merge pull request lastpass#503 from alyssais/pkg_config_path
Fix non-default PKG_CONFIG_PATH on macOS by @alyssais
Configuration menu - View commit details
-
Copy full SHA for d1eba80 - Browse repository at this point
Copy the full SHA d1eba80View commit details -
Configuration menu - View commit details
-
Copy full SHA for a84aa96 - Browse repository at this point
Copy the full SHA a84aa96View commit details
Commits on Apr 16, 2019
-
Change credits to Wesley Schwengle for 1.3.3 release
Signed-off-by: Wesley Schwengle <wesley@schwengle.net>
Configuration menu - View commit details
-
Copy full SHA for 6ceb824 - Browse repository at this point
Copy the full SHA 6ceb824View commit details -
Merge pull request lastpass#504 from waterkip/gh-take-credits
Change credits to Wesley Schwengle for 1.3.3 release
Configuration menu - View commit details
-
Copy full SHA for 81b9889 - Browse repository at this point
Copy the full SHA 81b9889View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0c345c - Browse repository at this point
Copy the full SHA f0c345cView commit details -
Configuration menu - View commit details
-
Copy full SHA for afd66ad - Browse repository at this point
Copy the full SHA afd66adView commit details -
Merge pull request lastpass#505 from waterkip/agent-rewrite
Refactor agent.c for socket initialisation by @waterkip
Configuration menu - View commit details
-
Copy full SHA for d318aac - Browse repository at this point
Copy the full SHA d318aacView commit details
Commits on May 2, 2019
-
Merge pull request lastpass#419 from mindrunner/master
add lastpass attachment export script by @mindrunner
Configuration menu - View commit details
-
Copy full SHA for 2a70884 - Browse repository at this point
Copy the full SHA 2a70884View commit details
Commits on Jul 8, 2019
-
clipboard: add wl-copy support
wl-copy appears to have become the de-facto standard command line program for copying to the clipboard on Wayland, with multiple implementations of the same interface[1][2]. I think it makes sense for wl-copy to be preferred over xclip if both are installed, since Wayland should generally be preferred over X11. [1]: https://github.com/bugaevc/wl-clipboard [2]: https://github.com/YaLTeR/wl-clipboard-rs Signed-off-by: Alyssa Ross <hi@alyssa.is>
Configuration menu - View commit details
-
Copy full SHA for 3fb46d0 - Browse repository at this point
Copy the full SHA 3fb46d0View commit details
Commits on Jul 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 448c9ae - Browse repository at this point
Copy the full SHA 448c9aeView commit details
Commits on Aug 22, 2019
-
Add MFA support for Microsoft Authenticator
MS Authenticator is currently incompatible with this tool (lastpass#442). I noticed that MFA errors are mapped in an array of `multifactor_type`, which I've updated with the appropriate error codes for MS Authenticator (tested running through a debugger). Signed-off-by: John Hammerlund johnhammerlund@gmail.com
Configuration menu - View commit details
-
Copy full SHA for 95c050f - Browse repository at this point
Copy the full SHA 95c050fView commit details
Commits on Sep 4, 2019
-
Merge pull request lastpass#514 from alyssais/wl-copy
clipboard: add wl-copy support
Configuration menu - View commit details
-
Copy full SHA for 75bdb19 - Browse repository at this point
Copy the full SHA 75bdb19View commit details -
Merge pull request lastpass#516 from ondrejfuhrer/ondrejfuhrer-readme…
…-patch Update README for 2019
Configuration menu - View commit details
-
Copy full SHA for 8eafbc7 - Browse repository at this point
Copy the full SHA 8eafbc7View commit details -
Merge pull request lastpass#522 from johnhammerlund/bugfix/microsoft-mfa
Add MFA support for Microsoft Authenticator
Configuration menu - View commit details
-
Copy full SHA for 8767b5e - Browse repository at this point
Copy the full SHA 8767b5eView commit details
Commits on Nov 22, 2020
-
Signed-off-by: Filippo Rossi <filippo.rossi@mailbox.org>
Configuration menu - View commit details
-
Copy full SHA for 6b92cda - Browse repository at this point
Copy the full SHA 6b92cdaView commit details