This commit is contained in:
Netscape Navigator 2020-03-29 16:49:28 -05:00
parent 3f54287346
commit 07c011dae4
27 changed files with 239 additions and 0 deletions

BIN
colors.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

View File

@ -0,0 +1,11 @@
---
title: SSB Log Entry 257
date: 2020-01-02T10:57:51-06:00
tags:
---
![A pollen grain, under a microscope](http://tilde.town/~netscape_navigator/img/ssb/_JbmsrQ7FJLtzzZIyTcdss5sg1mls9BFN4u2-8CvTE8=.png)
![The tip of a ballpoint pen, magnified a billiondyseven times](http://tilde.town/~netscape_navigator/img/ssb/F9xLbQ0eOE2Bu7fEG73arjgOIWveSfVoUQ_RjSW558U=.png)
Just noticed that SSB has a #microscope channel. I like microscopes, too!

View File

@ -0,0 +1,13 @@
---
title: SSB Log Entry 246
date: 2019-12-11T20:47:54-06:00
tags:
---
Plato grew concerned over people's reliance on books rather than memorization. I will hear on occasion a similar sentiment from people of our time. They worry that the people of today have lost something by relying on digital formats such as web search instead of more traditional things like paper books.
I don't agree with such sentiment and I will most certainly not complain about having resources as expansive as Wikipedia, Open Street Map or the Internet Archive. I do think though there is one thing we have lost by having insanely well indexed databases at our disposal. As a curious kid growing up in an exurban area, I did not have many forms of entertainment. My encyclopedia set offered me the ability to peruse a knowledge base at random and without a purpose. I learned a great deal of botany, biology, chemistry and many other subjects in the process. Often this knowledge was found during a search for a more specific (yet unrelated) answer. The act of turning the page led me to unexpected headings and illustrations that were of great interest. Conversely, the internet provides me answers to almost any question I ask, but it comes with the caveat that I know what the question is.
Advances in data structures and algorithms are helping humanity solve huge challenges. I sure do wish sites other than Wikipedia cam with a "random" button, though.

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 348
date: 2020-03-04T10:06:51-06:00
tags:
---
Hey- can anyone see this message? Just naively moved my `.ssb` folder off of a defective laptop onto a new laptop.

View File

@ -0,0 +1,74 @@
---
title: SSB Log Entry 366
date: 2020-03-10T08:07:06-05:00
tags:
---
# SSB Verification From Scratch in Ruby
I just did it (I think). I am going to post it here in tutorial form with the hope that it helps someone.
First we need a few dependencies:
```ruby
require "json"
require "base64"
require "ed25519"
```
Here's the message I want to verify:
```ruby
original_message = {
previous: nil,
author: "@z2M8msI2EUubNHnrEJncglDIy2/SUd+36jCyJnfeiHk=.ed25519",
sequence: 1,
timestamp: 1554164725521,
hash: "sha256",
content: {
type: "about",
about: "@z2M8msI2EUubNHnrEJncglDIy2/SUd+36jCyJnfeiHk=.ed25519",
image: "&jqMB109+asDMUVWkeAsqK/4KlbF+6M2x+jtTdFIdVw8=.sha256",
name: "Netscape Navigator",
},
signature: "3er8E88P7WPSjnm+L3QmoPqNxhqAn/pOjvo6Owk0KNn69FgOjAYLOgRdrGnuihBp4QYWYPJ5bS1Gw9weQKj9DQ==.sig.ed25519",
}
```
The original message was JSON.
We need to [delete the signature from the message](https://ssbc.github.io/scuttlebutt-protocol-guide/#message-format) before we can verify:
```ruby
original_message.delete(:signature)
```
We also need a copy of our public key. I could have been fancy and exracted the value from `original_message`, but will instead copy/paste for readability:
```ruby
public_key = Base64.urlsafe_decode64("z2M8msI2EUubNHnrEJncglDIy2/SUd+36jCyJnfeiHk=")
```
Same thing with the signature. I am just copy/pasting the value found in `original_message`:
```ruby
signature = Base64.urlsafe_decode64("3er8E88P7WPSjnm+L3QmoPqNxhqAn/pOjvo6Owk0KNn69FgOjAYLOgRdrGnuihBp4QYWYPJ5bS1Gw9weQKj9DQ==")
```
Since JSON is not deterministic, we need to serialize the message *exactly* how we found it. Luckily the Ruby JSON lib follows those rules when using `pretty_generate`. Don't forget to call `.chomp` to remove any trailing carriage returns (they will invalidate the signature):
```ruby
message = JSON.pretty_generate(original_message).chomp
```
We now have a `message` and a `private_key`. We are ready to verify:
```ruby
Ed25519::VerifyKey.new(public_key).verify(signature, message)
```
The program will return `true` if OK (:tada:) or throw a `Ed25519::VerifyError` exception if verification fails.
How does that look to all of the #ssb experts reading this?

View File

@ -0,0 +1,11 @@
---
title: SSB Log Entry 402
date: 2020-03-24T10:49:25-05:00
tags:
---
![image.png](http://tilde.town/~netscape_navigator/img/ssb/kPY77FKIUyz3PZ7DkDsv4OA6bw-7BxBsjDJPYgGvKek=.png)
American politics 2020 in one photo.

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 336
date: 2020-02-27T07:19:26-06:00
tags:
---
How are things going with #bamboo and #bamboo-rs lately?

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 280
date: 2020-01-17T09:02:32-06:00
tags:
---
Do you own a 7" laptop? How do you like it?

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 296
date: 2020-02-01T12:26:50-06:00
tags:
---
What is the difference between a "connection" and "possible connection" in #patchwork ?

View File

@ -0,0 +1,11 @@
---
title: SSB Log Entry 308
date: 2020-02-12T13:38:50-06:00
tags:
---
Quick attendance call- who here is from tilde.town ? CC: [@m455](https://scuttlebutt.nz/) [@Gaffen](https://scuttlebutt.nz/) [@按豆](https://scuttlebutt.nz/)
Just trying to make sure I am following all the tilde.town folks here.

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 392
date: 2020-03-18T21:56:49-05:00
tags:
---
I'm going to try to do more mobile scuttling. My mobile feed is [@Netscape Mobile](https://scuttlebutt.nz/).

View File

@ -0,0 +1,15 @@
---
title: SSB Log Entry 287
date: 2020-01-19T08:02:06-06:00
tags:
---
I wonder how email managed to stay federated when so many other protocols fell to centralization.
IRC => All the chat/messenger apps
FTP => Drop Box and Drive
NNTP => Reddit, Twitter, etc..
Somehow, email managed to stay in use, even among less-than-computer-savvy end users.

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 345
date: 2020-02-28T09:43:00-06:00
tags:
---
Has anyone found a USB docking station that Just Works :tm: on Ubuntu?

View File

@ -0,0 +1,11 @@
---
title: SSB Log Entry 262
date: 2020-01-03T10:02:09-06:00
tags:
---
I took a hiatus from Twitter in 2019. Coming back to Twitter after a year of using SSB exclusively really amplifies how manipulative algorithmic feeds and endless scroll are. I can set check Patchwork quickly and get back to work. Twitter is a non-stop steam roller of distractions and click bait.
I wish all the people I talk to on Twitter would switch over. The only thing I like is the people at this point.

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 268
date: 2020-01-05T11:29:06-06:00
tags:
---
Welp I just found a live server that is running DOS on a PC Junior. Very fun. #retrocomputing http://50.125.82.27:8088/

View File

@ -0,0 +1,21 @@
---
title: SSB Log Entry 409
date: 2020-03-26T08:48:32-05:00
tags:
---
With the way gossip works in #ssb, does the local machine ever persist messages to disk that cannot be verified?
Eg:
* You receive a message from peer A that was authored by peer B
* The message is syntactically valid, but you don't have peer B's complete feed, so you cannot verify the message is authentic.
Do these situations ever happen in the real world? If so, how does SSB handle them? Does it:
* Never happen, because SSB doesn't sync feeds like that ever.
* hold on to the message until it has enough information to do the algebra on it.
* discard the message entirely since it can't verify it based on current knowledge.
Still learning the protocol, so pardon my lack of understanding if this is not how SSB works.

View File

@ -0,0 +1,9 @@
---
title: SSB Log Entry 359
date: 2020-03-08T12:11:32-05:00
tags:
---
I vaguely remember images rendering correctly when offline in previous versions of #patchwork. I don't have internet at home this week (which has been surprisingly nice, actually) and have noticed that I can't see any images. Is this expected? Do I need to change a setting to cache all images locally (I don't care if it wastes harddrive space, I have plenty).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 824 KiB

After

Width:  |  Height:  |  Size: 824 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 278 KiB