jekyll-securitytxt 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -4
- data/lib/jekyll/securitytxt/version.rb +1 -1
- data/lib/jekyll/template.html +16 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bf9a7a8e9e9da7610cf4042947f62bdfe74f4cf8d0346e4b32c2e6adef048a1
|
4
|
+
data.tar.gz: 004f60509c00a3a22c80a28636f0413b7034f2a45c7c2f91d511c3d1a7c01bc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f0e1a912d63253b091fdcb7f6411ab2461eb6838be97cf17f218332be32c0a440e804eb03bfac2ef53bc44658f8faf697c0ef5ea31c749afe1be71635074c02
|
7
|
+
data.tar.gz: 85013374e4bf966f87642e2bcbe35160baa6cb161b44d601e317a70e1fc1669ca7cb1b84ddfafbfe0b350fc1e7326d1e0c387b8dbf67f7a9c2d69aaa74d8fccc
|
data/README.md
CHANGED
@@ -18,15 +18,20 @@ end
|
|
18
18
|
# in _config.yml
|
19
19
|
security_txt:
|
20
20
|
comment: If you find any security issues on this site, please contact me!
|
21
|
-
contact:
|
21
|
+
contact:
|
22
|
+
- mailto:<YOUR-EMAIL>
|
23
|
+
- https://YOUR_DOMAIN/CONTACT
|
24
|
+
hiring:
|
25
|
+
- https://URL1
|
26
|
+
- https://URL2
|
22
27
|
preferred_languages: "ko, en"
|
23
28
|
```
|
24
29
|
|
25
|
-
|
30
|
+
If you need a custom message?
|
26
31
|
```yaml
|
27
32
|
security_txt:
|
28
33
|
custom_message: |
|
29
|
-
|
34
|
+
If you would like to report a security issue you may report it to us via bugbounty platform
|
30
35
|
Contact: https://
|
31
36
|
```
|
32
37
|
|
@@ -48,4 +53,4 @@ security_txt:
|
|
48
53
|
```
|
49
54
|
|
50
55
|
> [!TIP]
|
51
|
-
> See here for information on the column. https://securitytxt.org*
|
56
|
+
> See here for information on the column. https://securitytxt.org*
|
data/lib/jekyll/template.html
CHANGED
@@ -2,25 +2,33 @@
|
|
2
2
|
# {{ site.security_txt.comment }}
|
3
3
|
{% endif -%}
|
4
4
|
{% if site.security_txt.contact -%}
|
5
|
-
|
5
|
+
{% for contact in site.security_txt.contact %}
|
6
|
+
Contact: {{ contact }}
|
7
|
+
{% endfor %}
|
6
8
|
{% endif -%}
|
7
9
|
{% if site.security_txt.expires -%}
|
8
10
|
Expires: {{ site.security_txt.expires }}
|
9
11
|
{% endif -%}
|
10
12
|
{% if site.security_txt.encryption -%}
|
11
|
-
|
13
|
+
{% for encryption in site.security_txt.encryption %}
|
14
|
+
Encryption: {{ encryption }}
|
15
|
+
{% endfor %}
|
12
16
|
{% endif -%}
|
13
17
|
{% if site.security_txt.preferred_languages -%}
|
14
18
|
Preferred-Languages: {{ site.security_txt.preferred_languages }}
|
15
19
|
{% endif -%}
|
16
20
|
{% if site.security_txt.acknowledgments -%}
|
17
|
-
|
21
|
+
{% for acknowledgment in site.security_txt.acknowledgments %}
|
22
|
+
Acknowledgments: {{ acknowledgment }}
|
23
|
+
{% endfor %}
|
18
24
|
{% endif -%}
|
19
25
|
{% if site.security_txt.policy -%}
|
20
26
|
Policy: {{ site.security_txt.policy }}
|
21
27
|
{% endif -%}
|
22
28
|
{% if site.security_txt.hiring -%}
|
23
|
-
|
29
|
+
{% for hiring in site. security_txt.hiring %}
|
30
|
+
Hiring: {{ hiring }}
|
31
|
+
{% endfor %}
|
24
32
|
{% endif -%}
|
25
33
|
{% if site.security_txt.csaf -%}
|
26
34
|
CSAF: {{ site.security_txt.csaf }}
|
@@ -28,6 +36,8 @@ CSAF: {{ site.security_txt.csaf }}
|
|
28
36
|
{% if site.security_txt.canonical -%}
|
29
37
|
Canonical: {{ site.security_txt.canonical }}
|
30
38
|
{% endif -%}
|
31
|
-
{% if site.security_txt.
|
32
|
-
{
|
39
|
+
{% if site.security_txt.custom_messages -%}
|
40
|
+
{% for custom_message in site.security_txt.custom_messages %}
|
41
|
+
{{ custom_message }}
|
42
|
+
{% endfor %}
|
33
43
|
{% endif -%}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-securitytxt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HAHWUL
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|