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
|
||||
build_search_index = false
|
||||
|
||||
theme = "DeepThought"
|
||||
|
||||
minify_html = true
|
||||
theme = "anemone"
|
||||
|
||||
[markdown]
|
||||
highlight_code = true
|
||||
|
||||
[extra]
|
||||
list_pages = true
|
||||
navbar_items = [
|
||||
{ code = "en", nav_items = [
|
||||
{ url = "/", name = "/home/"},
|
||||
{ url = "/posts", name = "/posts/"},
|
||||
{ url = "https://git.project-cloud.net", name = "/git/"},
|
||||
{ url = "https://cloud.project-cloud.net", name = "/cloud/"}
|
||||
]},
|
||||
header_nav = [
|
||||
{ url = "/", name_en = "/home/"},
|
||||
{ url = "/blog", name_en = "/blog/"},
|
||||
{ url = "https://git.project-cloud.net", name_en = "/git/"},
|
||||
{ url = "https://cloud.project-cloud.net", name_en = "/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
|
||||
|
||||
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": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs",
|
||||
"theme_anemone": "theme_anemone",
|
||||
"theme_deepthought": "theme_deepthought"
|
||||
"theme_anemone": "theme_anemone"
|
||||
}
|
||||
},
|
||||
"theme_anemone": {
|
||||
@ -38,22 +37,6 @@
|
||||
"repo": "anemone",
|
||||
"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",
|
||||
|
10
flake.nix
10
flake.nix
@ -5,16 +5,10 @@
|
||||
flake = false;
|
||||
};
|
||||
|
||||
inputs.theme_deepthought = {
|
||||
url = "github:RatanShreshtha/DeepThought";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
theme_anemone,
|
||||
theme_deepthought,
|
||||
}: let
|
||||
supportedSystems = ["x86_64-linux" "aarch64-linux"];
|
||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||
@ -22,7 +16,7 @@
|
||||
url_deploy = "https://project-cloud.net";
|
||||
url_local = "http://localhost:8080";
|
||||
name = "project-cloud";
|
||||
theme = theme_deepthought;
|
||||
theme = theme_anemone;
|
||||
package = system: url:
|
||||
pkgs.${system}.stdenv.mkDerivation {
|
||||
inherit name;
|
||||
@ -32,7 +26,7 @@
|
||||
submodules = true;
|
||||
|
||||
buildPhase = ''
|
||||
ln -s ${theme} themes/DeepThought
|
||||
ln -s ${theme} themes/anemone
|
||||
zola build -u ${url}
|
||||
'';
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue
Block a user