SecureDrop.club home page

Bonjour,
I’ve been told more than once that newcomers have troubles collecting all SecureDrop resources because there is no homepage they could go to. This is somewhat mitigated by the updates of the https://securedrop.org website to include links to the forum, chat, demo etc.
It would be even more convenient to have a SecureDrop homepage at https://securedrop.club that could include all resources found from https://securedrop.org as well as all resources that are community maintained.
https://securedrop.club currently redirects to this forum and replacing it with a https://jekyllrb.com/ based static site seem like the simplest solution.
What do you think?

After a quick discussion with @heartsucker and @fpoulain I learned that Hugo is what people tend to use to build static sites these days.
@kushaldas suggested https://www.getlektor.com/ or https://getnikola.com/ as a super powerful alternative but more focused on blogs.

Let try Hugo then :slight_smile: The Kubes theme looks like it could be a good match? Or Universal ?

I imported the Universal theme and will start adding content to it. It won’t be pretty, I can promise that much :grin:

@saptaks Where would you advise me to look to replace the top right icons of http://dachary.org/loic/sd/ ? To replace GitHub with GitLab, for instance :wink:

@fpoulain I think to remember you did something to use the real lab.securedrop.club by using the real DNS in a test environment and avoid the error below. Does that ring a bell?

    TASK [website : git clone https://lab.securedrop.club/main/website] ************
    fatal: [website-host]: FAILED! => {"changed": false, "cmd": "/usr/bin/git clone --origin origin https://lab.securedrop.club/main/website /srv/website", "failed": true, "msg": "Cloning into '/srv/website'...\nfatal: unable to access 'https://lab.securedrop.club/main/website/': Could not resolve host: lab.securedrop.club", "rc": 128, "stderr": "Cloning into '/srv/website'...\nfatal: unable to access 'https://lab.securedrop.club/main/website/': Could not resolve host: lab.securedrop.club\n", "stderr_lines": ["Cloning into '/srv/website'...", "fatal: unable to access 'https://lab.securedrop.club/main/website/': Could not resolve host: lab.securedrop.club"], "stdout": "", "stdout_lines": []}
    

@dachary you can check at the font awesome icons page. You can just search for the icon you want. And in the html code, there will be a class="social" under which you will find list of fa icons written with classes like fa fa-github. For example, to replace it by gitlab, all you need to do is change to fa fa-gitlab. The classname fa-gitlab can be found by searching in the above mentioned link.

1 Like

And indeed there is a GitLab icon ! This font is awesome :stuck_out_tongue:

modified   config.toml
@@ -42,9 +42,9 @@ paginate = 10
 
 [[menu.topbar]]
     weight = 1
-    name = "GitHub"
-    url = "https://github.com/devcows/hugo-universal-theme"
-    pre = "<i class='fa fa-2x fa-github'></i>"
+    name = "GitLab"
+    url = "https://lab.securedrop.club/main"
+    pre = "<i class='fa fa-2x fa-gitlab'></i>"
 
 [[menu.topbar]]
     weight = 2

Seems good. :smiley:

Yes I spoofed it via /etc/hosts in molecule/demo/roles/securedrop/tasks/main.yml

# Note:
# SecureDrop deployment require access to
# lab.securedrop.club but it may be unknown by
# securedrop.club's DNS resolver in molecule scenario.
# Moreover, using lab's IP is not an option due to https.
# So we hardcode it in hosts if needed. It should only
# happen in tests scenarios.

- name: lookup lab.securedrop.club
  command: getent hosts lab.securedrop.club
  register: cmd
  ignore_errors: True

- name: lookup real lab.securedrop.club
  command: getent hosts lab.securedrop.club
  delegate_to: localhost
  register: gitlab_ip
  when: cmd|failed

- name: hardcode lab.securedrop.club if needed
  lineinfile:
    path: /etc/hosts
    line: "{{ gitlab_ip.stdout }} lab.securedrop.club"
  when: cmd|failed
  become: True

# End of Note
1 Like

Bonjour,

@fpoulain and myself laid out the foundation of the SecureDrop home page this week. In a nutshell, it is a hugo based website. The initial content was pushed in a git repository based on content discussed in this forum. Some posts were copy/pasted as blog posts, the event category linked from the event menu etc. The difference between SecureDrop.org and SecureDrop.club is included and the code of conduct is being discussed.

The audience of SecureDrop.club is extremely small and we will take advantage of that to publish what we have event though it’s still a draft. For reference you can modify:

Cheers