)]}'
{"id":"openvpn~726","triplet_id":"openvpn~master~I82b32d5ab472926e7889a5f4a90caba14231879a","project":"openvpn","branch":"master","full_branch":"refs/heads/master","topic":"key-cert-as-URI","attention_set":{},"removed_from_attention_set":{"1000009":{"account":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"last_update":"2024-09-05 19:08:42.000000000","reason":"\u003cGERRIT_ACCOUNT_1000009\u003e replied on the change","reason_account":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"}},"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2024-09-08 20:41:40.000000000","reason":"Change was submitted"},"1000001":{"account":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"last_update":"2024-09-05 09:55:24.000000000","reason":"\u003cGERRIT_ACCOUNT_1000001\u003e replied on the change","reason_account":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."}}},"hashtags":["mailsubmitted"],"change_id":"I82b32d5ab472926e7889a5f4a90caba14231879a","subject":"Interpret --key and --cert option argument as URI","status":"MERGED","created":"2024-08-14 22:19:29.000000000","updated":"2024-09-08 20:41:40.000000000","submitted":"2024-09-08 20:41:40.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":7,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"726-key-cert-as-URI","meta_rev_id":"b07212ad15677091ea91cff5d748e96e086c222e","_number":726,"virtual_id_number":726,"owner":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},{"value":0,"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"value":0,"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"reviewers":{"REVIEWER":[{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2024-08-14 22:19:29.000000000","updated_by":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"real_updated_by":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2024-08-14 22:19:29.000000000","updated_by":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"real_updated_by":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"reviewer":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"state":"REVIEWER"},{"updated":"2024-08-14 22:19:29.000000000","updated_by":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"real_updated_by":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"}],"messages":[{"id":"e73b72b0c1ae119a693eef66dbeb6e9325d5d3b6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-14 22:19:29.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d07d5ca31f5a7e2f2f0c5492599710fa53b26ca5","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-14 22:23:17.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"fe7c0fca9ff526be031c1e0b97c5b2932f37a78a","tag":"autogenerated:gerrit:deleteVote","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-14 22:23:30.000000000","message":"Removed Code-Review+2 by \u003cGERRIT_ACCOUNT_1000009\u003e\n","accounts_in_message":[{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"}],"_revision_number":1},{"id":"66725e82d19a5ce21bdf77dcbeb6caa3bf77ae21","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-14 22:35:12.000000000","message":"Patch Set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2},{"id":"fb81fc7fdf4c2cbe82621c00c4a47aba00358e41","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2024-08-28 14:42:52.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"656103ad9ffc432e0074f099070149b3440c408a","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-28 17:56:56.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"f0674b2ecbefce7e67a214adac5b019c79e060c4","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2024-08-28 19:24:22.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"46d9897b6ad4a69fe797e01448d93c7e8c2b3685","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-29 15:27:29.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"d2dac7984e1fb599b35a51cb935503fd5ab815db","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-08-29 21:01:27.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"7968ce1cf2536106eb62c295f54e68991ea3056a","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2024-09-05 09:55:24.000000000","message":"Patch Set 2: Code-Review+2\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"c4daa08c596776ad7683d7061a36b98cf5f667dc","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-09-05 17:53:15.000000000","message":"Uploaded patch set 3: Patch Set 2 was rebased.\n\nCopied Votes:\n* Code-Review+2 (copy condition: \"changekind:NO_CHANGE OR **changekind:TRIVIAL_REBASE** OR is:MIN\")\n","accounts_in_message":[],"_revision_number":3},{"id":"ff336fd128b6cd500ef44da91faaee5d00378efe","author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"date":"2024-09-05 19:08:42.000000000","message":"Patch Set 3:\n\n(1 comment)","accounts_in_message":[],"_revision_number":3},{"id":"12d3d665218ad675c9e39dc47fb9747235c4ea22","tag":"autogenerated:gerrit:setHashtag","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2024-09-06 10:37:49.000000000","message":"Hashtag added: mailsubmitted","accounts_in_message":[],"_revision_number":3},{"id":"b07212ad15677091ea91cff5d748e96e086c222e","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2024-09-08 20:41:40.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":4}],"current_revision_number":4,"current_revision":"3512e8d3ada4fa7d04925a89fd9f3669655c7887","revisions":{"ad47f142c541f0dbe9676baa966c90ab32e710bf":{"kind":"REWORK","_number":1,"created":"2024-08-14 22:19:29.000000000","uploader":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"ref":"refs/changes/26/726/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/26/726/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/1 \u0026\u0026 git checkout -b change-726 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/26/726/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"e5a8ea36a0228c30cdbee8791d44a1f0fbaffa9f","subject":"Use a more robust way to get dco-win version"}],"author":{"name":"Selva Nair","email":"selva.nair@gmail.com","date":"2024-08-14 01:06:37.000000000","tz":-240},"committer":{"name":"Selva Nair","email":"selva.nair@gmail.com","date":"2024-08-14 22:15:45.000000000","tz":-240},"subject":"Interpret --key and --cert option argument as URI","message":"Interpret --key and --cert option argument as URI\n\nOpenSSL 3 has providers which can load keys and certificates\nfrom various key stores and HSMs using a provider-specific URI.\nWhile certificates are generally exportable, and some providers\nsupport a PEM file that acts as a proxy for non-exportable private\nkeys, not all providers are expected to do so. A generic capability\nto read keys and certificates from URIs appears useful.\n\nThis patch does this by extending the scope of the argument for\n\"--key\" and \"--cert\" options to include URIs. Many of OpenSSL 3\nutilities also work the same way: e.g., the \"-in\" option for\n\"openssl pkey\" or \"openssl x509\" could be a filename or URI.\nOther applications have started emulating this behaviour:\ne.g., pkcs11: URI works as an alternative to a file name for\ncertificates and keys in apache. Even for files, this has a nice\nside effect that non-PEM files get transparently parsed. E.g., a\npkcs12 file could be used in place of a PEM file without needing\nany extra options.\n\nThis is backward compatible as OpenSSL falls back to treating URIs\nwith no scheme or unrecognized scheme as file names.\n\nParsing of inlined keys and certificates is unchanged (those\nshould be in PEM format).\n\nSpecification of URIs that OpenSSL accepts depends on the\nproviders that support them. Some are standard URIs such as\n\"file:/path\", but providers may support non-standard URIs\nwith arbitrary scheme names. OpenSSL by itself recognizes\nonly file URI.  However, the implementation is agnostic to the\nURI specification as parsing is done by the provider that supports\nthe URI. A new URI gets automatically recognized when the provider\nthat supports it is loaded.\n\nBelow are some usage examples:\n\nRelative or absolute path to a file or as a URI \"file:/absolute/path\":\n\n   --key mykey.pem      (same as what is currently supported)\n   --key file:/path/to/mykey.pem\n   --cert file:/path/to/mycert.pem\n\nOther file types supported by OpenSSL would also work:\n\n   --key client.p12\n   --cert client.p12\n\npkcs11-provider supports \"pkcs11:\" URI (RFC 7512):\n\n   --key pkcs11:token\u003dFoo;id\u003d%01\n   --cert pkcs11:token\u003dFoo;id\u003d%01\n\ntpm2-provider recognizes a custom URI \"handle:\u003chex\u003e\":\n\n   --key handle:0x81000000\n\nThese examples assume that required providers, if any, are loaded\nand configured.\n\nChange-Id: I82b32d5ab472926e7889a5f4a90caba14231879a\nSigned-off-by: Selva Nair \u003cselva.nair@gmail.com\u003e\n"},"branch":"refs/heads/master"},"e1dd0ff276c8656067ec210ede3122a93b58e5c8":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2024-08-14 22:35:12.000000000","uploader":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"ref":"refs/changes/26/726/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/26/726/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/2 \u0026\u0026 git checkout -b change-726 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/26/726/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"e5a8ea36a0228c30cdbee8791d44a1f0fbaffa9f","subject":"Use a more robust way to get dco-win version"}],"author":{"name":"Selva Nair","email":"selva.nair@gmail.com","date":"2024-08-14 01:06:37.000000000","tz":-240},"committer":{"name":"selvanair","email":"selva.nair@gmail.com","date":"2024-08-14 22:35:12.000000000","tz":0},"subject":"Interpret --key and --cert option argument as URI","message":"Interpret --key and --cert option argument as URI\n\nOpenSSL 3 has providers which can load keys and certificates\nfrom various key stores and HSMs using a provider-specific URI.\nWhile certificates are generally exportable, and some providers\nsupport a PEM file that acts as a proxy for non-exportable private\nkeys, not all providers are expected to do so. A generic capability\nto read keys and certificates from URIs appears useful.\n\nThis patch does this by extending the scope of the argument for\n\"--key\" and \"--cert\" options to include URIs. Many of OpenSSL 3\nutilities also work the same way: e.g., the \"-in\" option for\n\"openssl pkey\" or \"openssl x509\" could be a filename or URI.\nOther applications have started emulating this behaviour:\ne.g., pkcs11: URI works as an alternative to a file name for\ncertificates and keys in apache. Even for files, this has a nice\nside effect that non-PEM files get transparently parsed. E.g., a\npkcs12 file could be used in place of a PEM file without needing\nany extra options.\n\nThis is backward compatible as OpenSSL falls back to treating URIs\nwith no scheme or unrecognized scheme as file names.\n\nParsing of inlined keys and certificates is unchanged (those\nshould be in PEM format).\n\nSpecification of URIs that OpenSSL accepts depends on the\nproviders that support them. Some are standard URIs such as\n\"file:/path\", but providers may support non-standard URIs\nwith arbitrary scheme names. OpenSSL by itself recognizes\nonly file URI.  However, the implementation is agnostic to the\nURI specification as parsing is done by the provider that supports\nthe URI. A new URI gets automatically recognized when the provider\nthat supports it is loaded.\n\nBelow are some usage examples:\n\nRelative or absolute path to a file or as a URI \"file:/absolute/path\":\n\n   --key mykey.pem      (same as what is currently supported)\n   --key file:/path/to/mykey.pem\n   --cert file:/path/to/mycert.pem\n\nOther file types supported by OpenSSL would also work:\n\n   --key client.p12\n   --cert client.p12\n\npkcs11-provider supports \"pkcs11:\" URI (RFC 7512):\n\n   --key pkcs11:token\u003dFoo;id\u003d%01\n   --cert pkcs11:token\u003dFoo;id\u003d%01\n\ntpm2-provider recognizes a custom URI \"handle:\u003chex\u003e\":\n\n   --key handle:0x81000000\n\nThese examples assume that required providers, if any, are loaded\nand configured.\n\nv2: same as PR 591 but with the fixup commit that addresses review comments is squashed.\n\nChange-Id: I82b32d5ab472926e7889a5f4a90caba14231879a\nSigned-off-by: Selva Nair \u003cselva.nair@gmail.com\u003e\n"},"branch":"refs/heads/master","description":"Edit commit message"},"39a641000e01d1634c60d2888723fee2d6a12fbc":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2024-09-05 17:53:15.000000000","uploader":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"ref":"refs/changes/26/726/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/26/726/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/3 \u0026\u0026 git checkout -b change-726 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/26/726/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"233e10aeec7de02d34fa5c517b44612d38ccc00f","subject":"Implement support for AEAD tag at the end"}],"author":{"name":"Selva Nair","email":"selva.nair@gmail.com","date":"2024-08-14 01:06:37.000000000","tz":-240},"committer":{"name":"Selva Nair","email":"selva.nair@gmail.com","date":"2024-09-05 17:29:15.000000000","tz":-240},"subject":"Interpret --key and --cert option argument as URI","message":"Interpret --key and --cert option argument as URI\n\nOpenSSL 3 has providers which can load keys and certificates\nfrom various key stores and HSMs using a provider-specific URI.\nWhile certificates are generally exportable, and some providers\nsupport a PEM file that acts as a proxy for non-exportable private\nkeys, not all providers are expected to do so. A generic capability\nto read keys and certificates from URIs appears useful.\n\nThis patch does this by extending the scope of the argument for\n\"--key\" and \"--cert\" options to include URIs. Many of OpenSSL 3\nutilities also work the same way: e.g., the \"-in\" option for\n\"openssl pkey\" or \"openssl x509\" could be a filename or URI.\nOther applications have started emulating this behaviour:\ne.g., pkcs11: URI works as an alternative to a file name for\ncertificates and keys in apache. Even for files, this has a nice\nside effect that non-PEM files get transparently parsed. E.g., a\npkcs12 file could be used in place of a PEM file without needing\nany extra options.\n\nThis is backward compatible as OpenSSL falls back to treating URIs\nwith no scheme or unrecognized scheme as file names.\n\nParsing of inlined keys and certificates is unchanged (those\nshould be in PEM format).\n\nSpecification of URIs that OpenSSL accepts depends on the\nproviders that support them. Some are standard URIs such as\n\"file:/path\", but providers may support non-standard URIs\nwith arbitrary scheme names. OpenSSL by itself recognizes\nonly file URI.  However, the implementation is agnostic to the\nURI specification as parsing is done by the provider that supports\nthe URI. A new URI gets automatically recognized when the provider\nthat supports it is loaded.\n\nBelow are some usage examples:\n\nRelative or absolute path to a file or as a URI \"file:/absolute/path\":\n\n   --key mykey.pem      (same as what is currently supported)\n   --key file:/path/to/mykey.pem\n   --cert file:/path/to/mycert.pem\n\nOther file types supported by OpenSSL would also work:\n\n   --key client.p12\n   --cert client.p12\n\npkcs11-provider supports \"pkcs11:\" URI (RFC 7512):\n\n   --key pkcs11:token\u003dFoo;id\u003d%01\n   --cert pkcs11:token\u003dFoo;id\u003d%01\n\ntpm2-provider recognizes a custom URI \"handle:\u003chex\u003e\":\n\n   --key handle:0x81000000\n\nThese examples assume that required providers, if any, are loaded\nand configured.\n\nv2: same as PR 591 but with the fixup commit that addresses review comments is squashed.\n\nChange-Id: I82b32d5ab472926e7889a5f4a90caba14231879a\nSigned-off-by: Selva Nair \u003cselva.nair@gmail.com\u003e\n"},"branch":"refs/heads/master"},"3512e8d3ada4fa7d04925a89fd9f3669655c7887":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":4,"created":"2024-09-08 20:41:40.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/26/726/4","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/26/726/4","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/4 \u0026\u0026 git checkout -b change-726 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/26/726/4","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/26/726/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"12a9c357b6a7b55bea929eb5d9669e6386ab0d0e","subject":"Protect cached username, password and token on client"}],"author":{"name":"Selva Nair","email":"selva.nair@gmail.com","date":"2024-09-06 10:37:34.000000000","tz":120},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2024-09-08 20:10:58.000000000","tz":120},"subject":"Interpret --key and --cert option argument as URI","message":"Interpret --key and --cert option argument as URI\n\nOpenSSL 3 has providers which can load keys and certificates\nfrom various key stores and HSMs using a provider-specific URI.\nWhile certificates are generally exportable, and some providers\nsupport a PEM file that acts as a proxy for non-exportable private\nkeys, not all providers are expected to do so. A generic capability\nto read keys and certificates from URIs appears useful.\n\nThis patch does this by extending the scope of the argument for\n\"--key\" and \"--cert\" options to include URIs. Many of OpenSSL 3\nutilities also work the same way: e.g., the \"-in\" option for\n\"openssl pkey\" or \"openssl x509\" could be a filename or URI.\nOther applications have started emulating this behaviour:\ne.g., pkcs11: URI works as an alternative to a file name for\ncertificates and keys in apache. Even for files, this has a nice\nside effect that non-PEM files get transparently parsed. E.g., a\npkcs12 file could be used in place of a PEM file without needing\nany extra options.\n\nThis is backward compatible as OpenSSL falls back to treating URIs\nwith no scheme or unrecognized scheme as file names.\n\nParsing of inlined keys and certificates is unchanged (those\nshould be in PEM format).\n\nSpecification of URIs that OpenSSL accepts depends on the\nproviders that support them. Some are standard URIs such as\n\"file:/path\", but providers may support non-standard URIs\nwith arbitrary scheme names. OpenSSL by itself recognizes\nonly file URI.  However, the implementation is agnostic to the\nURI specification as parsing is done by the provider that supports\nthe URI. A new URI gets automatically recognized when the provider\nthat supports it is loaded.\n\nBelow are some usage examples:\n\nRelative or absolute path to a file or as a URI \"file:/absolute/path\":\n\n   --key mykey.pem      (same as what is currently supported)\n   --key file:/path/to/mykey.pem\n   --cert file:/path/to/mycert.pem\n\nOther file types supported by OpenSSL would also work:\n\n   --key client.p12\n   --cert client.p12\n\npkcs11-provider supports \"pkcs11:\" URI (RFC 7512):\n\n   --key pkcs11:token\u003dFoo;id\u003d%01\n   --cert pkcs11:token\u003dFoo;id\u003d%01\n\ntpm2-provider recognizes a custom URI \"handle:\u003chex\u003e\":\n\n   --key handle:0x81000000\n\nThese examples assume that required providers, if any, are loaded\nand configured.\n\nv2: same as PR 591 but with the fixup commit that addresses review comments is squashed.\n\nChange-Id: I82b32d5ab472926e7889a5f4a90caba14231879a\nSigned-off-by: Selva Nair \u003cselva.nair@gmail.com\u003e\nAcked-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\nMessage-Id: \u003c20240906103734.36633-1-frank@lichtenheld.com\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29075.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[]}
