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

Revoke-TppToken -AccessToken not decrypting password #20

Merged
merged 2 commits into from
Jul 22, 2021
Merged

Conversation

gdbarron
Copy link
Collaborator

#19

@github-actions
Copy link

PSScriptAnalyzer results:

Errors: [0], Warnings: [0], Information: [36]


RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 72
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 73
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 74
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 75
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 76
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 77
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 78
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 79
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 80
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 81
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 82
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 83
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 84
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 85
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 86
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 87
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 88
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 89
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 90
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : VenafiPS.psd1
Line       : 91
Message    : Line has trailing whitespace

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Test-TppIdentityFormat.ps1
Line       : 16
Message    : The cmdlet 'Test-TppIdentityFormat' returns an object of type 
             'System.Boolean' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-VenafiAuthType.ps1
Line       : 14
Message    : The cmdlet 'Get-VenafiAuthType' returns an object of type 
             'System.String' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-VenafiAuthType.ps1
Line       : 17
Message    : The cmdlet 'Get-VenafiAuthType' returns an object of type 
             'System.String' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-VenafiAuthType.ps1
Line       : 19
Message    : The cmdlet 'Get-VenafiAuthType' returns an object of type 
             'System.String' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : Test-ModuleHash.ps1
Line       : 17
Message    : Line has trailing whitespace

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : Test-ModuleHash.ps1
Line       : 19
Message    : Line has trailing whitespace

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Test-ModuleHash.ps1
Line       : 26
Message    : The cmdlet 'Test-ModuleHash' returns an object of type 
             'System.Boolean' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Test-ModuleHash.ps1
Line       : 41
Message    : The cmdlet 'Test-ModuleHash' returns an object of type 
             'System.Boolean' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-TppVersion.ps1
Line       : 50
Message    : The cmdlet 'Get-TppVersion' returns an object of type 
             'System.Version' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : New-TppObject.ps1
Line       : 159
Message    : The cmdlet 'New-TppObject' returns an object of type 'TppObject' 
             but this type is not declared in the OutputType attribute.

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : Find-TppCertificate.ps1
Line       : 373
Message    : Line has trailing whitespace

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Find-TppCodeSignEnvironment.ps1
Line       : 67
Message    : The cmdlet 'Find-TppCodeSignEnvironment' returns an object of type 
             'TppObject' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Find-TppObject.ps1
Line       : 216
Message    : The cmdlet 'Find-TppObject' returns an object of type 'TppObject' 
             but this type is not declared in the OutputType attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : ConvertTo-TppGuid.ps1
Line       : 74
Message    : The cmdlet 'ConvertTo-TppGuid' returns an object of type 
             'System.Guid' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSAvoidTrailingWhitespace
Severity   : Information
ScriptName : Invoke-VenafiRestMethod.ps1
Line       : 182
Message    : Line has trailing whitespace

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : New-TppCertificate.ps1
Line       : 245
Message    : The cmdlet 'New-TppCertificate' returns an object of type 
             'TppObject' but this type is not declared in the OutputType 
             attribute.

@github-actions
Copy link

PSScriptAnalyzer results:

Errors: [0], Warnings: [0], Information: [10]


RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Test-TppIdentityFormat.ps1
Line       : 16
Message    : The cmdlet 'Test-TppIdentityFormat' returns an object of type 
             'System.Boolean' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-VenafiAuthType.ps1
Line       : 14
Message    : The cmdlet 'Get-VenafiAuthType' returns an object of type 
             'System.String' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-VenafiAuthType.ps1
Line       : 17
Message    : The cmdlet 'Get-VenafiAuthType' returns an object of type 
             'System.String' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-VenafiAuthType.ps1
Line       : 19
Message    : The cmdlet 'Get-VenafiAuthType' returns an object of type 
             'System.String' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Get-TppVersion.ps1
Line       : 50
Message    : The cmdlet 'Get-TppVersion' returns an object of type 
             'System.Version' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : New-TppObject.ps1
Line       : 159
Message    : The cmdlet 'New-TppObject' returns an object of type 'TppObject' 
             but this type is not declared in the OutputType attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Find-TppCodeSignEnvironment.ps1
Line       : 67
Message    : The cmdlet 'Find-TppCodeSignEnvironment' returns an object of type 
             'TppObject' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : Find-TppObject.ps1
Line       : 216
Message    : The cmdlet 'Find-TppObject' returns an object of type 'TppObject' 
             but this type is not declared in the OutputType attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : ConvertTo-TppGuid.ps1
Line       : 74
Message    : The cmdlet 'ConvertTo-TppGuid' returns an object of type 
             'System.Guid' but this type is not declared in the OutputType 
             attribute.

RuleName   : PSUseOutputTypeCorrectly
Severity   : Information
ScriptName : New-TppCertificate.ps1
Line       : 245
Message    : The cmdlet 'New-TppCertificate' returns an object of type 
             'TppObject' but this type is not declared in the OutputType 
             attribute.

@gdbarron gdbarron merged commit e8366b5 into main Jul 22, 2021
@gdbarron gdbarron deleted the fix-19 branch July 22, 2021 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant