diff mbox series

[meta-networking,kirkstone] openvpn: renew the sample keys

Message ID 20250328090156.635557-1-haixiao.yan.cn@eng.windriver.com
State New
Headers show
Series [meta-networking,kirkstone] openvpn: renew the sample keys | expand

Commit Message

haixiao.yan.cn@eng.windriver.com March 28, 2025, 9:01 a.m. UTC
From: Haixiao Yan <haixiao.yan.cn@windriver.com>

Renew the sample keys to fix the test issue:
WARNING: Your certificate has expired!

The renewed sample keys from [1] contain binary files which can't be patched
by quilt, so archive the files into sample-keys-renew-for-the-next-10-years.tar.gz.

[1] https://github.com/OpenVPN/openvpn/commit/98e70e7

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
---
 ...mple-keys-renew-for-the-next-10-years.tar.gz | Bin 0 -> 28118 bytes
 .../recipes-support/openvpn/openvpn_2.5.11.bb   |   1 +
 2 files changed, 1 insertion(+)
 create mode 100644 meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz

Comments

Yoann Congal March 28, 2025, 9:21 a.m. UTC | #1
Hello,

Le ven. 28 mars 2025 à 10:02, Yan, Haixiao (CN) via lists.openembedded.org <
Haixiao.Yan.CN=windriver.com@lists.openembedded.org> a écrit :

> From: Haixiao Yan <haixiao.yan.cn@windriver.com>
>
> Renew the sample keys to fix the test issue:
> WARNING: Your certificate has expired!
>
> The renewed sample keys from [1] contain binary files which can't be
> patched
> by quilt, so archive the files into
> sample-keys-renew-for-the-next-10-years.tar.gz.
>
> [1] https://github.com/OpenVPN/openvpn/commit/98e70e7
>
> Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
> ---
>  ...mple-keys-renew-for-the-next-10-years.tar.gz | Bin 0 -> 28118 bytes
>

That patch does not apply :
 $ b4 shazam 20250328090156.635557-1-haixiao.yan.cn@eng.windriver.com
Grabbing thread from
lore.kernel.org/all/20250328090156.635557-1-haixiao.yan.cn%40eng.windriver.com/t.mbox.gz
Checking for newer revisions
Grabbing search results from lore.kernel.org
Analyzing 1 messages in the thread
Checking attestation on all messages, may take a moment...
---
  [PATCH] openvpn: renew the sample keys
---
Total patches: 1
---
Applying: openvpn: renew the sample keys
Patch failed at 0001 openvpn: renew the sample keys
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
error: cannot apply binary patch to
'meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz'
without full index line
error:
meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz:
patch does not apply
hint: Use 'git am --show-current-patch=diff' to see the failed patch

Look at the patch, it does not contain any data for the tar.gz file. Maybe
use the "--binary" option for git-send-email/git-format-patch?

Regards,


>  .../recipes-support/openvpn/openvpn_2.5.11.bb   |   1 +
>  2 files changed, 1 insertion(+)
>  create mode 100644
> meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
>
> diff --git
> a/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
> b/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
> new file mode 100644
> index 000000000000..a79e6e4d1576
> Binary files /dev/null and
> b/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
> differ
> diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
> b/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
> index 810a60308b80..6aed4145ec00 100644
> --- a/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
> +++ b/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
> @@ -11,6 +11,7 @@ SRC_URI = "
> http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \
>             file://openvpn \
>             file://openvpn@.service \
>             file://openvpn-volatile.conf \
> +           file://sample-keys-renew-for-the-next-10-years.tar.gz \
>             "
>
>  UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116347):
> https://lists.openembedded.org/g/openembedded-devel/message/116347
> Mute This Topic: https://lists.openembedded.org/mt/111950963/4316185
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> yoann.congal@smile.fr]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Yan, Haixiao (CN) March 28, 2025, 9:53 a.m. UTC | #2
On 3/28/2025 5:21 PM, Yoann Congal wrote:
> **
> *CAUTION: This email comes from a non Wind River email account!*
> Do not click links or open attachments unless you recognize the sender 
> and know the content is safe.
> Hello,
>
> Le ven. 28 mars 2025 à 10:02, Yan, Haixiao (CN) via 
> lists.openembedded.org 
> <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZo-HnS_GA$> 
> <Haixiao.Yan.CN 
> <https://urldefense.com/v3/__http://Haixiao.Yan.CN__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZqembjLHg$>=windriver.com@lists.openembedded.org> 
> a écrit :
>
>     From: Haixiao Yan <haixiao.yan.cn@windriver.com>
>
>     Renew the sample keys to fix the test issue:
>     WARNING: Your certificate has expired!
>
>     The renewed sample keys from [1] contain binary files which can't
>     be patched
>     by quilt, so archive the files into
>     sample-keys-renew-for-the-next-10-years.tar.gz.
>
>     [1] https://github.com/OpenVPN/openvpn/commit/98e70e7
>     <https://urldefense.com/v3/__https://github.com/OpenVPN/openvpn/commit/98e70e7__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZq5QocnCw$>
>
>     Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
>     ---
>      ...mple-keys-renew-for-the-next-10-years.tar.gz | Bin 0 -> 28118
>     bytes
>
>
> That patch does not apply :
>  $ b4 shazam 20250328090156.635557-1-haixiao.yan.cn@eng.windriver.com
> Grabbing thread from 
> lore.kernel.org/all/20250328090156.635557-1-haixiao.yan.cn%40eng.windriver.com/t.mbox.gz 
> <https://urldefense.com/v3/__http://lore.kernel.org/all/20250328090156.635557-1-haixiao.yan.cn*40eng.windriver.com/t.mbox.gz__;JQ!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpQo1klSw$>
> Checking for newer revisions
> Grabbing search results from lore.kernel.org 
> <https://urldefense.com/v3/__http://lore.kernel.org__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZoEHtJI1w$>
> Analyzing 1 messages in the thread
> Checking attestation on all messages, may take a moment...
> ---
>   [PATCH] openvpn: renew the sample keys
> ---
> Total patches: 1
> ---
> Applying: openvpn: renew the sample keys
> Patch failed at 0001 openvpn: renew the sample keys
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
> error: cannot apply binary patch to 
> 'meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz' 
> without full index line
> error: 
> meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz: 
> patch does not apply
> hint: Use 'git am --show-current-patch=diff' to see the failed patch
>
> Look at the patch, it does not contain any data for the tar.gz file. 
> Maybe use the "--binary" option for git-send-email/git-format-patch?

v2 has been sent.

Thanks.

>
> Regards,
>
>      .../recipes-support/openvpn/openvpn_2.5.11.bb
>     <https://urldefense.com/v3/__http://openvpn_2.5.11.bb__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpLWq-ouw$>
>      |   1 +
>      2 files changed, 1 insertion(+)
>      create mode 100644
>     meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
>
>     diff --git
>     a/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
>     b/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
>     new file mode 100644
>     index 000000000000..a79e6e4d1576
>     Binary files /dev/null and
>     b/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
>     differ
>     diff --git
>     a/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
>     <https://urldefense.com/v3/__http://openvpn_2.5.11.bb__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpLWq-ouw$>
>     b/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
>     <https://urldefense.com/v3/__http://openvpn_2.5.11.bb__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpLWq-ouw$>
>     index 810a60308b80..6aed4145ec00 100644
>     --- a/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
>     <https://urldefense.com/v3/__http://openvpn_2.5.11.bb__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpLWq-ouw$>
>     +++ b/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
>     <https://urldefense.com/v3/__http://openvpn_2.5.11.bb__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpLWq-ouw$>
>     @@ -11,6 +11,7 @@ SRC_URI =
>     "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz
>     <https://urldefense.com/v3/__http://swupdate.openvpn.org/community/releases/$*7BBP*7D.tar.gz__;JSU!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZoOOT71bg$>
>     \
>                 file://openvpn \
>                 file://openvpn@.service \
>                 file://openvpn-volatile.conf \
>     +  file://sample-keys-renew-for-the-next-10-years.tar.gz \
>                 "
>
>      UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads
>     <https://urldefense.com/v3/__https://openvpn.net/community-downloads__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZp5pa6n2w$>"
>     -- 
>     2.34.1
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#116347):
>     https://lists.openembedded.org/g/openembedded-devel/message/116347
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/116347__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZqtYcMHeQ$>
>     Mute This Topic:
>     https://lists.openembedded.org/mt/111950963/4316185
>     <https://urldefense.com/v3/__https://lists.openembedded.org/mt/111950963/4316185__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpp9cN-PQ$>
>     Group Owner: openembedded-devel+owner@lists.openembedded.org
>     <mailto:openembedded-devel%2Bowner@lists.openembedded.org>
>     Unsubscribe:
>     https://lists.openembedded.org/g/openembedded-devel/unsub
>     <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!cD524xFCK387RwSxzAg2cGnCVz9vmZd5QUCeD-XZyeDXvwpY540ouIW6_td12AAXsz9tjDLI-CCHiR7_Qg36QZpzoB2bVA$>
>     [yoann.congal@smile.fr]
>     -=-=-=-=-=-=-=-=-=-=-=-
>
>
>
> -- 
> Yoann Congal
> Smile ECS
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz b/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz
new file mode 100644
index 000000000000..a79e6e4d1576
Binary files /dev/null and b/meta-networking/recipes-support/openvpn/openvpn/sample-keys-renew-for-the-next-10-years.tar.gz differ
diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb b/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
index 810a60308b80..6aed4145ec00 100644
--- a/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
+++ b/meta-networking/recipes-support/openvpn/openvpn_2.5.11.bb
@@ -11,6 +11,7 @@  SRC_URI = "http://swupdate.openvpn.org/community/releases/${BP}.tar.gz \
            file://openvpn \
            file://openvpn@.service \
            file://openvpn-volatile.conf \
+           file://sample-keys-renew-for-the-next-10-years.tar.gz \
            "
 
 UPSTREAM_CHECK_URI = "https://openvpn.net/community-downloads"