Bug 1583717

Summary: Update to v1.3.1
Product: [Fedora] Fedora Reporter: Matt Prahl <mprahl>
Component: lastpass-cliAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, ejhuff, ivanfmartinez, shuff, steeve.mccauley, tom.prince
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lastpass-cli-1.3.1-2.fc27 lastpass-cli-1.3.1-2.fc28 lastpass-cli-1.3.1-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-12 13:46:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
spec file
none
lastpass-cli-1.3.1-1.fc28.src.rpm
none
lastpass-cli-1.3.1-1.fc28.x86_64.rpm none

Description Matt Prahl 2018-05-29 14:21:13 UTC
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?

Comment 1 Steeve McCauley 2018-05-31 20:56:21 UTC
Ditto. I understand that 1.3.1 fixes the issue.

https://github.com/lastpass/lastpass-cli/issues/414

Comment 2 Edward J. Huff 2018-06-10 03:04:41 UTC
here is a .srpm that fixes the problem

you should recreate it from the spec file using

spectool --get-files ./lastpass-cli.spec

Comment 3 Edward J. Huff 2018-06-10 03:17:59 UTC
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

Comment 4 Edward J. Huff 2018-06-10 03:19:42 UTC
Created attachment 1449554 [details]
lastpass-cli-1.3.1-1.fc28.src.rpm

the resulting SRPM

Comment 5 Edward J. Huff 2018-06-10 03:21:10 UTC
Created attachment 1449555 [details]
lastpass-cli-1.3.1-1.fc28.x86_64.rpm

The resulting RPM file

Comment 6 Edward J. Huff 2018-06-10 03:30:08 UTC
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

Comment 7 Fedora Update System 2018-07-02 18:48:42 UTC
lastpass-cli-1.3.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7034f3a8cc

Comment 8 Fedora Update System 2018-07-02 19:32:40 UTC
lastpass-cli-1.3.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d3b3d2571

Comment 9 Fedora Update System 2018-07-02 19:50:10 UTC
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

Comment 10 Fedora Update System 2018-07-03 14:01:30 UTC
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

Comment 11 Fedora Update System 2018-07-03 15:41:53 UTC
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

Comment 12 Fedora Update System 2018-07-03 17:54:59 UTC
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

Comment 13 Fedora Update System 2018-07-03 18:59:44 UTC
lastpass-cli-1.3.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ea0c4938b5

Comment 14 Fedora Update System 2018-07-03 19:25:09 UTC
lastpass-cli-1.3.1-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b92047374c

Comment 15 Fedora Update System 2018-07-04 16:22:48 UTC
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

Comment 16 Fedora Update System 2018-07-04 18:21:39 UTC
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

Comment 17 Fedora Update System 2018-07-12 13:46:56 UTC
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.

Comment 18 Steeve McCauley 2018-07-12 13:57:25 UTC
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!

Comment 19 Robert-André Mauchin 🐧 2018-07-12 14:06:42 UTC
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

Comment 20 Steeve McCauley 2018-07-12 14:20:52 UTC
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.

Comment 21 Robert-André Mauchin 🐧 2018-07-12 14:44:34 UTC
If you have the package already installed you need to use "update" instead of 
"install".

Comment 22 Steeve McCauley 2018-07-12 14:54:36 UTC
Right, i'd deleted the old version before trying to install from updates-testing.

Comment 23 Fedora Update System 2018-07-13 17:32:07 UTC
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.

Comment 24 Fedora Update System 2018-07-26 12:45:09 UTC
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.