Compare commits
8 Commits
2c830905d1
...
b455eaa882
Author | SHA1 | Date | |
---|---|---|---|
b455eaa882 | |||
d35a5e6bc3 | |||
4de0fa9980 | |||
1c259e05b3 | |||
d36083c44f | |||
3212d72cf7 | |||
2383c813c1 | |||
aacdd3b2cc |
22
config.toml
22
config.toml
@ -7,17 +7,27 @@ compile_sass = true
|
|||||||
# Whether to build a search index to be used later on by a JavaScript library
|
# Whether to build a search index to be used later on by a JavaScript library
|
||||||
build_search_index = false
|
build_search_index = false
|
||||||
|
|
||||||
theme = "anemone"
|
theme = "DeepThought"
|
||||||
|
|
||||||
|
minify_html = true
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
list_pages = true
|
list_pages = true
|
||||||
header_nav = [
|
navbar_items = [
|
||||||
{ url = "/", name_en = "/home/"},
|
{ code = "en", nav_items = [
|
||||||
{ url = "/blog", name_en = "/blog/"},
|
{ url = "/", name = "/home/"},
|
||||||
{ url = "https://git.project-cloud.net", name_en = "/git/"},
|
{ url = "/posts", name = "/posts/"},
|
||||||
{ url = "https://cloud.project-cloud.net", name_en = "/cloud/"}
|
{ url = "https://git.project-cloud.net", name = "/git/"},
|
||||||
|
{ url = "https://cloud.project-cloud.net", name = "/cloud/"}
|
||||||
|
]},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[extra.social]
|
||||||
|
|
||||||
|
# Author details
|
||||||
|
[extra.author]
|
||||||
|
name = "Asmir Abdulahovic"
|
||||||
|
avatar = "/images/my_avatar.png"
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
+++
|
+++
|
||||||
|
title = "project cloud"
|
||||||
|
description = "Cloud and blog platform for personal and consulting projects."
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Project Cloud
|
|
||||||
|
|
||||||
Cloud and blog platform for personal and consulting projects.
|
|
||||||
|
|
||||||
|
|
||||||
## Public Key
|
## Public Key
|
||||||
|
|
||||||
WP
|
WP
|
||||||
|
25
content/posts/2023-11-15-using_gpg_public_key.md
Normal file
25
content/posts/2023-11-15-using_gpg_public_key.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
+++
|
||||||
|
title = "Using GPG Public Key"
|
||||||
|
+++
|
||||||
|
|
||||||
|
GNU Privacy Guart (GPG) is an pupular two factor encrytpion system often used for signing or encrypting emails, files or even git commits.
|
||||||
|
This post foruces on using provided public key to check signature validity for files signed using complementary public key.
|
||||||
|
|
||||||
|
## Importing Key
|
||||||
|
One way to keep prublic keys is by using a keyserver such as _hkps://keyserver.ubuntu.com_.
|
||||||
|
To import key with ID **3BDD542C9B0BE180D5802DFF020C42B7A9ABA3E2** from _hkps://keyserver.ubuntu.com_ keyserver
|
||||||
|
issue command:
|
||||||
|
```bash
|
||||||
|
$ gpg2 --keyserver hkps://keyserver.ubuntu.com --recv-key 3BDD542C9B0BE180D5802DFF020C42B7A9ABA3E2
|
||||||
|
```
|
||||||
|
It's also possible to use "short" ID by using only the last 8 digits of hexadecimal
|
||||||
|
ID representation, in our case **A9ABA3E2** - but it's discourages because of possible ID collisions.
|
||||||
|
|
||||||
|
To search and import a key using email, example _asmir.abdulahovic@gmail.com_ issue command:
|
||||||
|
```bash
|
||||||
|
$ gpg2 --keyserver hkps://keyserver.ubuntu.com \
|
||||||
|
--search-keys "asmir.abdulahovic@gmail.com"
|
||||||
|
```
|
||||||
|
|
||||||
|
Note **hkps** protocol selection acts simmilary as **https** for **http**,
|
||||||
|
prefferably use it to avoid **MITM** and other attacks.
|
6
content/posts/_index.md
Normal file
6
content/posts/_index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
+++
|
||||||
|
title = "Posts"
|
||||||
|
description = "Blog posts accumulated over the time."
|
||||||
|
sort_by = "date"
|
||||||
|
paginate_by = 5
|
||||||
|
+++
|
19
flake.lock
generated
19
flake.lock
generated
@ -19,7 +19,8 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"theme_anemone": "theme_anemone"
|
"theme_anemone": "theme_anemone",
|
||||||
|
"theme_deepthought": "theme_deepthought"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"theme_anemone": {
|
"theme_anemone": {
|
||||||
@ -37,6 +38,22 @@
|
|||||||
"repo": "anemone",
|
"repo": "anemone",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"theme_deepthought": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681035730,
|
||||||
|
"narHash": "sha256-dzhfGmhuNCbloqknM7lVnFbNYmf2/ue7az6DQok44yM=",
|
||||||
|
"owner": "RatanShreshtha",
|
||||||
|
"repo": "DeepThought",
|
||||||
|
"rev": "430c1d5085dd6bea4cd6bd2d55003db67ba6bea0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "RatanShreshtha",
|
||||||
|
"repo": "DeepThought",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
10
flake.nix
10
flake.nix
@ -5,10 +5,16 @@
|
|||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inputs.theme_deepthought = {
|
||||||
|
url = "github:RatanShreshtha/DeepThought";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
theme_anemone,
|
theme_anemone,
|
||||||
|
theme_deepthought,
|
||||||
}: let
|
}: let
|
||||||
supportedSystems = ["x86_64-linux" "aarch64-linux"];
|
supportedSystems = ["x86_64-linux" "aarch64-linux"];
|
||||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||||
@ -16,7 +22,7 @@
|
|||||||
url_deploy = "https://project-cloud.net";
|
url_deploy = "https://project-cloud.net";
|
||||||
url_local = "http://localhost:8080";
|
url_local = "http://localhost:8080";
|
||||||
name = "project-cloud";
|
name = "project-cloud";
|
||||||
theme = theme_anemone;
|
theme = theme_deepthought;
|
||||||
package = system: url:
|
package = system: url:
|
||||||
pkgs.${system}.stdenv.mkDerivation {
|
pkgs.${system}.stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
@ -26,7 +32,7 @@
|
|||||||
submodules = true;
|
submodules = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
ln -s ${theme} themes/anemone
|
ln -s ${theme} themes/DeepThought
|
||||||
zola build -u ${url}
|
zola build -u ${url}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
BIN
static/images/my_avatar.png
Normal file
BIN
static/images/my_avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue
Block a user