Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix youtube frame not responsive #586

Merged
merged 3 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 20 additions & 18 deletions content/blog/cosign-2.5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ author:
description: "Introducing Cosign in Harbor v2.5.0"
date: 2022-04-11T12:00:00+04:00
---
![Cosign](https://raw.githubusercontent.com/sigstore/cosign/main/images/logo.svg)
![Cosign](https://raw.githubusercontent.com/sigstore/community/main/artwork/cosign/horizontal/color/sigstore_cosign-horizontal-color.svg)

TL;DR;
Artifact signing and signature verification are critical security capabilities that allow you to verify the integrity of an artifact. Harbor supports content trust through integrations with [Notary](https://github.com/notaryproject/notary) and [Cosign](https://github.com/sigstore/cosign).
TL;DR;
Artifact signing and signature verification are critical security capabilities that allow you to verify the integrity of an artifact. Harbor supports content trust through integrations with [Notary](https://github.com/notaryproject/notary) and [Cosign](https://github.com/sigstore/cosign).

Harbor v2.5 integrates support for [Cosign](https://github.com/sigstore/cosign), a OCI artifact signing and verification solution that is part of the [Sigstore project](https://github.com/sigstore).

Expand All @@ -20,13 +20,15 @@ A key feature of using Cosign with Harbor is the ability use Harbor's [replicati

Full Documentation you will be able to find [here](https://goharbor.io/docs/2.5.0/working-with-projects/working-with-images/sign-images/)

## Demo Setup
## Demo Setup
**Configure two Harbor instances with Cosign enabled(default in v2.5.0) per repo and configure replication**

We will have two instances harbor1 and harbor2, project "cosign" and replication rule(push based) between harbor1-to-harbor2, using robo-account.
We will have two instances harbor1 and harbor2, project "cosign" and replication rule(push based) between harbor1-to-harbor2, using robo-account.

Check out a video of this demo:
<iframe width="560" height="315" src="https://www.youtube.com/embed/u8nxky-6Q9c" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<div style="position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe src="https://www.youtube.com/embed/4zZiBcvZmgQ" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>

#### 1. Install two instances with cosig(and notary) enabled
In our setup we use [offline installer](https://goharbor.io/docs/2.5.0/install-config/download-installer/).
Expand Down Expand Up @@ -82,7 +84,7 @@ Setup Replication from harbor1 -> harbor2:

#### 7. Create cosign key-pair
To be able to perform the follwing steps you need to have "cosign" installed.
Here are the [instructions](https://docs.sigstore.dev/cosign/installation/) for the installation.
Here are the [instructions](https://docs.sigstore.dev/cosign/installation/) for the installation.

```
$ cosign generate-key-pair
Expand All @@ -98,7 +100,7 @@ export COSIGN_PASSWORD=Your_Super_P1$$w0rD
```

#### 8. Push and sign Image
Use your cosign-demo user to sign into the first Harbor instance.
Use your cosign-demo user to sign into the first Harbor instance.

```
$ docker login harbor1.orlix.org
Expand Down Expand Up @@ -172,22 +174,22 @@ The following checks were performed on each of these signatures:
```

Both verification returns result and exit code zero which indicates for valid signature!
As well the digest is the same!
As well the digest is the same!

Hurray!!!
Hurray!!!

### Collaborate with the Harbor Community!
### Collaborate with the Harbor Community!

Join the [Harbor Community][community] meetings and distribution lists
Get updates on Twitter at [@project_harbor][twitter]
Chat with us on Slack at [#harbor][users-slack] on the [CNCF Slack][cncf-slack]
Collaborate with us on GitHub: [github.com/goharbor/harbor](https://github.com/goharbor/harbor)
Join the [Harbor Community][community] meetings and distribution lists
Get updates on Twitter at [@project_harbor][twitter]
Chat with us on Slack at [#harbor][users-slack] on the [CNCF Slack][cncf-slack]
Collaborate with us on GitHub: [github.com/goharbor/harbor](https://github.com/goharbor/harbor)



[Orlin Vasilev](https://twitter.com/OrlinVasilev)
Harbor Community Manager
[github.com/OrlinVasilev](https://github.com/OrlinVasilev)
[Orlin Vasilev](https://twitter.com/OrlinVasilev)
Harbor Community Manager
[github.com/OrlinVasilev](https://github.com/OrlinVasilev)

[community]: https://goharbor.io/community/
[users-slack]: https://cloud-native.slack.com/archives/CC1E09J6S
Expand Down
9 changes: 8 additions & 1 deletion layouts/partials/home/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
</div>

<div class="column">
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{ $videoId }}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<div style="position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;">
<iframe src="https://www.youtube.com/embed/{{ $videoId }}"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
</div>
</div>
</div>
Expand Down