The version of lastpass-cli is quite old and I'm now getting the error: Error: Peer certificate cannot be authenticated with given CA certificates. Could you please update this to the latest version?
Ditto. I understand that 1.3.1 fixes the issue. https://github.com/lastpass/lastpass-cli/issues/414
here is a .srpm that fixes the problem you should recreate it from the spec file using spectool --get-files ./lastpass-cli.spec
Created attachment 1449553 [details] spec file $ rm -rf ~/rpmbuild $ mkdir -p ~/rpmbuild/{SPECS,SOURCES} $ cp ~/Downloads/lastpass-cli.spec ~/rpmbuild/SPECS/ $ cd ~/rpmbuild/SOURCES/ $ spectool --get-files ../SPECS/lastpass-cli.spec $ rpmbuild -ba ../SPECS/lastpass-cli.spec $ ls ../RPMS/x86_64/ lastpass-cli-1.3.1-1.fc28.x86_64.rpm lastpass-cli-debuginfo-1.3.1-1.fc28.x86_64.rpm lastpass-cli-debugsource-1.3.1-1.fc28.x86_64.rpm $ ls ../SRPMS/ lastpass-cli-1.3.1-1.fc28.src.rpm
Created attachment 1449554 [details] lastpass-cli-1.3.1-1.fc28.src.rpm the resulting SRPM
Created attachment 1449555 [details] lastpass-cli-1.3.1-1.fc28.x86_64.rpm The resulting RPM file
All that was required was to edit the version line and use spectool --get-files and rpmbuild. $ diff -u */lastpass-cli.spec --- lastpass-cli-1.1.2/lastpass-cli.spec 2018-02-07 23:58:10.000000000 -0500 +++ lastpass-cli-1.3.1/lastpass-cli.spec 2018-06-09 23:09:18.000000000 -0400 @@ -1,8 +1,8 @@ %global __requires_exclude_from ^%{_docdir}/.*$ Name: lastpass-cli -Version: 1.1.2 -Release: 4%{?dist} +Version: 1.3.1 +Release: 1%{?dist} Summary: Command line interface to LastPass.com License: GPLv2 @@ -51,6 +51,9 @@ %changelog +* Sun Jun 10 2018 Edward Huff ejhuff at gmail - 1.3.1-1 +- New upstream 1.3.1 + * Wed Feb 07 2018 Fedora Release Engineering <releng> - 1.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
lastpass-cli-1.3.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7034f3a8cc
lastpass-cli-1.3.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d3b3d2571
lastpass-cli-1.3.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-caaaec1f87
lastpass-cli-1.3.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d3b3d2571
lastpass-cli-1.3.1-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-caaaec1f87
lastpass-cli-1.3.1-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7034f3a8cc
lastpass-cli-1.3.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ea0c4938b5
lastpass-cli-1.3.1-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b92047374c
lastpass-cli-1.3.1-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b92047374c
lastpass-cli-1.3.1-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ea0c4938b5
lastpass-cli-1.3.1-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
Doesn't seem to have made it into Fedora 28 updates or updates-testing, # dnf install lastpass-cli Downloading Packages: ... Installed: lastpass-cli.x86_64 1.1.2-4.fc28 xclip.x86_64 0.13-5.fc28 Complete! # dnf update Last metadata expiration check: 0:00:32 ago on Thu 12 Jul 2018 09:52:27 AM EDT. Dependencies resolved. Nothing to do. Complete! # lpass --version LastPass CLI v1.1.2 # dnf install --enablerepo updates-testing lastpass-cli Fedora 28 - x86_64 - Test Updates 4.6 MB/s | 18 MB 00:03 Last metadata expiration check: 0:00:00 ago on Thu 12 Jul 2018 09:55:46 AM EDT. Package lastpass-cli-1.1.2-4.fc28.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete!
It should be, the package is in testing according to Bodhi: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ea0c4938b5 I get it when I run the same command as you: $ sudo dnf install lastpass-cli --enablerepo=updates-testing Fedora 28 - x86_64 - Test Updates 9.1 MB/s | 18 MB 00:01 Last metadata expiration check: 0:00:06 ago on jeu. 12 juil. 2018 16:02:41 CEST. Dependencies resolved. =============================================================================== Package Arch Version Repository Size =============================================================================== lastpass-cli x86_64 1.3.1-2.fc28 updates-testing 115 k Installing dependencies: xclip x86_64 0.13-5.fc28 fedora 34 k Transaction Summary =============================================================================== Install 2 Packages Total download size: 149 k Installed size: 321 k You should run: sudo dnf update lastpass-cli --enablerepo=updates-testing
Oops, I had forgotten the = after --enablerepo. Mea culpa. Works as expected with, sudo dnf install --enablerepo=updates-testing lastpass-cli Still, the updated package is not in updates yet, possible it hsa just not percolated up yet I guess.
If you have the package already installed you need to use "update" instead of "install".
Right, i'd deleted the old version before trying to install from updates-testing.
lastpass-cli-1.3.1-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
lastpass-cli-1.3.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.