Skip to content

fix(auth): ~/.iotlabrc readable by its owner only - #74

Merged
aabadie merged 1 commit into
iot-lab:masterfrom
aabadie:fix/iotlabrc-mode
Nov 27, 2026
Merged

aabadie merged 1 commit into
iot-lab:masterfrom
aabadie:fix/iotlabrc-mode

Conversation

@aabadie

@aabadie aabadie commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

write_password_file created ~/.iotlabrc with the mode of the umask: with the usual 022, the password (only base64 encoded) was readable by the other users of the computer, the SSH frontends included. The file is now created with mode 0600, and an existing file is restricted to 0600 before it is rewritten.

write_password_file created ~/.iotlabrc with the mode of the umask: with
the usual 022, the password (only base64 encoded) was readable by the
other users of the computer, the SSH frontends included. The file is
now created with mode 0600, and an existing file is restricted to 0600
before it is rewritten.
@aabadie
aabadie merged commit 071c0d8 into iot-lab:master Nov 27, 2026
6 checks passed
@aabadie
aabadie deleted the fix/iotlabrc-mode branch November 27, 2026 13:06
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

Successfully merging this pull request may close these issues.

1 participant