Re: [Pharo-users] Custom Glamour browser for Dr. Geo scripting

2017-06-30 Thread Hilaire
I extended the browser definition with: browser transmit from: #scripts; from: #categories; to: #methods; when: [ :a :b | a isMeta not ]; andShow: [:a | self methodsIn: a ]. browser transmit from: #scripts; from: #categories;

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Francis via Pharo-users
--- Begin Message --- Thank you Paul, Saving the salt is not a big issue but I'd like something more simple. In python I can store the salt with the password see:https://pypi.python.org/pypi/bcrypt/3.1.0 # Hash a password for the first time, with a randomly-generated salt hashed = bcrypt.hashpw(p

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Pierce Ng
On Fri, Jun 30, 2017 at 12:43:23AM -0700, Francis via Pharo-users wrote: > Saving the salt is not a big issue but I'd like something more simple. > In python I can store the salt with the password > see:https://pypi.python.org/pypi/bcrypt/3.1.0 Hi, you could try PasswordCrypt: https://github.c

Re: [Pharo-users] Logging in with VNC

2017-06-30 Thread Pierce Ng
On Thu, Jun 29, 2017 at 08:59:18AM -0400, sergio ruiz wrote: > I need to be able to log in to my production image with VNC until i am > comfortable with the command line interface. I know that every time i have > had to do it, it seems like i used a different package. > > Which package is everyone

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Erik Stel
Francis, The hashpw function returns a hash with the salt prepended. So it contains both elements. (See for example explanation at: https://stackoverflow.com/questions/27413248/why-can-bcrypt-hashpw-be-used-both-for-hashing-and-verifying-passwords). You can do the same thing here. Assuming you

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-30 Thread Sven Van Caekenberghe
> On 27 Jun 2017, at 21:15, Sven Van Caekenberghe wrote: > > >> On 27 Jun 2017, at 21:00, Esteban A. Maringolo wrote: >> >> Interesting experiment. >> >> It would be good to know how fast does the image boot and start >> execution in the context of a service billed at the sub second scale. >

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Hernán Morales Durand
I guess I could integrate Udo's PBKDF2 into ApplicationSecurity. See under "Using the CheckPoint" if matches your API you're looking for: http://80738163270632.blogspot.com.ar/2014/10/application-security-2-checkpoint.html Cheers, Hernán 2017-06-30 4:43 GMT-03:00 Francis via Pharo-users < phar

Re: [Pharo-users] [ANN] An evening with Pharo and the ESP32 microcontroller

2017-06-30 Thread Georges
Cool stuff Ben! :) I dusted of my Arduino Uno and tried out reading the Serial Port using your tutorial. It would be nice for a follow up tutorial to write to the board and switch the builtin led on/off ! Georges -- View this message in context: http://forum.world.st/ANN-An-evening-with-Pharo

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Francis via Pharo-users
--- Begin Message --- Thanks Pierce and hernanmd I decided to adopt the solution of the prepended salt as Erik said in the previous post. Here is my code, I hope it can be useful for the community First I hash the password with an empty salt PBKDF2 derivedKeyHashFunction: SHA256 password: 'aSimp

Re: [Pharo-users] [ANN] An evening with Pharo and the ESP32 microcontroller

2017-06-30 Thread Ben Coman
On Fri, Jun 30, 2017 at 9:50 PM, Georges wrote: > Cool stuff Ben! :) > > I dusted of my Arduino Uno and tried out reading the Serial Port using your > tutorial. > It would be nice for a follow up tutorial to write to the board and switch > the builtin led on/off ! > > Georges > Glad you liked it

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Erik Stel
Francis, You're using an empty salt when creating the hash. Just prepending a random number does not add much security. Anyone knowing your solution will just prepend a random number. And creating only a few accounts in your system will probably reveal that information as well. A wrong-doer will j

[Pharo-users] FUEL documentation

2017-06-30 Thread Juraj Kubelka
Hi, Is there any documentation about FUEL? I would like to understand in more detail what data -- Juraj Kubelka

[Pharo-users] FUEL documentation

2017-06-30 Thread Juraj Kubelka
(sorry, I have accidentally pressed send button) Hi, Is there any documentation about FUEL? I would like to understand in more detail what data are serialized, if I can somehow alter it (filter it) explicitly, and how can I handle errors on materialization. I was playing a bit with it and in s

Re: [Pharo-users] FUEL documentation

2017-06-30 Thread Sven Van Caekenberghe
> On 30 Jun 2017, at 22:40, Juraj Kubelka wrote: > > (sorry, I have accidentally pressed send button) > > Hi, > > Is there any documentation about FUEL? I would like to understand in more > detail what data are serialized, if I can somehow alter it (filter it) > explicitly, and how can I han

Re: [Pharo-users] FUEL documentation

2017-06-30 Thread Juraj Kubelka
Thank you! Juraj > El 30-06-2017, a las 22:55, Sven Van Caekenberghe escribió: > > >> On 30 Jun 2017, at 22:40, Juraj Kubelka wrote: >> >> (sorry, I have accidentally pressed send button) >> >> Hi, >> >> Is there any documentation about FUEL? I would like to understand in more >> detail w

Re: [Pharo-users] Validate password with PBKDF2

2017-06-30 Thread Francis via Pharo-users
--- Begin Message --- Ah-ha! You are right, the proper way to encrypt is with the salt and then prepend the salt. Thanks Francis FIY does not give a ByteArray because UUID is a subclass of ByteArray and asByteArray returns self Erik Stel wrote > Francis, > > You're using an empty salt when c

Re: [Pharo-users] Are we able to run pharo images in a read only environment?

2017-06-30 Thread Tim Mackinnon
Wow that's very promising - how do I get that setup? I also believe for lambda I need 64 bit as you have little control of the base image? I haven't had a chance to try marshalling results back to Alexa yet - but that's my goal. Tim Sent from my iPhone > On 30 Jun 2017, at 15:43, Sven Van Caekenb

[Pharo-users] PrimitiveFailed: primitive #createDirectory: in UnixStore failed

2017-06-30 Thread Jacob Wagner
Hi. I am trying to run pharo 6 in an Ubuntu 16 vm running XFCE desktop environment. I downloaded the 64 bit pharo zip and executed ./pharo The pharo GUI starts but immediately a debugger opens with the title's error message. After this, I cannot exit the VM normally by clicking the "x" in the u