Title: Certificate and execution policy strangeness · Issue #17267 · PowerShell/PowerShell · GitHub
Open Graph Title: Certificate and execution policy strangeness · Issue #17267 · PowerShell/PowerShell
X Title: Certificate and execution policy strangeness · Issue #17267 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17267
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Certificate and execution policy strangeness","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\n- [X] Search the existing issues.\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\n\n### Steps to reproduce\n\nSet-ExecutionPolicy to Allsigned, restart PowerShell, run get-module -listavailable.\r\n\r\nStart VSCode with may 2022 PowerShell extension, \n\n### Expected behavior\n\n```console\nPowerShell starts, loading PS Readline. Get-Module lists available modules\n```\n\n\n### Actual behavior\n\n```console\nOn loading PowerShell reports untrusted signatures for Psreadline.format.xml and PSReadline.psm1 (but not .PSD1)\r\n\r\nGet-Module reports untrusted signatures for every signed CDXML file (but not their associated PSD1), but reports no errors where files are unsigned. \r\n\r\nLoading VSCode the PowerShell Integrated console reports untrusted signatures for the PS1, types.ps1.xml and .PSM1 files for PowerShell editor services (but not their PSD1 nor files in PSReadline).\n```\n\n\n### Error details\n\n```console\nNo error\n```\n\n\n### Environment data\n\n```powershell\n\u001B[32;1mName Value\u001B[0m\r\n\u001B[32;1m---- -----\u001B[0m\r\nPSVersion 7.2.3\r\nPSEdition Core\r\nGitCommitId 7.2.3\r\nOS Microsoft Windows 10.0.19042\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\n```\n\n\n### Visuals\n\n_No response_","author":{"url":"https://github.com/jhoneill","@type":"Person","name":"jhoneill"},"datePublished":"2022-05-05T12:18:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/17267/PowerShell/issues/17267"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:654dc2a2-0e0e-615d-21c8-561117ed5415 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B53C:1E2345:3ABFBE:508E72:6A551CFA |
| html-safe-nonce | bf16a978180e708ab2c73d4860d11a4e9a87f1fbe07bde2ad93aef94c00ef6b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTNDOjFFMjM0NTozQUJGQkU6NTA4RTcyOjZBNTUxQ0ZBIiwidmlzaXRvcl9pZCI6IjEzNjE5MTgwNjgxNjc4NzU4MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | efdfc6fd44edea928507fda1e8113bfe135b9ebd96c2e0b44d5226a1f3afda12 |
| hovercard-subject-tag | issue:1226596975 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/17267/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fee4dc88cd54be5a802c83fe6ddd84cb5612a5375bc5b1c4d3468ba4a6dd4650/PowerShell/PowerShell/issues/17267 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fee4dc88cd54be5a802c83fe6ddd84cb5612a5375bc5b1c4d3468ba4a6dd4650/PowerShell/PowerShell/issues/17267 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jhoneill |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width