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

mv broken #28

Open
ghost opened this issue Sep 11, 2023 · 0 comments
Open

mv broken #28

ghost opened this issue Sep 11, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 11, 2023

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
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

No branches or pull requests

0 participants