Compare commits
No commits in common. "b455eaa882225d6cd80be3dcf296b701fb8f4d96" and "2c830905d1c0bde4673dc04baa9e8ec46a835315" have entirely different histories.
b455eaa882
...
2c830905d1
22
config.toml
22
config.toml
@ -7,27 +7,17 @@ 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 = "DeepThought"
|
theme = "anemone"
|
||||||
|
|
||||||
minify_html = true
|
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
highlight_code = true
|
highlight_code = true
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
list_pages = true
|
list_pages = true
|
||||||
navbar_items = [
|
header_nav = [
|
||||||
{ code = "en", nav_items = [
|
{ url = "/", name_en = "/home/"},
|
||||||
{ url = "/", name = "/home/"},
|
{ url = "/blog", name_en = "/blog/"},
|
||||||
{ url = "/posts", name = "/posts/"},
|
{ url = "https://git.project-cloud.net", name_en = "/git/"},
|
||||||
{ url = "https://git.project-cloud.net", name = "/git/"},
|
{ url = "https://cloud.project-cloud.net", name_en = "/cloud/"}
|
||||||
{ url = "https://cloud.project-cloud.net", name = "/cloud/"}
|
|
||||||
]},
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[extra.social]
|
|
||||||
|
|
||||||
# Author details
|
|
||||||
[extra.author]
|
|
||||||
name = "Asmir Abdulahovic"
|
|
||||||
avatar = "/images/my_avatar.png"
|
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
+++
|
+++
|
||||||
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
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
+++
|
|
||||||
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.
|
|
@ -1,6 +0,0 @@
|
|||||||
+++
|
|
||||||
title = "Posts"
|
|
||||||
description = "Blog posts accumulated over the time."
|
|
||||||
sort_by = "date"
|
|
||||||
paginate_by = 5
|
|
||||||
+++
|
|
19
flake.lock
generated
19
flake.lock
generated
@ -19,8 +19,7 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"theme_anemone": "theme_anemone",
|
"theme_anemone": "theme_anemone"
|
||||||
"theme_deepthought": "theme_deepthought"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"theme_anemone": {
|
"theme_anemone": {
|
||||||
@ -38,22 +37,6 @@
|
|||||||
"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,16 +5,10 @@
|
|||||||
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;
|
||||||
@ -22,7 +16,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_deepthought;
|
theme = theme_anemone;
|
||||||
package = system: url:
|
package = system: url:
|
||||||
pkgs.${system}.stdenv.mkDerivation {
|
pkgs.${system}.stdenv.mkDerivation {
|
||||||
inherit name;
|
inherit name;
|
||||||
@ -32,7 +26,7 @@
|
|||||||
submodules = true;
|
submodules = true;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
ln -s ${theme} themes/DeepThought
|
ln -s ${theme} themes/anemone
|
||||||
zola build -u ${url}
|
zola build -u ${url}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue
Block a user