diff --git a/blog/gpg/index.html b/blog/gpg/index.html index 4e5c690..f69184e 100644 --- a/blog/gpg/index.html +++ b/blog/gpg/index.html @@ -1,19 +1,31 @@ - + dadada's web log - + - +
-
-
+ + +

Managing Stripped GPG Keys

-
+      
     +--(master pass)                   +----(user pass)--+
     |        |                         |                 |
     |     decrypts                 decrypts           decrypts
@@ -33,23 +45,33 @@ decrypts  +----------------+     +----------+      +-----------+
     +->| SEA (master)    |
        | remote on paper |
        +-----------------+
-			
+

- See here on how to strip the master key (sec) from your keyring and create secret subkeys (ssb) for daily active use. - The master key can sign (S) new subkeys, create certificates (C) and provide authentication (A). - The master key lives forever, while the ssb that is used for signing is created with an expiration date. - All encryption keys may remain valid indefinitely until revoked. - The master key can be used to revoke the subkeys. + See + here + on how to strip the master key (sec) from your keyring and create secret + subkeys (ssb) for daily active use. The master key can sign (S) new + subkeys, create certificates (C) and provide authentication (A). The + master key lives forever, while the ssb that is used for signing is + created with an expiration date. All encryption keys may remain valid + indefinitely until revoked. The master key can be used to revoke the + subkeys.

-

- A few considerations -

+

A few considerations

+ +
- + diff --git a/blog/home-layout/index.html b/blog/home-layout/index.html index c0051bd..fb5cff4 100644 --- a/blog/home-layout/index.html +++ b/blog/home-layout/index.html @@ -1,30 +1,66 @@ - + dadada's web log - + - +
-
-
+ + +

My $HOME

-

Recently, I came across a blog posting titled $HOME, sweet $HOME, where @blinry advocates for structuring your HOME directory based on projects and their activity. After reading this I felt inspired to finally have a look at the mess I made of my $HOME in the last years.

-

A few things about my old $HOME: -

    -
  • Documents contained basically everything I had accumulated during the last years besides music, videos, pictures and source code.
  • -
  • projects just contained one gigantic folder of all projects that I ever worked on. - the rest was based on the default xdg-user-dirs
  • -
-

-

If you sorted the files by file type like the default XDG directories - suggest, files from one project may be scattered across many different - directories.

-

So my goal for the new $HOME was to have a clean directory structure where: - it is obvious where to place new files - paths do not become too long to type out - the directory structure relates to how I work

-

A quick tour of my new $HOME:

+

+ Recently, I came across a blog posting titled + $HOME, sweet $HOME, where + @blinry advocates for structuring your + HOME directory based on projects and their activity. After + reading this I felt inspired to finally have a look at the mess I made + of my $HOME in the last years. +

+

A few things about my old $HOME:

+ +
    +
  • + Documents contained basically everything I had + accumulated during the last years besides music, videos, pictures and + source code. +
  • +
  • + projects just contained one gigantic folder of all + projects that I ever worked on. - the rest was based on the default + xdg-user-dirs +
  • +
+

+ If you sorted the files by file type like the default XDG directories + suggest, files from one project may be scattered across many different + directories. +

+

+ So my goal for the new $HOME was to have a clean directory + structure where: - it is obvious where to place new files - paths do not + become too long to type out - the directory structure relates to how I + work +

+

A quick tour of my new $HOME:

  • lib for immutable files
  • src for mutable files
  • @@ -32,19 +68,35 @@
  • tmp for unsorted files and downloads

The project directory

-

All of my projects are stored in src. I use a flat directory structure, where every project has its own subdirectory based on its name. Projects can become part of one or more larger contexts through the use of tags.

+

+ All of my projects are stored in src. I use a flat + directory structure, where every project has its own subdirectory based + on its name. Projects can become part of one or more larger contexts + through the use of tags. +

Tags

-

Tag directories are stored in tag. Each directory stores symbolic links to parts of a project that can be distributed around lib and src. One possible use for the tag directories is creating workbenches. If I use some directories in lib or src in different contexts, - tag can be used to include them in multiple workbenches.

+

+ Tag directories are stored in tag. Each directory stores + symbolic links to parts of a project that can be distributed around + lib and src. One possible use for the tag + directories is creating workbenches. If I use some directories in + lib or src in different contexts, + tag can be used to include them in multiple workbenches. +

An example workflow

-
+      
 $ cd tag
 $ mkdir -p course1/examples
 $ ln -s ~/src/example1 course1/examples/
 $ ln -s ~/lib/courses/course1 course1/material
 $ rm -r course1
-			
-

I create new tags for various reasons, but mostly one for each larger context (e.g. work, hobbies, admin foo, thesis, courseXY) and some more for tracking project activity. There are four different tags in tag directory right now for tracking project activity:

+
+

+ I create new tags for various reasons, but mostly one for each larger + context (e.g. work, hobbies, admin foo, thesis, courseXY) and some more + for tracking project activity. There are four different tags in + tag directory right now for tracking project activity: +

  • permanent
  • active
  • @@ -57,6 +109,6 @@ $ rm -r course1
-
Released: 2018-09-03
+
Released: 2018-09-03
diff --git a/blog/index.html b/blog/index.html index 1053cae..1bab622 100644 --- a/blog/index.html +++ b/blog/index.html @@ -1,22 +1,34 @@ - + dadada's web log - + - -
- +
+

dadada's web log

-
+
diff --git a/index.html b/index.html index fba75a2..6bfb95f 100644 --- a/index.html +++ b/index.html @@ -1,11 +1,23 @@ - + dadada - + - +

dadada's web page

-

Things I enjoy: learning things and skills, making and eating food, weird music, biking, trains

-

Tech stuff: Rust, Nix, networking, aircrafts, and a sprinkle of science, recovering from PHP, iOS, Android, explorer of legacy codebases

+

+ Things I enjoy: learning things and skills, making and eating food, + weird music, biking, trains +

+

+ Tech stuff: Rust, Nix, networking, aircrafts, and a sprinkle of science, + recovering from PHP, iOS, Android, explorer of legacy codebases +

Socials

Talks

Blog