mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 19:37:03 +00:00
use the new protobuf package and other minor stuff
Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2
This commit is contained in:
@@ -41,7 +41,7 @@ func exportToFile(key *rsa.PrivateKey, filename string) error {
|
||||
},
|
||||
)
|
||||
|
||||
return ioutil.WriteFile(filename, encoded, 0644)
|
||||
return ioutil.WriteFile(filename, encoded, 0600)
|
||||
}
|
||||
|
||||
func importFromFile(filename string) (*rsa.PrivateKey, error) {
|
||||
|
||||
Reference in New Issue
Block a user