aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--crypto/key.go2
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
}