greptilian logo

IRC log for #rest, 2017-04-10

https://trygvis.io/rest-wiki/

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
02:43 tbsf joined #rest
03:35 tbsf joined #rest
03:47 tbsf joined #rest
07:55 Haudegen joined #rest
09:38 vanHoesel joined #rest
10:48 tbsf joined #rest
11:06 ronskisika joined #rest
11:07 ronskisika Do I need to use HMAC for generating API tokens or is it safe to just generate a good random number and store the user id and expiration somewhere?
11:08 asdf ronskisika, sure, a random thing is cool, like a sha1 of some bytes from /dev/urandom, or a uuid4 for example; the idea behind using a HMAC is that the user id and the expiration date can then be part of the token
11:09 asdf (readable, but not modifiyable, by the user)
11:12 ronskisika ok, thanks asdf
12:35 Haudegen joined #rest
12:50 pdurbin ronskisika: we just use UUIDs for API tokens
13:21 ronskisika joined #rest
13:24 Haudegen joined #rest
13:34 vanHoesel joined #rest
13:59 Haudegen joined #rest
14:13 Haudegen joined #rest
14:19 wsieroci joined #rest
14:20 Haudegen joined #rest
14:48 tbsf joined #rest
15:56 tbsf joined #rest
16:00 tbsf joined #rest
16:01 tbsf joined #rest
16:50 pasunrobot joined #rest
16:51 pasunrobot Can I ask for some help here?
16:53 whartung you can always ask
16:55 tbsf joined #rest
17:04 tbsf joined #rest
17:05 pasunrobot So it's a college project that I'm doing (I'm a newbie); I have a big and old SQL database (was made in the 90s) that I want to access using a REST API (using Python and Flask-Restless).
17:15 whartung ok
17:47 arrpeegeee joined #rest
18:02 vanHoesel joined #rest
18:14 wsieroci joined #rest
18:27 vanHoese_ joined #rest
19:24 tbsf joined #rest
19:26 tbsf joined #rest
19:39 tbsf_ joined #rest
19:59 tbsf joined #rest
20:03 Guest81419 joined #rest
20:03 tbsf joined #rest
20:24 Guest81419 left #rest
20:25 Haudegen joined #rest
23:04 tbsf joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

https://trygvis.io/rest-wiki/