[weboob] Authentification forte et boobank

Romain Bignon romain at symlink.me
Wed Feb 12 22:38:45 CET 2020


Bonjour,

En mettant à jour sur la version de développement, le problème devrait être
fixé.

On 15/Nov - 20:46, Vincent Frison wrote:
> Le mer. 13 nov. 2019 à 23:16, Vincent Frison <vincent.frison at gmail.com> a
> écrit :
> 
> > Je viens de mettre à jour mon répo Git.
> >
> > Maintenant dès que je lance boobank j'ai:
> > 2019-11-13
> > 23:11:33,318:WARNING:backend.cic.browser.mobileconfirmationpage:1.6:pages.py:116:on_load
> > This connexion cannot bypass mobile c
> > onfirmation
> >
> >
> > Bug(cic): Confirmer votre connexion depuis votre appareil " HUAWEI VNS-L31
> > DE M FRISON VINCENT "
> >
> > Et à chaque je dois m'authentifier sur l'app mobile... ce que je fais avec
> > succès, mais ça me redemande la fois suivante...
> >
> 
> Le code actuel de boobank est déjà censé supporter l'authentifcation via
> l'application mobile (du CIC en l'occurence) ?
> 
> Sinon voici les infos du mode debug:
> 
> turman at entropy:~$ boobank  ls --debug
> Unable to load formatter "table": No module named 'prettytable'
> Falling back to "multiline".
> 2019-11-15 20:45:00,167:DEBUG:root:1.6:yamlconfig.py:70:load Loading
> application configuration file: /home/turman/.config/weboob/boobank.storage.
> 2019-11-15 20:45:00,168:DEBUG:root:1.6:yamlconfig.py:74:load Application
> configuration file loaded: /home/turman/.config/weboob/boobank.storage.
> 2019-11-15 20:45:00,169:DEBUG:modules:1.6:modules.py:166:load_module Loaded
> module "cic" from /home/turman/.local/share/weboob/modules/1.6/cic
> 2019-11-15 20:45:00,210:DEBUG:modules:1.6:modules.py:166:load_module Loaded
> module "creditmutuel" from
> /home/turman/.local/share/weboob/modules/1.6/creditmutuel
> 2019-11-15 20:45:00,210:DEBUG:backend:1.6:modules.py:97:create_instance
> Created backend "cic" for module "cic"
> 2019-11-15 20:45:00,210:DEBUG:root:1.6:iniconfig.py:53:load Loading
> application configuration file: /home/turman/.config/weboob/boobank.
> 2019-11-15 20:45:00,211:DEBUG:root:1.6:iniconfig.py:73:load Application
> configuration file loaded: /home/turman/.config/weboob/boobank.
>                                Account                     Balance
>    Coming
> ---------------------------------------------------------+----------+----------
> 
> 2019-11-15 20:45:00,215:DEBUG:bcall:1.6:bcall.py:92:backend_process
> <Backend 'cic'>: Calling function <bound method Application._do_complete of
> <weboob.applications.boobank.boobank.Boobank object at 0x7fe7e274a7f0>>
> 2019-11-15 20:45:00,215:DEBUG:bcall:1.6:bcall.py:101:backend_process
> <Backend 'cic'>: Called function <bound method Application._do_complete of
> <weboob.applications.boobank.boobank.Boobank object at 0x7fe7e274a7f0>>
> returned: <generator object Application._do_complete_it
> er at 0x7fe7dedb86d8>
> 2019-11-15 20:45:00,216:DEBUG:urllib3.util.retry:1.6:retry.py:210:from_int
> Converted retries value: 2 -> Retry(total=2, connect=None, read=None,
> redirect=None, status=None)
> 2019-11-15 20:45:00,216:DEBUG:urllib3.util.retry:1.6:retry.py:210:from_int
> Converted retries value: 2 -> Retry(total=2, connect=None, read=None,
> redirect=None, status=None)
> 2019-11-15
> 20:45:00,217:INFO:backend.cic.browser:1.6:browsers.py:882:load_state
> Reloaded cookies from storage
> 2019-11-15
> 20:45:00,219:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:815:_new_conn
> Starting new HTTPS connection (1): www.cic.fr:443
> 2019-11-15
> 20:45:03,911:DEBUG:urllib3.connectionpool:1.6:connectionpool.py:393:_make_request
> https://www.cic.fr:443 "GET /fr/banque/validation.aspx HTTP/1.1" 200 None
> 2019-11-15
> 20:45:03,922:DEBUG:backend.cic.browser:1.6:browsers.py:716:internal_callback
> Handle https://www.cic.fr/fr/banque/validation.aspx with
> MobileConfirmationPage
> 2019-11-15
> 20:45:03,922:WARNING:backend.cic.browser.mobileconfirmationpage:1.6:pages.py:116:on_load
> This connexion cannot bypass mobile confirmation
> Bug(cic): Confirmer votre connexion depuis votre appareil " HUAWEI VNS-L31
> DE M FRISON VINCENT "
> (If --auto-update is passed on the command-line, new versions of the module
> will be checked automatically)
> Traceback (most recent call last):
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/core/bcall.py",
> line 106, in backend_process
>    for subresult in result:
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/tools/application/base.py",
> line 297, in _do_complete_iter
>    for i, sub in enumerate(res):
>  File
> "/home/turman/.local/share/weboob/modules/1.6/creditmutuel/module.py", line
> 65, in iter_accounts
>    for account in self.browser.get_accounts_list():
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/tools/backend.py",
> line 342, in browser
>    self._browser = self.create_default_browser()
>  File "/home/turman/.local/share/weboob/modules/1.6/cic/module.py", line
> 45, in create_default_browser
>    browser = self.create_browser(self.config['login'].get(),
> self.config['password'].get(), weboob=self.weboob)
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/tools/backend.py",
> line 385, in create_browser
>    browser.load_state(self.storage.get('browser_state', default={}))
>  File
> "/home/turman/.local/share/weboob/modules/1.6/creditmutuel/browser.py",
> line 161, in load_state
>    super(CreditMutuelBrowser, self).load_state(state)
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/browser/browsers.py",
> line 888, in load_state
>    self.locate_browser(state)
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/browser/browsers.py",
> line 869, in locate_browser
>    self.location(state['url'])
>  File
> "/home/turman/.local/lib/python3.7/site-packages/weboob-1.6-py3.7.egg/weboob/browser/browsers.py",
> line 755, in location
>    self.page.on_load()
>  File "/home/turman/.local/share/weboob/modules/1.6/creditmutuel/pages.py",
> line 120, in on_load
>    raise AppValidation(display_msg)
> weboob.exceptions.AppValidation: Confirmer votre connexion depuis votre
> appareil " HUAWEI VNS-L31 DE M FRISON VINCENT "
> 
> Merci, Vincent.

> _______________________________________________
> weboob mailing list
> weboob at lists.symlink.me
> https://lists.symlink.me/mailman/listinfo/weboob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.symlink.me/pipermail/weboob/attachments/20200212/b3171ebd/attachment.sig>


More information about the weboob mailing list