X2Go Bug report logs - #1149
ValueError: CTR mode needs counter parameter, not IV

version graph

Package: pyhoca-cli; Maintainer for pyhoca-cli is X2Go Developers <x2go-dev@lists.x2go.org>; Source for pyhoca-cli is src:pyhoca-cli.

Reported by: Markus <markus@eserver.homelinux.org>

Date: Fri, 17 Feb 2017 12:40:01 UTC

Severity: normal

Merged with 1148

Found in version 0.5.0.4

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1149; Package pyhoca-cli. (Fri, 17 Feb 2017 12:40:01 GMT) (full text, mbox, link).


Acknowledgement sent to Markus <markus@eserver.homelinux.org>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 17 Feb 2017 12:40:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Markus <markus@eserver.homelinux.org>
To: submit@bugs.x2go.org
Subject: ValueError: CTR mode needs counter parameter, not IV
Date: Fri, 17 Feb 2017 13:38:12 +0100
Package: pyhoca-cli
Version: 0.5.0.4

(sorry for repost, I subscribed now to the mailinglist)

Hi,

pyhoca-cli stopped working for me. I expected it to ask me for password,
but instead it raises an exception.

I don't know what happened, because this worked all the time. And I
think I didn't change anything.

The error message is: "ValueError: CTR mode needs counter parameter, not IV"


Used command:

pyhoca-cli --server xxxxxxx -u xxxxxx -R
xxxx-xx-xxxxxxxxxx_xxxxxxxx-session_xxxx

exact apt versions of my client:
pyhoca-cli 0.5.0.4-0~231~ubuntu16.04.1
python-paramiko 1.16.0-1


pyhoca-cli[16494] NOTICE: preparing requested X2Go session
pyhoca-cli[16494] (PyHocaCLI) NOTICE: preparing requested X2Go session
pyhoca-cli[16494] (x2gosessregistry-pylib) NOTICE: registering X2Go
session Pyhoca-Client_Session...
pyhoca-cli[16494] (x2goclient-pylib) NOTICE: initializing X2Go session...
pyhoca-cli[16494] (x2gocontrolsession-pylib) NOTICE: connecting to
[working]:22
No handlers could be found for logger "paramiko.transport"
Traceback (most recent call last):
  File "/usr/bin/pyhoca-cli", line 422, in <module>
    thisPyHocaCLI.authenticate()
  File "/usr/lib/python2.7/dist-packages/pyhoca/cli/frontend.py", line
455, in authenticate
    self._X2GoClient__connect_session(self.x2go_session_hash,
username=_username, password=self.args.password,
force_password_auth=force_password_auth)
  File "/usr/lib/python2.7/dist-packages/x2go/client.py", line 1367, in
connect_session
    sshproxy_force_password_auth=sshproxy_force_password_auth,
  File "/usr/lib/python2.7/dist-packages/x2go/session.py", line 1322, in
connect
    **_params)
  File
"/usr/lib/python2.7/dist-packages/x2go/backends/control/plain.py", line
1001, in connect
    look_for_keys=look_for_keys)
  File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 325,
in connect
    t.start_client()
  File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line
492, in start_client
    raise e
ValueError: CTR mode needs counter parameter, not IV


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1149; Package pyhoca-cli. (Mon, 20 Feb 2017 03:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mihai Moldovan <ionic@ionic.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 20 Feb 2017 03:10:02 GMT) (full text, mbox, link).


Message #10 received at 1149@bugs.x2go.org (full text, mbox, reply):

From: Mihai Moldovan <ionic@ionic.de>
To: Markus <markus@eserver.homelinux.org>, 1149@bugs.x2go.org
Subject: Re: [X2Go-Dev] ValueError: CTR mode needs counter parameter, not IV
Date: Mon, 20 Feb 2017 04:07:32 +0100
[Message part 1 (text/plain, inline)]
Control: merge -1 1148

On 17.02.2017 01:38 PM, Markus wrote:
> Package: pyhoca-cli
> Version: 0.5.0.4
> 
> (sorry for repost, I subscribed now to the mailinglist)
> 
> Hi,
> 
> pyhoca-cli stopped working for me. I expected it to ask me for password,
> but instead it raises an exception.
> 
> I don't know what happened, because this worked all the time. And I
> think I didn't change anything.
> 
> The error message is: "ValueError: CTR mode needs counter parameter, not IV"

Probably an incompatibility issue with newer versions of Paramiko. Will have to
look into this.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Merged 1148 1149 Request was from Mihai Moldovan <ionic@ionic.de> to 1149-submit@bugs.x2go.org. (Mon, 20 Feb 2017 03:10:03 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1149; Package pyhoca-cli. (Tue, 21 Feb 2017 10:40:01 GMT) (full text, mbox, link).


Acknowledgement sent to Markus <markus@eserver.homelinux.org>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 21 Feb 2017 10:40:02 GMT) (full text, mbox, link).


Message #17 received at 1149@bugs.x2go.org (full text, mbox, reply):

From: Markus <markus@eserver.homelinux.org>
To: 1149@bugs.x2go.org
Subject: Re: [X2Go-Dev] ValueError: CTR mode needs counter parameter, not IV
Date: Tue, 21 Feb 2017 11:30:34 +0100
without changing anything, pyhoca-cli works for me now, but it displays
a warning:

"/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141:
FutureWarning: CTR mode needs counter parameter, not IV
  self._cipher = factory.new(key, *args, **kwargs)"

When I tried it today, a window poped up asking me for my passphrase
which I need for something else...

And it worked.

But I dont use a keyfile or this passphrase for this x2go related server.

Maybe this information is useful.

But all thinks work for now.


Markus


Am 20.02.2017 um 04:07 schrieb Mihai Moldovan:
> Control: merge -1 1148
> 
> On 17.02.2017 01:38 PM, Markus wrote:
>> Package: pyhoca-cli
>> Version: 0.5.0.4
>>
>> (sorry for repost, I subscribed now to the mailinglist)
>>
>> Hi,
>>
>> pyhoca-cli stopped working for me. I expected it to ask me for password,
>> but instead it raises an exception.
>>
>> I don't know what happened, because this worked all the time. And I
>> think I didn't change anything.
>>
>> The error message is: "ValueError: CTR mode needs counter parameter, not IV"
> 
> Probably an incompatibility issue with newer versions of Paramiko. Will have to
> look into this.
> 
> 
> 
> Mihai
> 


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 31 12:24:12 2023; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.