From a14c0e8b896a1986bbd807ea60e3d7d05f5f6dfc Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Tue, 29 Aug 2017 10:25:53 -0700 Subject: Fixed typos --- README.md | 2 +- crypto/key.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c1d1734..61e5aa7 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ to add the line: ``` auth optional pam_fscrypt.so ``` -after `pam_unix.so` in `/etc/pam.d/common-password` or similar, and to add the +after `pam_unix.so` in `/etc/pam.d/common-auth` or similar, and to add the line: ``` session optional pam_fscrypt.so drop_caches lock_policies diff --git a/crypto/key.go b/crypto/key.go index 497a0ef..99efc1a 100644 --- a/crypto/key.go +++ b/crypto/key.go @@ -329,7 +329,7 @@ func ReadRecoveryCode(reader io.Reader) (*Key, error) { for blockStart := blockSize; blockStart < encodedLength; blockStart += blockSize { r.Read(inputSeparator) if r.Err() == nil && !bytes.Equal(separator, inputSeparator) { - err := errors.Wrapf(ErrRecoveryCode, "invalid seperator %q", inputSeparator) + err := errors.Wrapf(ErrRecoveryCode, "invalid separator %q", inputSeparator) return nil, err } -- cgit v1.2.3