German Character in Passphrase

Status
Not open for further replies.

Threepwood

Cadet
Joined
Jul 14, 2015
Messages
2
Hi Guys, [SOLVED]

I am not sure if this is a Bug or just an issue of configuration.

I had (have??) a FreeNAS system with two zpools, both encrypted. After upgrade from 9.2x to 9.3x, I had to reimport my pools.

All good so far, I have geli.key and passphrase on hand. Importing first pool - one no problem.

Second one, no chance. Fact is that I have a German Character in my Passphrase: "ü" and according to the output I assume thats the problem.

So when I provide Key-File, enter passphrase, click "ok", the following text appears in that import Window:
(line break set by me)


Code:
 Environment: Software Version: FreeNAS-9.3-STABLE-201506292332 Request Method: POST
Request URL: https://xxxxxxx/storage/auto-import/?X-Progress-ID=a9041186-917f-4eed-800e-
6571eec79f10 Traceback: File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in
get_response 105. response = middleware_method(request, callback, callback_args, callback_kwargs) File
"/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view 157. return
login_required(view_func)(request, *view_args, **view_kwargs) File "/usr/local/lib/python2.7/site-
packages/django/contrib/auth/decorators.py" in _wrapped_view 22. return view_func(request, *args,
**kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in view 69. return
self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/contrib
/formtools/wizard/views.py" in dispatch 236. response = super(WizardView, self).dispatch(request, *args,
**kwargs) File "/usr/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch 87. return
handler(request, *args, **kwargs) File "/usr/local/lib/python2.7/site-packages/django/contrib/formtools
/wizard/views.py" in post 289. if form.is_valid(): File "/usr/local/lib/python2.7/site-packages/django/forms
/forms.py" in is_valid 129. return self.is_bound and not bool(self.errors) File "/usr/local/lib/python2.7/site-
packages/django/forms/forms.py" in errors 121. self.full_clean() File "/usr/local/lib/python2.7/site-packages
/django/forms/forms.py" in full_clean 274. self._clean_form() File "/usr/local/lib/python2.7/site-packages
/django/forms/forms.py" in _clean_form 300. self.cleaned_data = self.clean() File "/usr/local
/www/freenasUI/../freenasUI/storage/forms.py" in clean 1018. f.write(passphrase) Exception Type:
UnicodeEncodeError at /storage/auto-import/ Exception Value: 'ascii' codec can't encode character u'\xfc' in
position 18: ordinal not in range(128) 



I have configured German GUI and Keyboard

Any Ideas?
Thanks in advance
 
Last edited:

Threepwood

Cadet
Joined
Jul 14, 2015
Messages
2
Sorry that I bothered, its my fault, made Mistake in Passphrase.

Was dealing with reconfiguring, updating Servers for about 12 hours and got little loco loco in the end
... lesson learned!!!
 
Status
Not open for further replies.
Top