diff --git a/content/drafts/build.md b/content/drafts/build.md index b31a129..171a560 100644 --- a/content/drafts/build.md +++ b/content/drafts/build.md @@ -1,6 +1,6 @@ --- title: "How this site came to be" -date: July 22, 2018 +date: 2018-06-22 draft: true --- diff --git a/content/drafts/deploy.md b/content/drafts/deploy.md index 68c04f9..2bc46cd 100644 --- a/content/drafts/deploy.md +++ b/content/drafts/deploy.md @@ -1,6 +1,6 @@ --- title: "Delivering whole OS's in Gitlab's CI/CD" -date: 0000-00-00 +date: 2021-08-15 draft: true --- diff --git a/content/drafts/drive-recovery.md b/content/drafts/drive-recovery.md index 1cd865e..fade28d 100644 --- a/content/drafts/drive-recovery.md +++ b/content/drafts/drive-recovery.md @@ -1,6 +1,6 @@ --- title: "Drive Recover" -date: 0000-00-00 +date: 2021-08-14 draft: true --- diff --git a/content/drafts/eco-eats.md b/content/drafts/eco-eats.md index e448969..af7bf76 100644 --- a/content/drafts/eco-eats.md +++ b/content/drafts/eco-eats.md @@ -1,6 +1,6 @@ --- title: Economical Eats -date: 0000-00-00 +date: 2021-08-14 draft: true --- diff --git a/content/drafts/local-esports.md b/content/drafts/local-esports.md index 6374079..5b0f1da 100644 --- a/content/drafts/local-esports.md +++ b/content/drafts/local-esports.md @@ -1,6 +1,6 @@ --- title: Esports Post -date: 0000-00-00 +date: 2021-08-14 draft: true --- diff --git a/content/drafts/pop-dwm.md b/content/drafts/pop-dwm.md index 160e4dc..5322b26 100644 --- a/content/drafts/pop-dwm.md +++ b/content/drafts/pop-dwm.md @@ -1,6 +1,6 @@ --- title: "DWM and POP!\_OS" -date: 0000-00-00 +date: 2021-08-14 draft: true --- diff --git a/content/notes-ramblings.md b/content/notes-ramblings.md index 890670b..2820cdd 100644 --- a/content/notes-ramblings.md +++ b/content/notes-ramblings.md @@ -24,5 +24,4 @@ It's _very_ stream of concious-y and often not super coherent so often there gap ## Design things -* Nothing Yet - +* :wave: [Bubble Chat and it's User Data](/notes/rationalizing-user-data) diff --git a/content/notes/rationalizing-user-data.md b/content/notes/rationalizing-user-data.md new file mode 100644 index 0000000..5938044 --- /dev/null +++ b/content/notes/rationalizing-user-data.md @@ -0,0 +1,43 @@ +--- +title: Rationalizing User Data +description: "Like how do I approach storing sensitive user data in Bubble?" +date: 2025-01-07T21:34:12-08:00 +draft: false +category: article +--- + + +This is a stream of concious post where I go through the process of figuring out +how I am going to store user data in my [bubble project](https://git.shockrah.xyz/shockrah/bubble) + +Schema for the users can be found here: [link](https://git.shockrah.xyz/shockrah/bubble/src/branch/main/db/setup-tables.sql) + + +# Pre-requisites + +* Using Postgres +* Hashed and salted passwords + +# User ID's + +By default I was going to use regular ID's that increment on each insertion. +Considering using some form of UUID's for the sake of a slight increase in sec. +Even though this isn't a major form of security, every layer towards +better security counts, and I see this as one more layer to add. + + +UUID's tend to suffer from indexing issues but later versions of UUID seem to +have this figured out. + +After some reading v7 seems like the move. + +* Time based meaning sorting ( and thus searching ) is reasonably performant +* Sufficient entropy for this case ( 74 bits ). We want ****some* entropy but also +don't want to nuke performance +* While we want to make it harder to guess, aiming for "unguessable" is just not +reasonable. UUIDv4 is best for that but compromises performance so hard it's not +worth it in the grand scheme of things + + +IDK v7 feels like a good middle ground for security + performance for the **user id** + diff --git a/content/posts/building-with-rocket.md b/content/posts/building-with-rocket.md index 45ffb31..cb63492 100644 --- a/content/posts/building-with-rocket.md +++ b/content/posts/building-with-rocket.md @@ -1,6 +1,6 @@ --- title: Building a Video Streaming Service with Rust -date: 2021-13-10 +date: 2021-10-13 draft: true description: The real state of Rocket right now category: article