rf icon indicating copy to clipboard operation
rf copied to clipboard

mv broken

Open ghost opened this issue 2 years ago • 0 comments

using this file:

package widevine

import (
   "crypto"
   "crypto/rsa"
   "strings"
)

func Signed_Request() {
   rsa.SignPSS(
      strings.NewReader("hello world"), nil, crypto.SHA1, nil, nil,
   )
}

I get this result:

> rf 'mv Signed_Request _Signed_Request'
rf: widevine.go:11:46: cannot use crypto.SHA1 (constant 3 of type crypto.Hash)
as crypto.Hash value in argument to rsa.SignPSS
errors found before executing script

ghost avatar Sep 11 '23 15:09 ghost