>     }
>  
>     @Override
>     public byte[] decrypt(InputSupplier<? extends InputStream> supplier) 
> throws IOException {
>        return ByteStreams.toByteArray(new RSADecryptingPayload(crypto, 
> Payloads.newPayload(supplier.getInput()), privateKey
> -                  .get()));
> +                  .get()).openStream());

See above comment about the need to close the stream.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/49/files#r16049681

Reply via email to