Downloads:

71

Downloads of v 0.13.1:

71

Last Update:

21 Feb 2020

Package Maintainer(s):

Software Author(s):

  • Ribose
  • Inc.

Tags:

RNP GnuPG

rnp

0.13.1 | Updated: 21 Feb 2020

Downloads:

71

Downloads of v 0.13.1:

71

Maintainer(s):

Software Author(s):

  • Ribose
  • Inc.

Tags:

RNP GnuPG

rnp 0.13.1

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install rnp, run the following command from the command line or from PowerShell:

>

To upgrade rnp, run the following command from the command line or from PowerShell:

>

To uninstall rnp, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade rnp -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade rnp -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure rnp installed
  win_chocolatey:
    name: rnp
    state: present
    version: 0.13.1
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'rnp' do
  action    :install
  version  '0.13.1'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: rnp,
    Version: 0.13.1,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller rnp
{
   Name     = 'rnp'
   Ensure   = 'Present'
   Version  = '0.13.1'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'rnp':
  provider => 'chocolatey',
  ensure   => '0.13.1',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install rnp version="0.13.1" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator flcdrg on 09 Mar 2020.

Description

RNP is a set of OpenPGP (RFC4880) tools that works on Linux, *BSD and macOS as a replacement of GnuPG.
It is maintained by Ribose after being forked from NetPGP, itself originally written for NetBSD.


tools\32\packages.txt
autoconf 2.69-5
automake-wrapper 11-1
bash 4.4.023-2
bash-completion 2.10-1
bsdcpio 3.4.2-1
bsdtar 3.4.2-1
bzip2 1.0.8-1
coreutils 8.31-1
curl 7.68.0-1
dash 0.5.10.2-1
dtc 1.5.1-1
file 5.38-1
filesystem 2020.02-1
findutils 4.7.0-1
flex 2.6.4-1
gawk 5.0.1-1
gcc-libs 9.1.0-2
getent 2.18.90-2
git 2.25.1-1
grep 3.0-2
gzip 1.10-1
inetutils 1.9.4-2
info 6.6-1
less 551-1
libargp 20110921-2
libbz2-devel 1.0.8-1
libtool 2.4.6-8
lndir 1.0.3-1
make 4.3-1
mingw-w64-i686-cmake 3.16.4-1
mingw-w64-i686-gcc 9.2.0-2
mingw-w64-i686-json-c 0.13.1_20180305-1
mingw-w64-i686-libbotan 2.13.0-1
mingw-w64-i686-python2 2.7.17-1
mingw-w64-x86_64-cmake 3.16.4-1
mingw-w64-x86_64-gcc 9.2.0-2
mingw-w64-x86_64-json-c 0.13.1_20180305-1
mingw-w64-x86_64-libbotan 2.13.0-1
mingw-w64-x86_64-python2 2.7.17-1
mintty 1~3.1.0-1
msys2-keyring r9.397a52e-1
msys2-launcher-git 0.3.32.56c2ba7-2
msys2-runtime 3.0.7-6
ncurses 6.2-1
pacman 5.2.1-6
pacman-mirrors 20180604-2
pactoys-git r2.07ca37f-1
pax-git 20161104.2-1
pkg-config 0.29.2-1
pkgfile 21-1
rebase 4.4.4-1
sed 4.8-1
tar 1.32-1
tftp-hpa 5.2-3
time 1.9-1
ttyrec 1.0.8-2
tzcode 2019.a-1
util-linux 2.35-1
which 2.21-2
zlib-devel 1.2.11-1
tools\32\rnp.exe
md5: 0FB4F9F5EB1B0E104C19D60A78AFF5EE | sha1: F9BE1D6DA0F7548AB98F40013F59C31FAC7DB883 | sha256: 0ED3F2F41B2832CC86294DE050F712E7B3C0E23092919780C0D26F38A725A923 | sha512: 600E57F572E6E612D32AA27CBE3DC8948A98893C05766CEC349F6C785CB4442BCD32449785CDA3A2829550FE398E42BB48A9BFAD28352C3072FF21BEC29CD2F2
tools\32\rnpkeys.exe
md5: B24DD54F12D69FE9B669F19683FD95B8 | sha1: 36B5E41117FA177AE47D9FC59DF9E78EF689E39E | sha256: 8ABCC13A5A94EEBA8F421EE845502E145C80AF1B48234ABBAE2F11DC861F3FB8 | sha512: 1FA42B42A8EA6B690897E5DBB9AE56FC61432F436F3616E33F19BF660D75A7F2C4A489AF2C81FAC279E93E0AA94A465F06054680E6CD363D463790257B7472C4
tools\64\packages.txt
autoconf 2.69-5
automake-wrapper 11-1
bash 4.4.023-2
bash-completion 2.10-1
bsdcpio 3.4.2-1
bsdtar 3.4.2-1
bzip2 1.0.8-1
coreutils 8.31-1
curl 7.68.0-1
dash 0.5.10.2-1
dtc 1.5.1-1
file 5.38-1
filesystem 2020.02-1
findutils 4.7.0-1
flex 2.6.4-1
gawk 5.0.1-1
gcc-libs 9.1.0-2
getent 2.18.90-2
git 2.25.1-1
grep 3.0-2
gzip 1.10-1
inetutils 1.9.4-2
info 6.6-1
less 551-1
libargp 20110921-2
libbz2-devel 1.0.8-1
libtool 2.4.6-8
lndir 1.0.3-1
make 4.3-1
mingw-w64-x86_64-cmake 3.16.4-1
mingw-w64-x86_64-gcc 9.2.0-2
mingw-w64-x86_64-json-c 0.13.1_20180305-1
mingw-w64-x86_64-libbotan 2.13.0-1
mingw-w64-x86_64-python2 2.7.17-1
mintty 1~3.1.0-1
msys2-keyring r9.397a52e-1
msys2-launcher-git 0.3.32.56c2ba7-2
msys2-runtime 3.0.7-6
ncurses 6.2-1
pacman 5.2.1-6
pacman-mirrors 20180604-2
pactoys-git r2.07ca37f-1
pax-git 20161104.2-1
pkg-config 0.29.2-1
pkgfile 21-1
rebase 4.4.4-1
sed 4.8-1
tar 1.32-1
tftp-hpa 5.2-3
time 1.9-1
ttyrec 1.0.8-2
tzcode 2019.a-1
util-linux 2.35-1
which 2.21-2
zlib-devel 1.2.11-1
tools\64\rnp.exe
md5: 00983646DDDE530E588B66C1AE56A0CE | sha1: 0642A5C9A13948BB99E8FE2B42DAC05A584E072D | sha256: 97A4F4958063010BCA12938885AA6D93F3BF90003606876D89D9F13126E4D11A | sha512: 096E5A648A461D3B413572D4E03523F38C29FD0AD8A40FC192787803C915B9526F92A2528D5D3B088643E632FB4916E1A17978FECEC16AA0682E3C9D04856FBC
tools\64\rnpkeys.exe
md5: 6384EFD8D5BD95A58DD9BA1A1544A554 | sha1: EBACB5C0E7C3A9075DFB545964E31762804A64AB | sha256: 1BF80C276A4D2ABAEF5A24DE93D154649748DC5553B327DE6A16ABFB84D49B94 | sha512: C7834ECE3CC441226D9E75F8A344741176927B342AA2EB5CE5B35AB959CC7428ADCE8CD20C31D3340B5894FDC6129172C338527385DF5A96D75B248FA35F27FE
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$osBitness = Get-ProcessorBits
Write-Host "Detected osBitness=$osBitness"

# Include the Chocolatey compatibility scripts if available
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
$compatScript = $toolsDir +  '.\ChocolateyCompat.ps1'
if (Test-Path $compatScript) {
    . ($compatScript)
}
# $packageDir      = Join-Path $toolsDir ".."

# MSYS2 zips contain a root dir named msys32 or msys64
# $msysName = '.' #shorten the path by exporting to the same folder
# $msysRoot = Join-Path $packageDir $msysName
$msysRoot = Get-ToolsLocation
$msysBase = Join-Path $msysRoot ("msys" + $osBitness)
$dllPath = Join-Path $msysBase ("mingw" + $osBitness + '\bin')

# Now we can use the $env:chocolateyPackageParameters inside the Chocolatey package
if ([string]::IsNullOrWhiteSpace($packageParameters))
{
    $packageParameters = $env:chocolateyPackageParameters
}

Set-Item Env:MSYSTEM ("MINGW" + $osBitness)
# $msysShell     = Join-Path (Join-Path $msysName ("msys" + $osBitness)) ('msys2_shell.cmd')
$msysBashShell = Join-Path $msysBase ('usr\bin\bash')

# Create some helper functions
function execute {
    param( [string] $message
         , [string] $command
         , [bool] $ignoreExitCode = $false
         )
    # Set the APPDATA path which does not get inherited during these invokes
    # and set MSYSTEM to make sure we're using the right system
    $envdata = "export APPDATA=""" + $Env:AppData + """ && export MSYSTEM=MINGW" + $osBitness + " && "

    # NOTE: For now, we have to redirect or silence stderr due to
    # https://github.com/chocolatey/choco/issues/445
    # Instead just check the exit code
    Write-Host "$message with '$command'..."
    if ($compat -eq 1)
    {
        $proc = Start-Process -NoNewWindow -UseNewEnvironment -Wait $msysBashShell -ArgumentList '--login', '-c', "'$envdata $command'" -PassThru
    } else {
        $proc = Start-Process -NoNewWindow -UseNewEnvironment -Wait $msysBashShell -ArgumentList '--login', '-c', "'$envdata $command'" -RedirectStandardError nul -PassThru
    }

    if ((-not $ignoreExitCode) -and ($proc.ExitCode -ne 0)) {
        # Retry the command, maybe something was up
        if ($compat -eq 1)
        {
            $proc = Start-Process -NoNewWindow -UseNewEnvironment -Wait $msysBashShell -ArgumentList '--login', '-c', "'$envdata $command'" -PassThru
        } else {
            $proc = Start-Process -NoNewWindow -UseNewEnvironment -Wait $msysBashShell -ArgumentList '--login', '-c', "'$envdata $command'" -RedirectStandardError nul -PassThru
        }

        if ((-not $ignoreExitCode) -and ($proc.ExitCode -ne 0)) {
            # Tried twice, just fail.
            throw ("Command `'$command`' did not complete successfully. ExitCode: " + $proc.ExitCode)
        }
    }
}

function rebase {
    if ($arch -eq 'x86') {
        $command = Join-Path $msysBase "autorebase.bat"
        Write-Host "Rebasing MSYS32 after update..."
        Start-Process -WindowStyle Hidden -Wait $command
    }
}

function upgrade {
    execute "Update pacman package DB" `
    "pacman -Syy"

    execute "Updating system packages" `
        "pacman --noconfirm --needed -Sy bash pacman pacman-mirrors msys2-runtime"
    rebase
    execute "Upgrading full system" `
        "pacman --noconfirm -Su"

    # It seems some parts of the system have to be update for others to be updateable. So just run this twice.
    execute "Upgrading full system twice" `
        "pacman --noconfirm -Su"

    rebase
}

function isMainPackage($param) {
    return $param -Match "(json-c|libbz2-devel|libbotan|zlib-devel) "
}

# Initialize and upgrade MSYS2 according to https://msys2.github.io
Write-Host "Initializing MSYS2..."

execute "Processing MSYS2 bash for first time use" `
        "exit"

execute "Appending profile with path information" `
        ('echo "export PATH=/mingw' + $osBitness + '/bin:\$PATH" >>~/.bash_profile')

execute "Setting default MSYSTEM" `
        ('echo "export MSYSTEM=' + ("MINGW" + $osBitness) + '" >>~/.bash_profile')

# Now perform commands to set up MSYS2
# upgrade

$lines = Get-Content -Path "$toolsDir\$osBitness\packages.txt" | Where-Object {isMainPackage($_)} | ForEach-Object {$_ -Replace ' ', '='}
$line = $lines -join " "
execute "Installing Dependencies" `
        "pacman --noconfirm -S --needed $line"

# Install-ChocolateyPath -PathToInstall $dllPath
Copy-Item "$dllPath\*.dll" $toolsDir -Force

# Copy RNP EXE files
Copy-Item "$toolsDir\$osBitness\*.exe" $toolsDir -Force

Remove-Item "$toolsDir\32" -Recurse

Remove-Item "$toolsDir\64" -Recurse

Write-Output "***********************************************************************************************"
Write-Output "*"
Write-Output "*  Please restart powershell "
Write-Output "*"
Write-Output "***********************************************************************************************"
Write-Output "Waiting for chocolatey to finish..."
tools\LICENSE.txt
From: https://github.com/rnpgp/rnp/blob/master/LICENSE.md

Ribose's BSD 2-Clause License
Copyright (c) 2017, Ribose Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

NetBSD's BSD 2-Clause License
This software contains source code originating from NetPGP, which carries the following copyright notice and license.

Copyright (c) 2009-2016, The NetBSD Foundation, Inc. All rights reserved.

This code is derived from software contributed to The NetBSD Foundation by Alistair Crooks

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Nominet UK's Apache 2.0 Licence
This software contains source code originating from NetPGP, which carries the following copyright notice and license.

Copyright (c) 2005-2008 Nominet UK All rights reserved.

Contributors: Ben Laurie, Rachel Willmer. The Contributors have asserted their moral rights under the UK Copyright Design and Patents Act 1988 to be recorded as the authors of this copyright work.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Nominet UK's BSD 3-Clause License
This software contains source code originating from NetPGP, which carries the following copyright notice and license.

Copyright (c) 2005 Nominet UK All rights reserved.

Contributors: Ben Laurie, Rachel Willmer. The Contributors have asserted their moral rights under the UK Copyright Design and Patents Act 1988 to be recorded as the authors of this copyright work.

This is a BSD-style Open Source licence.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

The name of Nominet UK or the contributors may not be used to endorse or promote products derived from this software without specific prior written permission;

and provided that the user accepts the terms of the following disclaimer:

THIS SOFTWARE IS PROVIDED BY NOMINET UK AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NOMINET UK OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
 
rnp.exe and rnpkeys.exe are built by the maintainers -- Ribose, Inc.

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status

Discussion for the rnp Package

Ground Rules:

  • This discussion is only about rnp and the rnp package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or rnp, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus